ea648fa5664f511da306b3c48b76ebc879490d20
[reactos.git] / dll / win32 / samlib / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 set_rc_compiler()
6 spec2def(samlib.dll samlib.spec)
7
8 list(APPEND SOURCE
9 dllmain.c
10 samlib.c
11 samlib.rc
12 ${CMAKE_CURRENT_BINARY_DIR}/samlib_stubs.c
13 ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
14
15 add_library(samlib SHARED ${SOURCE})
16
17 set_module_type(samlib win32dll)
18
19 add_importlibs(samlib advapi32 msvcrt kernel32 ntdll)
20
21 add_cab_target(samlib 1)
22 add_importlib_target(samlib.spec)