[CMAKE]
[reactos.git] / dll / cpl / timedate / CMakeLists.txt
1
2 set_unicode()
3
4 spec2def(timedate ${CMAKE_CURRENT_SOURCE_DIR}/timedate.spec ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
5
6 add_library(timedate SHARED
7 clock.c
8 dateandtime.c
9 internettime.c
10 monthcal.c
11 ntpclient.c
12 timedate.c
13 timezone.c
14 timedate.rc)
15
16 set_module_type(timedate cpl)
17
18 target_link_libraries(timedate ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
19
20 add_importlibs(timedate
21 advapi32
22 user32
23 gdi32
24 comctl32
25 ws2_32
26 iphlpapi
27 msvcrt
28 kernel32)
29
30 add_dependencies(timedate timedate_def)
31 add_cab_target(timedate 1)