reactos/dll/cpl/timedate/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

29 lines
562 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)
add_dependencies(timedate timedate_def)
add_livecd_target(timedate reactos/system32)