xref: /reactos/dll/win32/syssetup/CMakeLists.txt (revision 8a978a17)
1
2include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/tzlib)
3
4spec2def(syssetup.dll syssetup.spec)
5
6list(APPEND SOURCE
7    classinst.c
8    dllmain.c
9    install.c
10    logfile.c
11    netinstall.c
12    proppage.c
13    security.c
14    wizard.c
15    precomp.h
16    ${CMAKE_CURRENT_BINARY_DIR}/syssetup_stubs.c)
17
18add_library(syssetup MODULE
19    ${SOURCE}
20    syssetup.rc
21    ${CMAKE_CURRENT_BINARY_DIR}/syssetup.def)
22
23add_pch(syssetup precomp.h SOURCE)
24set_module_type(syssetup win32dll UNICODE)
25target_link_libraries(syssetup uuid wine tzlib ${PSEH_LIB})
26add_importlibs(syssetup advapi32 gdi32 user32 samlib userenv comctl32 setupapi rpcrt4 ole32 shell32 shlwapi msvcrt kernel32 ntdll)
27add_cd_file(TARGET syssetup DESTINATION reactos/system32 FOR all)
28