[CMAKE] Use modules instead of shared libraries
[reactos.git] / base / services / w32time / CMakeLists.txt
1
2 spec2def(w32time.dll w32time.spec ADD_IMPORTLIB)
3
4 add_library(w32time MODULE
5 w32time.c
6 ntpclient.c
7 ${CMAKE_CURRENT_BINARY_DIR}/w32time.def)
8
9 set_module_type(w32time win32dll UNICODE)
10
11 add_importlibs(w32time ws2_32 advapi32 msvcrt kernel32 ntdll)
12 add_cd_file(TARGET w32time DESTINATION reactos/system32 FOR all)