reactos/dll/win32/syssetup/CMakeLists.txt
Hermès Bélusca-Maïto 7c3e96a26a
[TIMEDATE.CPL][SYSSETUP][TZLIB] Introduce a small static library "tzlib": "TimeZone Utilities Library", and use it in timedate.cpl and syssetup.dll.
This small win32 library provides time-zone utility wrappers around
Win32 functions, that are used by different ReactOS modules such as
timedate.cpl, syssetup.dll, and a possible future 'tzutil' tool.

The code has been extracted from the common code found in both
timedate.cpl and syssetup.dll.
2020-04-22 00:58:32 +02:00

27 lines
739 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/tzlib)
spec2def(syssetup.dll syssetup.spec)
list(APPEND SOURCE
classinst.c
dllmain.c
install.c
logfile.c
netinstall.c
proppage.c
security.c
wizard.c
precomp.h
${CMAKE_CURRENT_BINARY_DIR}/syssetup_stubs.c)
add_library(syssetup MODULE
${SOURCE}
syssetup.rc
${CMAKE_CURRENT_BINARY_DIR}/syssetup.def)
add_pch(syssetup precomp.h SOURCE)
set_module_type(syssetup win32dll UNICODE)
target_link_libraries(syssetup uuid wine tzlib ${PSEH_LIB})
add_importlibs(syssetup advapi32 gdi32 user32 samlib userenv comctl32 setupapi rpcrt4 ole32 shell32 shlwapi msvcrt kernel32 ntdll)
add_cd_file(TARGET syssetup DESTINATION reactos/system32 FOR all)