mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00

- build msvc importlibs explicitly from def file - circumvent lack of pseh lib in MSVC. - fix advapi32.def svn path=/branches/cmake-bringup/; revision=49409
24 lines
506 B
CMake
24 lines
506 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(wintrust.dll wintrust.spec)
|
|
|
|
add_library(wintrust SHARED
|
|
crypt.c
|
|
register.c
|
|
wintrust_main.c
|
|
asn.c
|
|
softpub.c
|
|
version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/wintrust.def)
|
|
|
|
set_module_type(wintrust win32dll)
|
|
|
|
target_link_libraries(wintrust
|
|
wine
|
|
${PSEH_LIB})
|
|
|
|
add_importlibs(wintrust crypt32 cryptui user32 advapi32 imagehlp msvcrt kernel32 ntdll)
|
|
|
|
add_cab_target(wintrust 1)
|