mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
37349d7a0f
This PR merely checks if the string is empty and displaying (only) a debug information to the debugger, at disposal of displaying a message box. I might implement such dynamic resource string to the CPL later in a next PR. CORE-16654
24 lines
604 B
CMake
24 lines
604 B
CMake
|
|
spec2def(timedate.cpl timedate.spec)
|
|
|
|
list(APPEND SOURCE
|
|
clock.c
|
|
dateandtime.c
|
|
internettime.c
|
|
monthcal.c
|
|
timedate.c
|
|
timezone.c
|
|
timedate.h)
|
|
|
|
file(GLOB timedate_rc_deps resources/*.*)
|
|
add_rc_deps(timedate.rc ${timedate_rc_deps})
|
|
|
|
add_library(timedate MODULE
|
|
${SOURCE}
|
|
timedate.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
|
|
|
|
set_module_type(timedate cpl UNICODE)
|
|
add_importlibs(timedate w32time advapi32 user32 gdi32 comctl32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
|
|
add_pch(timedate timedate.h SOURCE)
|
|
add_cd_file(TARGET timedate DESTINATION reactos/system32 FOR all)
|