mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 00:18:26 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
36 lines
655 B
CMake
36 lines
655 B
CMake
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(dinput8.dll dinput8.spec)
|
|
|
|
add_library(dinput8 SHARED
|
|
dinput8_main.c
|
|
regsvr.c
|
|
version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/dinput8.def)
|
|
|
|
set_module_type(dinput8 win32dll UNICODE ENTRYPOINT 0)
|
|
|
|
target_link_libraries(dinput8
|
|
dxguid
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(dinput8
|
|
user32
|
|
advapi32
|
|
ole32
|
|
winmm
|
|
dinput
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(dinput8 psdk)
|
|
|
|
add_cd_file(TARGET dinput8 DESTINATION reactos/system32 FOR all)
|
|
add_importlib_target(dinput8.spec)
|