[CMAKE] Use modules instead of shared libraries
[reactos.git] / dll / win32 / acledit / CMakeLists.txt
1
2 spec2def(acledit.dll acledit.spec)
3
4 list(APPEND SOURCE
5 acledit.c
6 stubs.c
7 acleditint.h)
8
9 add_library(acledit MODULE
10 ${SOURCE}
11 acledit.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
13
14 set_module_type(acledit win32dll UNICODE)
15 add_importlibs(acledit msvcrt kernel32 ntdll)
16 add_pch(acledit acleditint.h SOURCE)
17 add_cd_file(TARGET acledit DESTINATION reactos/system32 FOR all)