set_unicode()
+set_rc_compiler()
-spec2def(timedate ${CMAKE_CURRENT_SOURCE_DIR}/timedate.spec ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
+spec2def(timedate.cpl timedate.spec)
add_library(timedate SHARED
clock.c
ntpclient.c
timedate.c
timezone.c
- timedate.rc)
+ timedate.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
set_module_type(timedate cpl)
-target_link_libraries(timedate ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
-
add_importlibs(timedate
advapi32
user32
msvcrt
kernel32)
-add_dependencies(timedate timedate_def)
-add_cab_target(timedate 1)
+add_cd_file(TARGET timedate DESTINATION reactos/system32 FOR all)