d083842de80e8351ea82b2f4d42e80e37b4adfbb
[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.def)
16
17 add_library(wintrust SHARED ${SOURCE})
18
19 set_module_type(wintrust win32dll)
20
21 target_link_libraries(wintrust
22 wine
23 ${PSEH_LIB})
24
25 add_importlibs(wintrust crypt32 cryptui user32 advapi32 imagehlp msvcrt kernel32 ntdll)
26
27 add_importlib_target(wintrust.spec)
28
29 add_cab_target(wintrust 1)
30