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