4d03d78c15d239ec2348b07e892925c1db85c292
[reactos.git] / dll / directx / wine / d3dx9_25 / CMakeLists.txt
1 set_rc_compiler()
2
3 spec2def(d3dx9_25.dll d3dx9_25.spec)
4
5 list(APPEND SOURCE
6 d3dx9_25_main.c
7 version.rc
8 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25_stubs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25.def)
10
11 add_definitions(-D__WINESRC__)
12
13 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
14
15 add_library(d3dx9_25 SHARED ${SOURCE})
16 set_module_type(d3dx9_25 win32dll)
17
18 target_link_libraries(d3dx9_25
19 wine)
20
21 add_importlibs(d3dx9_25
22 d3dx9_36
23 d3dx9_24
24 d3d9
25 user32
26 gdi32
27 advapi32
28 wined3d
29 msvcrt
30 kernel32
31 ntdll)
32
33 add_dependencies(d3dx9_25 wineheaders)
34 add_cd_file(TARGET d3dx9_25 DESTINATION reactos/system32)
35 add_importlib_target(d3dx9_25.spec libd3dx9_24 libd3dx9_36)