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