* Sync up to trunk HEAD (r62502).
[reactos.git] / dll / directx / wine / dinput8 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4 spec2def(dinput8.dll dinput8.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 dinput8_main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/dinput8.def)
9
10 add_library(dinput8 SHARED ${SOURCE} version.rc)
11 set_module_type(dinput8 win32dll HOTPATCHABLE)
12 target_link_libraries(dinput8 dxguid uuid wine)
13 add_importlibs(dinput8 ole32 msvcrt kernel32 ntdll)
14 add_cd_file(TARGET dinput8 DESTINATION reactos/system32 FOR all)