From 90ccf84717d0fc8b9d375c3e3bb58509adba6350 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 16 Dec 2018 18:56:31 -0800 Subject: Added install steps; updated header structure for platforms --- Graphics/GLSLTools/CMakeLists.txt | 2 ++ Graphics/GraphicsAccessories/CMakeLists.txt | 2 ++ Graphics/GraphicsEngine/CMakeLists.txt | 2 ++ Graphics/GraphicsEngineD3D11/CMakeLists.txt | 3 +++ Graphics/GraphicsEngineD3D12/CMakeLists.txt | 3 +++ Graphics/GraphicsEngineD3DBase/CMakeLists.txt | 4 +++- Graphics/GraphicsEngineNextGenBase/CMakeLists.txt | 2 ++ Graphics/GraphicsEngineOpenGL/CMakeLists.txt | 3 +++ Graphics/GraphicsEngineVulkan/CMakeLists.txt | 5 ++++- Graphics/GraphicsTools/CMakeLists.txt | 2 ++ Graphics/HLSL2GLSLConverterLib/CMakeLists.txt | 2 ++ 11 files changed, 28 insertions(+), 2 deletions(-) (limited to 'Graphics') 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 -- cgit v1.2.3