533ba25f4ba91926d64934b2a4ac4378d9d1b5f0
[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 ${CMAKE_CURRENT_SOURCE_DIR}/sensapi.spec ${CMAKE_CURRENT_BINARY_DIR}/sensapi.def)
6
7 add_library(sensapi SHARED sensapi.c)
8
9 set_module_type(sensapi win32dll)
10
11 target_link_libraries(sensapi
12 ${CMAKE_CURRENT_BINARY_DIR}/sensapi.def
13 wine)
14
15 add_importlibs(sensapi kernel32 ntdll)
16 add_dependencies(sensapi sensapi_def)