2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/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
|
2018-03-24 12:18:57 +00:00
|
|
|
precomp.h
|
2014-02-10 12:19:56 +00:00
|
|
|
${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)
|
2018-03-24 12:18:57 +00:00
|
|
|
add_pch(wintrust precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET wintrust DESTINATION reactos/system32 FOR all)
|