2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(wintrust.dll wintrust.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2012-07-13 08:19:36 +00:00
|
|
|
asn.c
|
2011-05-16 13:12:07 +00:00
|
|
|
crypt.c
|
|
|
|
register.c
|
|
|
|
softpub.c
|
2012-07-13 08:19:36 +00:00
|
|
|
wintrust_main.c
|
2014-02-10 12:19:56 +00:00
|
|
|
wintrust_priv.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wintrust_stubs.c)
|
|
|
|
|
|
|
|
add_library(wintrust SHARED
|
|
|
|
${SOURCE}
|
|
|
|
version.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wintrust.def)
|
|
|
|
|
|
|
|
set_module_type(wintrust win32dll)
|
2011-09-04 00:52:28 +00:00
|
|
|
target_link_libraries(wintrust wine ${PSEH_LIB})
|
2013-09-28 15:28:15 +00:00
|
|
|
# FIXME: imagehlp should be delay-imported. See CORE-6504
|
2012-07-13 09:27:45 +00:00
|
|
|
#add_delay_importlibs(wintrust cryptui imagehlp)
|
|
|
|
add_delay_importlibs(wintrust cryptui)
|
|
|
|
add_importlibs(wintrust imagehlp crypt32 user32 advapi32 msvcrt kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(wintrust wintrust_priv.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET wintrust DESTINATION reactos/system32 FOR all)
|