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