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