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