772f350bf6c2ae21360188ff3df44cd9da2b5477
[reactos.git] / dll / win32 / wintrust / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(wintrust ${CMAKE_CURRENT_SOURCE_DIR}/wintrust.spec ${CMAKE_CURRENT_BINARY_DIR}/wintrust.def)
6
7 add_library(wintrust SHARED
8 crypt.c
9 register.c
10 wintrust_main.c
11 asn.c
12 softpub.c
13 version.rc)
14
15 set_module_type(wintrust win32dll)
16
17 target_link_libraries(wintrust
18 ${CMAKE_CURRENT_BINARY_DIR}/wintrust.def
19 wine
20 pseh)
21
22 add_importlibs(wintrust crypt32 cryptui user32 advapi32 imagehlp msvcrt kernel32 ntdll)
23 add_dependencies(wintrust wintrust_def)
24 add_livecd_target(wintrust reactos/system32)