summaryrefslogtreecommitdiffstats
path: root/Graphics
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-12-17 02:56:31 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-12-17 02:56:31 +0000
commit90ccf84717d0fc8b9d375c3e3bb58509adba6350 (patch)
treecfd33c7c0b3ae779c71da12417ba80d33a9e93ca /Graphics
parentAdded get_supported_backends and get_backend_libraries_type cmake helper func... (diff)
downloadDiligentCore-90ccf84717d0fc8b9d375c3e3bb58509adba6350.tar.gz
DiligentCore-90ccf84717d0fc8b9d375c3e3bb58509adba6350.zip
Added install steps; updated header structure for platforms
Diffstat (limited to 'Graphics')
-rw-r--r--Graphics/GLSLTools/CMakeLists.txt2
-rw-r--r--Graphics/GraphicsAccessories/CMakeLists.txt2
-rw-r--r--Graphics/GraphicsEngine/CMakeLists.txt2
-rw-r--r--Graphics/GraphicsEngineD3D11/CMakeLists.txt3
-rw-r--r--Graphics/GraphicsEngineD3D12/CMakeLists.txt3
-rw-r--r--Graphics/GraphicsEngineD3DBase/CMakeLists.txt4
-rw-r--r--Graphics/GraphicsEngineNextGenBase/CMakeLists.txt2
-rw-r--r--Graphics/GraphicsEngineOpenGL/CMakeLists.txt3
-rw-r--r--Graphics/GraphicsEngineVulkan/CMakeLists.txt5
-rw-r--r--Graphics/GraphicsTools/CMakeLists.txt2
-rw-r--r--Graphics/HLSL2GLSLConverterLib/CMakeLists.txt2
11 files changed, 28 insertions, 2 deletions
diff --git a/Graphics/GLSLTools/CMakeLists.txt b/Graphics/GLSLTools/CMakeLists.txt
index dd4540a8..2765b5ec 100644
--- a/Graphics/GLSLTools/CMakeLists.txt
+++ b/Graphics/GLSLTools/CMakeLists.txt
@@ -63,3 +63,5 @@ source_group("interface" FILES ${INTERFACE})
set_target_properties(GLSLTools PROPERTIES
FOLDER Core/Graphics
)
+
+install_core_lib(GLSLTools)
diff --git a/Graphics/GraphicsAccessories/CMakeLists.txt b/Graphics/GraphicsAccessories/CMakeLists.txt
index 3359ba33..00cc3309 100644
--- a/Graphics/GraphicsAccessories/CMakeLists.txt
+++ b/Graphics/GraphicsAccessories/CMakeLists.txt
@@ -38,3 +38,5 @@ source_group("interface" FILES ${INTERFACE})
set_target_properties(GraphicsAccessories PROPERTIES
FOLDER Core/Graphics
)
+
+install_core_lib(GraphicsAccessories)
diff --git a/Graphics/GraphicsEngine/CMakeLists.txt b/Graphics/GraphicsEngine/CMakeLists.txt
index 31bdc256..a853c820 100644
--- a/Graphics/GraphicsEngine/CMakeLists.txt
+++ b/Graphics/GraphicsEngine/CMakeLists.txt
@@ -80,3 +80,5 @@ source_group("interface" FILES ${INTERFACE})
set_target_properties(GraphicsEngine PROPERTIES
FOLDER Core/Graphics
)
+
+install_core_lib(GraphicsEngine)
diff --git a/Graphics/GraphicsEngineD3D11/CMakeLists.txt b/Graphics/GraphicsEngineD3D11/CMakeLists.txt
index e11d3557..1524c28c 100644
--- a/Graphics/GraphicsEngineD3D11/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3D11/CMakeLists.txt
@@ -142,3 +142,6 @@ set_target_properties(GraphicsEngineD3D11-shared PROPERTIES
set_source_files_properties(
readme.md PROPERTIES HEADER_FILE_ONLY TRUE
)
+
+install_core_lib(GraphicsEngineD3D11-shared)
+install_core_lib(GraphicsEngineD3D11-static)
diff --git a/Graphics/GraphicsEngineD3D12/CMakeLists.txt b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
index dd4fc0b6..dc0cc619 100644
--- a/Graphics/GraphicsEngineD3D12/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3D12/CMakeLists.txt
@@ -177,3 +177,6 @@ set_target_properties(GraphicsEngineD3D12-shared PROPERTIES
set_source_files_properties(
readme.md PROPERTIES HEADER_FILE_ONLY TRUE
)
+
+install_core_lib(GraphicsEngineD3D12-shared)
+install_core_lib(GraphicsEngineD3D12-static)
diff --git a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt
index 7b85ad3a..2d439ce4 100644
--- a/Graphics/GraphicsEngineD3DBase/CMakeLists.txt
+++ b/Graphics/GraphicsEngineD3DBase/CMakeLists.txt
@@ -74,4 +74,6 @@ set_target_properties(GraphicsEngineD3DBase PROPERTIES
)
set_target_properties(ProcessHLSLDefinitions PROPERTIES
FOLDER Core/Graphics/Helper
-) \ No newline at end of file
+)
+
+install_core_lib(GraphicsEngineD3DBase)
diff --git a/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt b/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt
index 20173b9b..ca60313d 100644
--- a/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt
+++ b/Graphics/GraphicsEngineNextGenBase/CMakeLists.txt
@@ -35,3 +35,5 @@ source_group("include" FILES ${INCLUDE})
set_target_properties(GraphicsEngineNextGenBase PROPERTIES
FOLDER Core/Graphics
)
+
+install_core_lib(GraphicsEngineNextGenBase)
diff --git a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
index ab1268c3..8754515f 100644
--- a/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
+++ b/Graphics/GraphicsEngineOpenGL/CMakeLists.txt
@@ -236,3 +236,6 @@ set_target_properties(GraphicsEngineOpenGL-shared PROPERTIES
set_source_files_properties(
readme.md PROPERTIES HEADER_FILE_ONLY TRUE
)
+
+install_core_lib(GraphicsEngineOpenGL-shared)
+install_core_lib(GraphicsEngineOpenGL-static)
diff --git a/Graphics/GraphicsEngineVulkan/CMakeLists.txt b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
index c5d7b78e..c55bf217 100644
--- a/Graphics/GraphicsEngineVulkan/CMakeLists.txt
+++ b/Graphics/GraphicsEngineVulkan/CMakeLists.txt
@@ -255,4 +255,7 @@ set_source_files_properties(
set_target_properties(ProcessGenerateMipsVkShader PROPERTIES
FOLDER Core/Graphics/Helper
-) \ No newline at end of file
+)
+
+install_core_lib(GraphicsEngineVk-shared)
+install_core_lib(GraphicsEngineVk-static)
diff --git a/Graphics/GraphicsTools/CMakeLists.txt b/Graphics/GraphicsTools/CMakeLists.txt
index 3e904606..3f7b3a14 100644
--- a/Graphics/GraphicsTools/CMakeLists.txt
+++ b/Graphics/GraphicsTools/CMakeLists.txt
@@ -68,3 +68,5 @@ source_group("interface" FILES ${INTERFACE})
set_target_properties(GraphicsTools PROPERTIES
FOLDER Core/Graphics
)
+
+install_core_lib(GraphicsTools)
diff --git a/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt b/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt
index a0855147..459764d9 100644
--- a/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt
+++ b/Graphics/HLSL2GLSLConverterLib/CMakeLists.txt
@@ -76,3 +76,5 @@ source_group("generated" FILES include/GLSLDefinitions_inc.h)
set_target_properties(HLSL2GLSLConverterLib PROPERTIES
FOLDER Core/Graphics
)
+
+install_core_lib(HLSL2GLSLConverterLib) \ No newline at end of file