xref: /reactos/dll/win32/secur32/CMakeLists.txt (revision c2c66aff)
1*c2c66affSColin Finck
2*c2c66affSColin Finckadd_definitions(-D__SECUR32__)
3*c2c66affSColin Finckinclude_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/subsys)
4*c2c66affSColin Finckspec2def(secur32.dll secur32.spec ADD_IMPORTLIB)
5*c2c66affSColin Finck
6*c2c66affSColin Fincklist(APPEND SOURCE
7*c2c66affSColin Finck    dllmain.c
8*c2c66affSColin Finck    lsalpc.c
9*c2c66affSColin Finck    sspi.c
10*c2c66affSColin Finck    stubs.c
11*c2c66affSColin Finck    thunks.c
12*c2c66affSColin Finck    wrapper.c
13*c2c66affSColin Finck    wine/base64_codec.c
14*c2c66affSColin Finck    wine/dispatcher.c
15*c2c66affSColin Finck    wine/hmac_md5.c
16*c2c66affSColin Finck    wine/kerberos.c
17*c2c66affSColin Finck    wine/negotiate.c
18*c2c66affSColin Finck    wine/ntlm.c
19*c2c66affSColin Finck    wine/util.c
20*c2c66affSColin Finck    precomp.h)
21*c2c66affSColin Finck
22*c2c66affSColin Finckadd_library(secur32 SHARED
23*c2c66affSColin Finck    ${SOURCE}
24*c2c66affSColin Finck    secur32.rc
25*c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/secur32_stubs.c
26*c2c66affSColin Finck    ${CMAKE_CURRENT_BINARY_DIR}/secur32.def)
27*c2c66affSColin Finck
28*c2c66affSColin Finckset_module_type(secur32 win32dll UNICODE)
29*c2c66affSColin Fincktarget_link_libraries(secur32 lsalib wine)
30*c2c66affSColin Finckadd_importlibs(secur32 advapi32 netapi32 msvcrt kernel32 ntdll)
31*c2c66affSColin Finckadd_pch(secur32 precomp.h SOURCE)
32*c2c66affSColin Finckadd_cd_file(TARGET secur32 DESTINATION reactos/system32 FOR all)
33