2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D__SECUR32__)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
|
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(secur32.dll secur32.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
dllmain.c
|
|
|
|
secext.c
|
|
|
|
sspi.c
|
|
|
|
stubs.c
|
2014-02-10 12:19:56 +00:00
|
|
|
precomp.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-10 12:19:56 +00:00
|
|
|
add_library(secur32 SHARED
|
|
|
|
${SOURCE}
|
|
|
|
secur32.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/secur32_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/secur32.def)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-03-22 20:04:28 +00:00
|
|
|
set_module_type(secur32 win32dll UNICODE ENTRYPOINT DllMain 12)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
target_link_libraries(secur32 lsalib)
|
|
|
|
|
2014-03-22 20:04:28 +00:00
|
|
|
add_importlibs(secur32 advapi32 kernel32 ntdll)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(secur32 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_cd_file(TARGET secur32 DESTINATION reactos/system32 FOR all)
|
2012-03-07 21:21:27 +00:00
|
|
|
|