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