reactos/dll/cpl/timedate/CMakeLists.txt
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00

32 lines
568 B
CMake

set_unicode()
spec2def(timedate ${CMAKE_CURRENT_SOURCE_DIR}/timedate.spec ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
add_library(timedate SHARED
clock.c
dateandtime.c
internettime.c
monthcal.c
ntpclient.c
timedate.c
timezone.c
timedate.rc)
set_module_type(timedate cpl)
target_link_libraries(timedate ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
add_importlibs(timedate
advapi32
user32
gdi32
comctl32
ws2_32
iphlpapi
msvcrt
kernel32)
add_dependencies(timedate timedate_def)
add_cab_target(timedate 1)