[CMAKE]
[reactos.git] / dll / win32 / syssetup / CMakeLists.txt
1 set_unicode()
2
3 add_definitions(-D_DLL -D__USE_CRTIMP)
4
5 set_rc_compiler()
6 spec2def(syssetup.dll syssetup.spec)
7
8 list(APPEND SOURCE
9 classinst.c
10 dllmain.c
11 install.c
12 logfile.c
13 wizard.c
14 syssetup.rc
15 ${CMAKE_CURRENT_BINARY_DIR}/syssetup.def)
16
17 add_library(syssetup SHARED ${SOURCE})
18
19 set_module_type(syssetup win32dll)
20
21 target_link_libraries(syssetup
22 uuid
23 ${PSEH_LIB})
24
25 add_importlibs(syssetup
26 msvcrt
27 advapi32
28 gdi32
29 user32
30 samlib
31 userenv
32 comctl32
33 setupapi
34 ole32
35 shell32
36 shlwapi
37 kernel32
38 ntdll)
39
40
41 add_cab_target(syssetup 1)