[CMAKE]
[reactos.git] / dll / directx / dinput8 / CMakeLists.txt
1
2 set_unicode()
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 spec2def(dinput8.dll dinput8.spec)
10
11 add_library(dinput8 SHARED
12 dinput8_main.c
13 regsvr.c
14 version.rc
15 ${CMAKE_CURRENT_BINARY_DIR}/dinput8.def)
16
17 set_entrypoint(dinput8 0)
18
19 target_link_libraries(dinput8
20 dxguid
21 uuid
22 wine)
23
24 add_importlibs(dinput8
25 user32
26 advapi32
27 ole32
28 winmm
29 dinput
30 kernel32
31 ntdll)
32
33 add_dependencies(dinput8 psdk)
34
35 add_cd_file(TARGET dinput8 DESTINATION reactos/system32)
36 add_importlib_target(dinput8.spec)