reactos/dll/win32/sensapi/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

17 lines
477 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
spec2def(sensapi ${CMAKE_CURRENT_SOURCE_DIR}/sensapi.spec ${CMAKE_CURRENT_BINARY_DIR}/sensapi.def)
add_library(sensapi SHARED sensapi.c)
set_module_type(sensapi win32dll)
target_link_libraries(sensapi
${CMAKE_CURRENT_BINARY_DIR}/sensapi.def
wine)
add_importlibs(sensapi kernel32 ntdll)
add_dependencies(sensapi sensapi_def)
add_livecd_target(sensapi reactos/system32)