69cd341f0a85e4c79c2f8271a01093bb4bfd0cd6
[reactos.git] / dll / directx / wine / d3dx9_36 / CMakeLists.txt
1 set_rc_compiler()
2
3 spec2def(d3dx9_36.dll d3dx9_36.spec)
4
5 list(APPEND SOURCE
6 core.c
7 d3dx9_36_main.c
8 font.c
9 math.c
10 mesh.c
11 shader.c
12 sprite.c
13 surface.c
14 texture.c
15 util.c
16 version.rc
17 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
18 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
19
20 add_definitions(-D__WINESRC__)
21
22 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
23
24 add_library(d3dx9_36 SHARED ${SOURCE})
25 set_module_type(d3dx9_36 win32dll)
26
27 target_link_libraries(d3dx9_36
28 wine)
29
30 add_importlibs(d3dx9_36
31 d3d9
32 user32
33 gdi32
34 advapi32
35 wined3d
36 msvcrt
37 kernel32
38 ntdll)
39
40 add_dependencies(d3dx9_36 wineheaders)
41 add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32)
42 add_importlib_target(d3dx9_36.spec)