2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
spec2def(timedate.cpl timedate.spec)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
clock.c
|
|
|
|
dateandtime.c
|
|
|
|
internettime.c
|
|
|
|
monthcal.c
|
|
|
|
ntpclient.c
|
|
|
|
timedate.c
|
|
|
|
timezone.c
|
2014-02-09 12:26:28 +00:00
|
|
|
timedate.h)
|
|
|
|
|
|
|
|
add_library(timedate SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
timedate.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(timedate cpl UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_importlibs(timedate
|
|
|
|
advapi32
|
|
|
|
user32
|
|
|
|
gdi32
|
|
|
|
comctl32
|
|
|
|
ws2_32
|
|
|
|
iphlpapi
|
|
|
|
msvcrt
|
|
|
|
kernel32)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(timedate timedate.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET timedate DESTINATION reactos/system32 FOR all)
|