xref: /reactos/dll/win32/secur32/CMakeLists.txt (revision 62919904)
1
2add_definitions(-D__SECUR32__)
3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys)
4spec2def(secur32.dll secur32.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    dllmain.c
8    lsalpc.c
9    sspi.c
10    stubs.c
11    thunks.c
12    wrapper.c
13    wine/base64_codec.c
14    wine/dispatcher.c
15    wine/hmac_md5.c
16    wine/kerberos.c
17    wine/negotiate.c
18    wine/ntlm.c
19    wine/util.c
20    precomp.h)
21
22add_library(secur32 MODULE
23    ${SOURCE}
24    secur32.rc
25    ${CMAKE_CURRENT_BINARY_DIR}/secur32_stubs.c
26    ${CMAKE_CURRENT_BINARY_DIR}/secur32.def)
27
28set_module_type(secur32 win32dll UNICODE)
29target_link_libraries(secur32 lsalib wine)
30add_importlibs(secur32 advapi32 netapi32 msvcrt kernel32 ntdll)
31add_pch(secur32 precomp.h SOURCE)
32add_cd_file(TARGET secur32 DESTINATION reactos/system32 FOR all)
33