reactos/dll/win32/syssetup/CMakeLists.txt
Timo Kreuzer 9cc4f5ceee [CMAKE]
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation.

svn path=/branches/cmake-bringup/; revision=50574
2011-01-31 14:20:53 +00:00

43 lines
652 B
CMake

set_unicode()
add_definitions(-D_DLL -D__USE_CRTIMP)
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})
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_cab_target(syssetup 1)