mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 13:52:30 +00:00
178300c8a6
* Fix PCH use in shell32. svn path=/branches/shell32_new-bringup/; revision=53319
37 lines
669 B
CMake
37 lines
669 B
CMake
|
|
set_unicode()
|
|
set_rc_compiler()
|
|
|
|
spec2def(syssetup.dll syssetup.spec)
|
|
|
|
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})
|
|
add_pch(syssetup precomp.h)
|
|
set_module_type(syssetup win32dll)
|
|
target_link_libraries(syssetup uuid ${PSEH_LIB})
|
|
|
|
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)
|