xref: /reactos/dll/cpl/inetcpl/CMakeLists.txt (revision 234f89c0)
1
2include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3spec2def(inetcpl.cpl inetcpl.spec)
4
5list(APPEND SOURCE
6    inetcpl.c
7    content.c
8    general.c
9    security.c
10    precomp.h)
11
12file(GLOB inetcpl_rc_deps resources/*.*)
13add_rc_deps(inetcpl.rc ${inetcpl_rc_deps})
14
15add_library(inetcpl SHARED
16    ${SOURCE}
17    inetcpl.rc
18    ${CMAKE_CURRENT_BINARY_DIR}/inetcpl_stubs.c
19    ${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def)
20
21set_module_type(inetcpl cpl UNICODE)
22target_link_libraries(inetcpl wine)
23add_delay_importlibs(inetcpl cryptui wininet ole32 urlmon shell32)
24add_importlibs(inetcpl advapi32 comctl32 user32 shlwapi msvcrt kernel32 ntdll)
25add_pch(inetcpl precomp.h SOURCE)
26add_cd_file(TARGET inetcpl DESTINATION reactos/system32 FOR all)
27