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