2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(cryptnet.dll cryptnet.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cryptnet_main.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/cryptnet_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
|
|
|
|
|
|
|
|
add_library(cryptnet SHARED ${SOURCE})
|
|
|
|
set_module_type(cryptnet win32dll)
|
|
|
|
target_link_libraries(cryptnet wine)
|
2011-09-04 00:52:28 +00:00
|
|
|
add_delay_importlibs(cryptnet wininet)
|
2012-02-20 22:08:14 +00:00
|
|
|
add_importlibs(cryptnet crypt32 msvcrt kernel32 ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET cryptnet DESTINATION reactos/system32 FOR all)
|