2e3811dfcbdfb9786b18f993ca09c660e9cf34f1
[reactos.git] / dll / win32 / secur32 / CMakeLists.txt
1
2 add_definitions(-D__SECUR32__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
4
5 spec2def(secur32.dll secur32.spec)
6
7 list(APPEND SOURCE
8 dllmain.c
9 secext.c
10 sspi.c
11 secur32.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/secur32.def
13 )
14
15 add_library(secur32 SHARED
16 ${CMAKE_CURRENT_BINARY_DIR}/secur32_precomp.h.gch
17 ${SOURCE})
18
19 set_module_type(secur32 win32dll)
20
21 target_link_libraries(secur32 lsalib)
22
23 add_importlibs(secur32 advapi32 msvcrt kernel32 ntdll)
24 add_pch(secur32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
25
26 add_cab_target(secur32 1)
27 add_importlib_target(secur32.spec)