mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
36 lines
616 B
CMake
36 lines
616 B
CMake
|
|
set_unicode()
|
|
|
|
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_entrypoint(dinput8 0)
|
|
|
|
target_link_libraries(dinput8
|
|
dxguid
|
|
uuid
|
|
wine)
|
|
|
|
add_importlibs(dinput8
|
|
user32
|
|
advapi32
|
|
ole32
|
|
winmm
|
|
dinput
|
|
kernel32
|
|
ntdll)
|
|
|
|
add_dependencies(dinput8 psdk buildno_header)
|
|
|
|
add_cab_target(dinput8 1)
|
|
add_importlib_target(dinput8.spec)
|