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