2 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 spec2def(inetcpl.cpl inetcpl.spec)
12 file(GLOB inetcpl_rc_deps resources/*.*)
13 add_rc_deps(inetcpl.rc ${inetcpl_rc_deps})
15 add_library(inetcpl SHARED
18 ${CMAKE_CURRENT_BINARY_DIR}/inetcpl_stubs.c
19 ${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def)
21 set_module_type(inetcpl cpl UNICODE)
22 target_link_libraries(inetcpl wine)
23 add_delay_importlibs(inetcpl cryptui wininet ole32 urlmon shell32)
24 add_importlibs(inetcpl advapi32 comctl32 user32 shlwapi msvcrt kernel32 ntdll)
25 add_pch(inetcpl inetcpl.h SOURCE)
26 add_cd_file(TARGET inetcpl DESTINATION reactos/system32 FOR all)