2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
set_rc_compiler()
|
2011-06-13 15:31:11 +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
|
|
|
|
wizard.c
|
|
|
|
syssetup.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/syssetup_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/syssetup.def)
|
|
|
|
|
|
|
|
add_library(syssetup SHARED ${SOURCE})
|
2011-07-28 15:57:04 +00:00
|
|
|
add_pch(syssetup precomp.h)
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(syssetup win32dll UNICODE)
|
2011-06-13 15:31:11 +00:00
|
|
|
target_link_libraries(syssetup uuid ${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)
|