[CMAKE]
[reactos.git] / dll / win32 / slbcsp / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3 add_definitions(-D__WINESRC__)
4
5 spec2def(slbcsp.dll slbcsp.spec)
6
7 list(APPEND SOURCE
8 main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/slbcsp_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/slbcsp.def)
11
12 add_library(slbcsp SHARED ${SOURCE})
13
14 set_module_type(slbcsp win32dll)
15
16 target_link_libraries(slbcsp wine)
17
18 add_importlibs(slbcsp msvcrt kernel32 ntdll)
19
20 add_cd_file(TARGET slbcsp DESTINATION reactos/system32)