reactos/dll/cpl/timedate/CMakeLists.txt
Jérôme Gardou 4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00

30 lines
434 B
CMake

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