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
|
2014-09-25 12:37:19 +00:00
|
|
|
lsalpc.c
|
2011-05-16 13:12:07 +00:00
|
|
|
secext.c
|
|
|
|
sspi.c
|
|
|
|
stubs.c
|
2014-08-30 21:31:32 +00:00
|
|
|
thunks.c
|
|
|
|
wrapper.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-08-30 21:31:32 +00:00
|
|
|
set_module_type(secur32 win32dll UNICODE)
|
|
|
|
target_link_libraries(secur32 lsalib wine)
|
|
|
|
add_importlibs(secur32 advapi32 msvcrt 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)
|