[DXSDK]
[reactos.git] / reactos / dll / directx / wine / d3dx9_36 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
6
7 list(APPEND SOURCE
8 core.c
9 d3dx9_36_main.c
10 effect.c
11 font.c
12 line.c
13 math.c
14 mesh.c
15 render.c
16 shader.c
17 skin.c
18 sprite.c
19 surface.c
20 texture.c
21 util.c
22 volume.c
23 xfile.c
24 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
25 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
26
27 add_library(d3dx9_36 SHARED ${SOURCE} version.rc)
28 set_module_type(d3dx9_36 win32dll)
29 target_link_libraries(d3dx9_36 dxguid wine)
30 add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof user32 ole32 gdi32 msvcrt kernel32 ntdll)
31 add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)