xref: /reactos/dll/cpl/timedate/CMakeLists.txt (revision 3435c3b5)
1
2spec2def(timedate.cpl timedate.spec)
3
4list(APPEND SOURCE
5    clock.c
6    dateandtime.c
7    internettime.c
8    monthcal.c
9    timedate.c
10    timezone.c
11    timedate.h)
12
13file(GLOB timedate_rc_deps resources/*.*)
14add_rc_deps(timedate.rc ${timedate_rc_deps})
15
16add_library(timedate MODULE
17    ${SOURCE}
18    timedate.rc
19    ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
20
21set_module_type(timedate cpl UNICODE)
22add_importlibs(timedate w32time advapi32 user32 gdi32 comctl32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
23add_pch(timedate timedate.h SOURCE)
24add_cd_file(TARGET timedate DESTINATION reactos/system32 FOR all)
25