2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5 spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
26 add_library(d3dx9_36 SHARED
30 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
31 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
33 set_module_type(d3dx9_36 win32dll)
34 add_dependencies(d3dx9_36 d3d_idl_headers)
35 target_link_libraries(d3dx9_36 dxguid wine)
36 add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof user32 ole32 gdi32 msvcrt kernel32 ntdll)
37 add_pch(d3dx9_36 d3dx9_36_private.h SOURCE)
38 add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)