reactos/dll/win32/xinput1_1/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

14 lines
497 B
CMake

add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(xinput1_1 ${CMAKE_CURRENT_SOURCE_DIR}/xinput1_1.spec ${CMAKE_CURRENT_BINARY_DIR}/xinput1_1.def)
add_library(xinput1_1 SHARED xinput1_1_main.c version.rc)
set_module_type(xinput1_1 win32dll)
target_link_libraries(xinput1_1 ${CMAKE_CURRENT_BINARY_DIR}/xinput1_1.def)
add_importlibs(xinput1_1 kernel32)
add_dependencies(xinput1_1 xinput1_1_def)
add_livecd_target(xinput1_1 reactos/system32)