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