e6fa52aac2a89d50b044c2cebb933d1a71ca3520
[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.def)
13
14 add_library(samlib SHARED ${SOURCE})
15
16 set_module_type(samlib win32dll)
17
18 add_importlibs(samlib advapi32 msvcrt kernel32 ntdll)
19
20 add_cab_target(samlib 1)
21 add_importlib_target(samlib.spec)