[ACPPAGE] Make use of the PCH.
[reactos.git] / dll / cpl / inetcpl / CMakeLists.txt
1
2 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3 spec2def(inetcpl.cpl inetcpl.spec)
4
5 list(APPEND SOURCE
6 inetcpl.c
7 content.c
8 general.c
9 security.c
10 inetcpl.h)
11
12 file(GLOB inetcpl_rc_deps resources/*.*)
13 add_rc_deps(inetcpl.rc ${inetcpl_rc_deps})
14
15 add_library(inetcpl SHARED
16 ${SOURCE}
17 inetcpl.rc
18 ${CMAKE_CURRENT_BINARY_DIR}/inetcpl_stubs.c
19 ${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def)
20
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)