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