2011-05-16 13:12:07 +00:00
|
|
|
|
2020-04-19 15:48:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/tzlib)
|
|
|
|
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(syssetup.dll syssetup.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
classinst.c
|
|
|
|
dllmain.c
|
|
|
|
install.c
|
|
|
|
logfile.c
|
2019-10-06 20:36:19 +00:00
|
|
|
netinstall.c
|
2018-04-21 12:14:49 +00:00
|
|
|
proppage.c
|
2012-05-13 16:16:18 +00:00
|
|
|
security.c
|
2011-05-16 13:12:07 +00:00
|
|
|
wizard.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/syssetup_stubs.c)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(syssetup MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
syssetup.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/syssetup.def)
|
|
|
|
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(syssetup precomp.h SOURCE)
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(syssetup win32dll UNICODE)
|
2020-04-19 15:48:25 +00:00
|
|
|
target_link_libraries(syssetup uuid wine tzlib ${PSEH_LIB})
|
2019-10-06 20:36:19 +00:00
|
|
|
add_importlibs(syssetup advapi32 gdi32 user32 samlib userenv comctl32 setupapi rpcrt4 ole32 shell32 shlwapi msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET syssetup DESTINATION reactos/system32 FOR all)
|