[CMAKE]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 29 Nov 2010 19:31:43 +0000 (19:31 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Mon, 29 Nov 2010 19:31:43 +0000 (19:31 +0000)
- Add stub file for d3dx9_26 and d3dx9_36
- d3dx9_26 imports from d3dx9_36 (def redirection)

svn path=/branches/cmake-bringup/; revision=49869

dll/directx/wine/d3dx9_24/CMakeLists.txt
dll/directx/wine/d3dx9_36/CMakeLists.txt

index 0351469..309c718 100644 (file)
@@ -5,6 +5,7 @@ spec2def(d3dx9_24.dll d3dx9_24.spec)
 list(APPEND SOURCE
     d3dx9_24_main.c
     version.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_24_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_24.def)
 
 add_definitions(-D__WINESRC__)
@@ -18,6 +19,7 @@ target_link_libraries(d3dx9_24
     wine)
 
 add_importlibs(d3dx9_24
+    d3dx9_36
     d3d9
     user32
     gdi32
@@ -28,4 +30,4 @@ add_importlibs(d3dx9_24
     ntdll)
 
 add_dependencies(d3dx9_24 wineheaders)
-add_cab_target(d3dx9_24 1)
\ No newline at end of file
+add_cab_target(d3dx9_24 1)
index de436fe..0ed8977 100644 (file)
@@ -14,6 +14,7 @@ list(APPEND SOURCE
     texture.c
     util.c
     version.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
 
 add_definitions(-D__WINESRC__)
@@ -37,4 +38,5 @@ add_importlibs(d3dx9_36
     ntdll)
 
 add_dependencies(d3dx9_36 wineheaders)
-add_cab_target(d3dx9_36 1)
\ No newline at end of file
+add_cab_target(d3dx9_36 1)
+add_importlib_target(d3dx9_36.spec)