2011-05-16 13:12:07 +00:00
|
|
|
|
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
|
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)
|
|
|
|
|
|
|
|
add_library(syssetup SHARED
|
|
|
|
${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)
|
2013-05-17 21:40:46 +00:00
|
|
|
target_link_libraries(syssetup uuid wine ${PSEH_LIB})
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(syssetup
|
|
|
|
msvcrt
|
|
|
|
advapi32
|
|
|
|
gdi32
|
|
|
|
user32
|
|
|
|
samlib
|
|
|
|
userenv
|
|
|
|
comctl32
|
|
|
|
setupapi
|
|
|
|
ole32
|
|
|
|
shell32
|
|
|
|
shlwapi
|
|
|
|
kernel32
|
|
|
|
ntdll)
|
|
|
|
|
|
|
|
add_cd_file(TARGET syssetup DESTINATION reactos/system32 FOR all)
|