summaryrefslogtreecommitdiff
path: root/wrappers
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2015-02-06 09:54:13 +0000
committerJosé Fonseca <jfonseca@vmware.com>2015-02-06 11:16:27 +0000
commite5a86273d50e0cc1a1c3d25c40d616a076a2ce2a (patch)
treed727825999a0b605682f45b72d648c6144e29a89 /wrappers
parent76f49b74243c3d2a6469e3ee13796d03741915f2 (diff)
dxgitrace: Use a static dxgitrace.def
No need to dynamically generate it anymore.
Diffstat (limited to 'wrappers')
-rw-r--r--wrappers/.gitignore1
-rw-r--r--wrappers/CMakeLists.txt13
-rw-r--r--wrappers/dxgitrace.def9
3 files changed, 10 insertions, 13 deletions
diff --git a/wrappers/.gitignore b/wrappers/.gitignore
index c4724d28..cfd6bdeb 100644
--- a/wrappers/.gitignore
+++ b/wrappers/.gitignore
@@ -3,7 +3,6 @@ d2d1trace.cpp
d3d8trace.cpp
d3d9trace.cpp
dxgitrace.cpp
-dxgitrace.def
ddrawtrace.cpp
dlltrace.cpp
egltrace.cpp
diff --git a/wrappers/CMakeLists.txt b/wrappers/CMakeLists.txt
index 32615c1a..87b32ae6 100644
--- a/wrappers/CMakeLists.txt
+++ b/wrappers/CMakeLists.txt
@@ -125,17 +125,6 @@ if (WIN32)
# dxgi.dll, d3d10.dll, d3d10_1.dll, d3d11.dll
if (DirectX_D3D11_2_INCLUDE_FOUND)
- set (DXGITRACE_DEF ${CMAKE_CURRENT_BINARY_DIR}/dxgitrace.def)
- file (WRITE ${DXGITRACE_DEF} "EXPORTS\n")
- file (APPEND ${DXGITRACE_DEF} "CreateDXGIFactory\n")
- file (APPEND ${DXGITRACE_DEF} "CreateDXGIFactory1\n")
- file (APPEND ${DXGITRACE_DEF} "D3D10CreateDevice\n")
- file (APPEND ${DXGITRACE_DEF} "D3D10CreateDeviceAndSwapChain\n")
- file (APPEND ${DXGITRACE_DEF} "D3D10CreateDevice1\n")
- file (APPEND ${DXGITRACE_DEF} "D3D10CreateDeviceAndSwapChain1\n")
- file (APPEND ${DXGITRACE_DEF} "D3D11CreateDevice\n")
- file (APPEND ${DXGITRACE_DEF} "D3D11CreateDeviceAndSwapChain\n")
-
include_directories (BEFORE SYSTEM ${DirectX_D3D11_2_INCLUDE_DIR})
add_custom_command (
@@ -161,7 +150,7 @@ if (WIN32)
${CMAKE_SOURCE_DIR}/specs/stdapi.py
)
add_library (dxgitrace MODULE
- ${DXGITRACE_DEF}
+ dxgitrace.def
dxgitrace.cpp
d3dcommonshader.cpp
)
diff --git a/wrappers/dxgitrace.def b/wrappers/dxgitrace.def
new file mode 100644
index 00000000..7502bb9f
--- /dev/null
+++ b/wrappers/dxgitrace.def
@@ -0,0 +1,9 @@
+EXPORTS
+ CreateDXGIFactory
+ CreateDXGIFactory1
+ D3D10CreateDevice
+ D3D10CreateDeviceAndSwapChain
+ D3D10CreateDevice1
+ D3D10CreateDeviceAndSwapChain1
+ D3D11CreateDevice
+ D3D11CreateDeviceAndSwapChain