2f985923ec37b5ea5d7e3892c08a4a28bce3ff67
[reactos.git] / dll / win32 / xinput1_2 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(xinput1_2 ${CMAKE_CURRENT_SOURCE_DIR}/xinput1_2.spec ${CMAKE_CURRENT_BINARY_DIR}/xinput1_2.def)
6
7 add_library(xinput1_2 SHARED xinput1_2_main.c version.rc)
8
9 add_importlibs(xinput1_2 kernel32)
10
11 set_module_type(xinput1_2 win32dll)
12 target_link_libraries(xinput1_2 ${CMAKE_CURRENT_BINARY_DIR}/xinput1_2.def)
13 add_dependencies(xinput1_2 xinput1_2_def)
14 add_livecd_target(xinput1_2 reactos/system32)