[AMSTREAM] We don't need to define WIDL_C_INLINE_WRAPPERS here anymore.
[reactos.git] / dll / directx / wine / d3dx9_36 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__ -Dcopysignf=_copysignf -D_D3DX9_VER=36)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
5
6 list(APPEND SOURCE
7 animation.c
8 core.c
9 d3dx9_36_main.c
10 effect.c
11 font.c
12 line.c
13 math.c
14 mesh.c
15 preshader.c
16 render.c
17 shader.c
18 skin.c
19 sprite.c
20 surface.c
21 texture.c
22 util.c
23 volume.c
24 xfile.c
25 d3dx9_36_private.h)
26
27 add_library(d3dx9_36 SHARED
28 ${SOURCE}
29 guid.c
30 version.rc
31 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
32 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
33
34 set_module_type(d3dx9_36 win32dll)
35 add_dependencies(d3dx9_36 d3d_idl_headers)
36 target_link_libraries(d3dx9_36 dxguid wine)
37 add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof d3dwine user32 ole32 gdi32 msvcrt kernel32 ntdll)
38 add_pch(d3dx9_36 d3dx9_36_private.h SOURCE)
39 add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)