c0343f621943f2a8a1f584283e6d569909ac7053
[reactos.git] / dll / win32 / samlib / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(samlib ${CMAKE_CURRENT_SOURCE_DIR}/samlib.spec ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
6
7 add_library(samlib SHARED dllmain.c samlib.c samlib.rc)
8
9 set_module_type(samlib win32dll)
10
11 target_link_libraries(samlib ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
12
13 add_importlibs(samlib advapi32 kernel32 ntdll)
14 add_dependencies(samlib samlib_def)
15 add_livecd_target(samlib reactos/system32)