mirror of
https://github.com/reactos/reactos.git
synced 2024-11-02 21:09:15 +00:00
65ce146169
svn path=/branches/ros-csrss/; revision=57561
36 lines
635 B
CMake
36 lines
635 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_IMPORTLIB)
|
|
|
|
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)
|
|
|