[CMAKE]
[reactos.git] / dll / win32 / wintrust / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 set_rc_compiler()
6 spec2def(wintrust.dll wintrust.spec)
7
8 list(APPEND SOURCE
9 crypt.c
10 register.c
11 wintrust_main.c
12 asn.c
13 softpub.c
14 version.rc
15 ${CMAKE_CURRENT_BINARY_DIR}/wintrust_stubs.c
16 ${CMAKE_CURRENT_BINARY_DIR}/wintrust.def)
17
18 add_library(wintrust SHARED ${SOURCE})
19
20 set_module_type(wintrust win32dll)
21
22 target_link_libraries(wintrust
23 wine
24 ${PSEH_LIB})
25
26 add_importlibs(wintrust crypt32 cryptui user32 advapi32 imagehlp msvcrt kernel32 ntdll)
27
28 add_importlib_target(wintrust.spec)
29
30 add_cd_file(TARGET wintrust DESTINATION reactos/system32 FOR all)
31