mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
9967209aea
- More work on the dlls. svn path=/branches/cmake-bringup/; revision=49060
13 lines
451 B
CMake
13 lines
451 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(xinput1_2 ${CMAKE_CURRENT_SOURCE_DIR}/xinput1_2.spec ${CMAKE_CURRENT_BINARY_DIR}/xinput1_2.def)
|
|
|
|
add_library(xinput1_2 SHARED xinput1_2_main.c version.rc)
|
|
|
|
add_importlibs(xinput1_2 kernel32)
|
|
|
|
set_module_type(xinput1_2 win32dll)
|
|
target_link_libraries(xinput1_2 ${CMAKE_CURRENT_BINARY_DIR}/xinput1_2.def)
|
|
add_dependencies(xinput1_2 xinput1_2_def)
|