[CLT2012]
[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 set_module_type(samlib win32dll)
17 add_importlibs(samlib advapi32 msvcrt kernel32 ntdll)
18 add_pch(samlib precomp.h)
19 add_cd_file(TARGET samlib DESTINATION reactos/system32 FOR all)
20 add_importlib_target(samlib.spec)