2011-06-10 20:46:56 +00:00
|
|
|
|
2018-09-30 23:18:08 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(inetcpl.cpl inetcpl.spec)
|
2011-06-10 20:46:56 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2018-09-30 23:18:08 +00:00
|
|
|
connections.c
|
2011-06-10 20:46:56 +00:00
|
|
|
content.c
|
|
|
|
general.c
|
2018-09-30 23:18:08 +00:00
|
|
|
inetcpl.c
|
2011-06-10 20:46:56 +00:00
|
|
|
security.c
|
2018-03-25 11:46:20 +00:00
|
|
|
precomp.h)
|
2014-02-09 12:26:28 +00:00
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB inetcpl_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(inetcpl.rc ${inetcpl_rc_deps})
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_library(inetcpl SHARED
|
|
|
|
${SOURCE}
|
|
|
|
inetcpl.rc
|
2011-06-10 20:46:56 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/inetcpl_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(inetcpl cpl UNICODE)
|
2011-06-10 20:46:56 +00:00
|
|
|
target_link_libraries(inetcpl wine)
|
2013-12-03 10:33:02 +00:00
|
|
|
add_delay_importlibs(inetcpl cryptui wininet ole32 urlmon shell32)
|
2016-03-27 15:14:32 +00:00
|
|
|
add_importlibs(inetcpl advapi32 comctl32 user32 shlwapi msvcrt kernel32 ntdll)
|
2018-03-25 11:46:20 +00:00
|
|
|
add_pch(inetcpl precomp.h SOURCE)
|
2011-06-10 20:46:56 +00:00
|
|
|
add_cd_file(TARGET inetcpl DESTINATION reactos/system32 FOR all)
|