mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00

- Get rid of buildno_header target, builno.h is generated at configure time. svn path=/branches/cmake-bringup/; revision=51220
36 lines
601 B
CMake
36 lines
601 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)
|
|
|
|
add_cab_target(dinput8 1)
|
|
add_importlib_target(dinput8.spec)
|