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