summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-06-09 21:08:31 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-06-09 21:08:31 +0000
commitf4dc48ccc69fc2f8564606e55f50bee3ee236af0 (patch)
tree209b2fb438498979aebaf669e065b31a46d81ade
parentUpdated samples (updated gradle build tools to 3.4.1) (diff)
downloadDiligentEngine-f4dc48ccc69fc2f8564606e55f50bee3ee236af0.tar.gz
DiligentEngine-f4dc48ccc69fc2f8564606e55f50bee3ee236af0.zip
Added 'Diligent-' prefix to project names to avoid name conflicts (fixed https://github.com/DiligentGraphics/DiligentEngine/issues/20)
-rw-r--r--Common/NativeApp/Android/ndk_helper/CMakeLists.txt2
-rw-r--r--Common/NativeApp/CMakeLists.txt4
-rw-r--r--Common/NativeApp/Linux/CMakeLists.txt2
m---------DiligentCore0
m---------DiligentFX0
m---------DiligentSamples0
m---------DiligentTools0
-rw-r--r--Projects/Asteroids/CMakeLists.txt10
-rw-r--r--README.md11
-rw-r--r--Tests/CMakeLists.txt2
-rw-r--r--Tests/IncludeTest/CMakeLists.txt2
-rw-r--r--Tests/TestApp/CMakeLists.txt14
-rw-r--r--Tests/TestApp/src/CMakeLists.txt26
-rw-r--r--unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt16
-rw-r--r--unityplugin/GhostCubeScene/CMakeLists.txt4
-rw-r--r--unityplugin/UnityEmulator/CMakeLists.txt16
16 files changed, 55 insertions, 54 deletions
diff --git a/Common/NativeApp/Android/ndk_helper/CMakeLists.txt b/Common/NativeApp/Android/ndk_helper/CMakeLists.txt
index 6dcf642..653847d 100644
--- a/Common/NativeApp/Android/ndk_helper/CMakeLists.txt
+++ b/Common/NativeApp/Android/ndk_helper/CMakeLists.txt
@@ -29,7 +29,7 @@ PUBLIC
target_link_libraries(NDKHelper
PRIVATE
- BuildSettings
+ Diligent-BuildSettings
PUBLIC
native_app_glue
)
diff --git a/Common/NativeApp/CMakeLists.txt b/Common/NativeApp/CMakeLists.txt
index f381b88..cbc0dcb 100644
--- a/Common/NativeApp/CMakeLists.txt
+++ b/Common/NativeApp/CMakeLists.txt
@@ -343,8 +343,8 @@ endif()
target_link_libraries(NativeAppBase
PRIVATE
- BuildSettings
- Common
+ Diligent-BuildSettings
+ Diligent-Common
)
if(PLATFORM_WIN32)
diff --git a/Common/NativeApp/Linux/CMakeLists.txt b/Common/NativeApp/Linux/CMakeLists.txt
index fae7e73..9c072c5 100644
--- a/Common/NativeApp/Linux/CMakeLists.txt
+++ b/Common/NativeApp/Linux/CMakeLists.txt
@@ -20,7 +20,7 @@ source_group("interface" FILES ${INTERFACE})
target_link_libraries(XCBKeySyms
PRIVATE
- BuildSettings
+ Diligent-BuildSettings
)
set_target_properties(XCBKeySyms PROPERTIES
diff --git a/DiligentCore b/DiligentCore
-Subproject 6b7556d30b12895419162b154fefce772143202
+Subproject dadf4bbc5b2d48c901bb2c98d80fe7595bf3ebc
diff --git a/DiligentFX b/DiligentFX
-Subproject 8fc5865d13148e653cc41dc77c49201cb343075
+Subproject f54ef1dc142474d23216abbb92714e2ea14b46c
diff --git a/DiligentSamples b/DiligentSamples
-Subproject 1404b2cbe8676c3f78dc04431f74c8094a4b5f4
+Subproject ef16e4d61899d4551dc9130f4b8b15e08aa6d0d
diff --git a/DiligentTools b/DiligentTools
-Subproject c20b95f7275f0dab55d900075e92faacf50faf5
+Subproject 7c13e1d1b6ca7a28a1d48c167bf8187a24acab4
diff --git a/Projects/Asteroids/CMakeLists.txt b/Projects/Asteroids/CMakeLists.txt
index 9a322f3..5922f01 100644
--- a/Projects/Asteroids/CMakeLists.txt
+++ b/Projects/Asteroids/CMakeLists.txt
@@ -109,11 +109,11 @@ get_supported_backends(ENGINE_LIBRARIES)
target_link_libraries(Asteroids
PRIVATE
- BuildSettings
- TargetPlatform
- TextureLoader
- Common
- GraphicsTools
+ Diligent-BuildSettings
+ Diligent-TargetPlatform
+ Diligent-TextureLoader
+ Diligent-Common
+ Diligent-GraphicsTools
${ENGINE_LIBRARIES}
d3d11.lib
d3d12.lib
diff --git a/README.md b/README.md
index ecce6b5..d62196e 100644
--- a/README.md
+++ b/README.md
@@ -368,11 +368,12 @@ add_executable(HelloDiligent WIN32 HelloDiligent.cpp)
target_compile_options(HelloDiligent PRIVATE -DUNICODE -DENGINE_DLL)
target_include_directories(HelloDiligent PRIVATE "DiligentCore")
-add_dependencies(HelloDiligent
- GraphicsEngineD3D11-shared
- GraphicsEngineOpenGL-shared
- GraphicsEngineD3D12-shared
- GraphicsEngineVk-shared
+target_link_libraries(HelloDiligent
+PRIVATE
+ Diligent-GraphicsEngineD3D11-shared
+ Diligent-GraphicsEngineOpenGL-shared
+ Diligent-GraphicsEngineD3D12-shared
+ Diligent-GraphicsEngineVk-shared
)
copy_required_dlls(HelloDiligent)
```
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 638cdf0..1a85791 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.3)
-if(TARGET RenderScript)
+if(TARGET Diligent-RenderScript)
add_subdirectory(TestApp)
endif()
diff --git a/Tests/IncludeTest/CMakeLists.txt b/Tests/IncludeTest/CMakeLists.txt
index 730c070..1b761cc 100644
--- a/Tests/IncludeTest/CMakeLists.txt
+++ b/Tests/IncludeTest/CMakeLists.txt
@@ -42,7 +42,7 @@ if(VULKAN_SUPPORTED)
endif()
target_include_directories(IncludeTest PRIVATE ../..)
-target_link_libraries(IncludeTest PRIVATE BuildSettings)
+target_link_libraries(IncludeTest PRIVATE Diligent-BuildSettings)
set_common_target_properties(IncludeTest)
if(MSVC)
diff --git a/Tests/TestApp/CMakeLists.txt b/Tests/TestApp/CMakeLists.txt
index 9568a4a..00bc7e5 100644
--- a/Tests/TestApp/CMakeLists.txt
+++ b/Tests/TestApp/CMakeLists.txt
@@ -129,19 +129,19 @@ get_supported_backends(ENGINE_LIBRARIES)
target_link_libraries(TestApp
PRIVATE
- BuildSettings
+ Diligent-BuildSettings
PUBLIC
NativeAppBase
- Common
- GraphicsTools
- TargetPlatform
- RenderScript
- GraphicsAccessories
+ Diligent-Common
+ Diligent-GraphicsTools
+ Diligent-TargetPlatform
+ Diligent-RenderScript
+ Diligent-GraphicsAccessories
${ENGINE_LIBRARIES}
)
if(GL_SUPPORTED OR GLES_SUPPORTED)
- target_link_libraries(TestApp PRIVATE HLSL2GLSLConverterLib)
+ target_link_libraries(TestApp PRIVATE Diligent-HLSL2GLSLConverterLib)
endif()
if(GL_SUPPORTED)
diff --git a/Tests/TestApp/src/CMakeLists.txt b/Tests/TestApp/src/CMakeLists.txt
index befa6fa..20fb0d0 100644
--- a/Tests/TestApp/src/CMakeLists.txt
+++ b/Tests/TestApp/src/CMakeLists.txt
@@ -85,30 +85,30 @@ endif()
if(PLATFORM_WIN32)
SET(ENGINE_LIBRARIES
- GraphicsEngineD3D11-shared
- GraphicsEngineD3D12-shared
- GraphicsEngineOpenGL-shared
+ Diligent-GraphicsEngineD3D11-shared
+ Diligent-GraphicsEngineD3D12-shared
+ Diligent-GraphicsEngineOpenGL-shared
)
elseif(PLATFORM_ANDROID)
SET(ENGINE_LIBRARIES
- GraphicsEngineOpenGL-shared
+ Diligent-GraphicsEngineOpenGL-shared
)
elseif(PLATFORM_UNIVERSAL_WINDOWS)
SET(ENGINE_LIBRARIES
- GraphicsEngineD3D11-static
- GraphicsEngineD3D12-static
+ Diligent-GraphicsEngineD3D11-static
+ Diligent-GraphicsEngineD3D12-static
)
elseif(PLATFORM_LINUX)
SET(ENGINE_LIBRARIES
- GraphicsEngineOpenGL-shared
+ Diligent-GraphicsEngineOpenGL-shared
)
elseif(PLATFORM_MACOS)
SET(ENGINE_LIBRARIES
- GraphicsEngineOpenGL-shared
+ Diligent-GraphicsEngineOpenGL-shared
)
elseif(PLATFORM_IOS)
SET(ENGINE_LIBRARIES
- GraphicsEngineOpenGL-static
+ Diligent-GraphicsEngineOpenGL-static
)
else()
message(FATAL_ERROR "Undefined platform")
@@ -116,12 +116,12 @@ endif()
target_link_libraries(TestApp
PRIVATE
- BuildSettings
+ Diligent-BuildSettings
PUBLIC
NativeAppBase
- Common
- GraphicsTools
- TargetPlatform
+ Diligent-Common
+ Diligent-GraphicsTools
+ Diligent-TargetPlatform
${ENGINE_LIBRARIES}
)
diff --git a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt
index a340286..e9b8fa2 100644
--- a/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt
+++ b/unityplugin/GhostCubePlugin/PluginSource/CMakeLists.txt
@@ -60,23 +60,23 @@ if(MSVC)
endif()
set(PRIVATE_DEPENDENCIES
- BuildSettings
- TargetPlatform
- Common
- GraphicsAccessories
- GraphicsTools
+ Diligent-BuildSettings
+ Diligent-TargetPlatform
+ Diligent-Common
+ Diligent-GraphicsAccessories
+ Diligent-GraphicsTools
)
if(D3D11_SUPPORTED)
- list(APPEND PRIVATE_DEPENDENCIES GraphicsEngineD3D11-static)
+ list(APPEND PRIVATE_DEPENDENCIES Diligent-GraphicsEngineD3D11-static)
endif()
if(D3D12_SUPPORTED)
- list(APPEND PRIVATE_DEPENDENCIES GraphicsEngineD3D12-static)
+ list(APPEND PRIVATE_DEPENDENCIES Diligent-GraphicsEngineD3D12-static)
endif()
if(GL_SUPPORTED OR GLES_SUPPORTED)
- list(APPEND PRIVATE_DEPENDENCIES GraphicsEngineOpenGL-static)
+ list(APPEND PRIVATE_DEPENDENCIES Diligent-GraphicsEngineOpenGL-static)
endif()
target_link_libraries(GhostCubePlugin-shared PRIVATE ${PRIVATE_DEPENDENCIES})
diff --git a/unityplugin/GhostCubeScene/CMakeLists.txt b/unityplugin/GhostCubeScene/CMakeLists.txt
index e657e51..2b3dac7 100644
--- a/unityplugin/GhostCubeScene/CMakeLists.txt
+++ b/unityplugin/GhostCubeScene/CMakeLists.txt
@@ -86,10 +86,10 @@ PRIVATE
target_link_libraries(GhostCubeScene
PRIVATE
- BuildSettings
+ Diligent-BuildSettings
NativeAppBase
UnityEmulator
- TargetPlatform
+ Diligent-TargetPlatform
)
if(PLATFORM_ANDROID)
target_link_libraries(GhostCubeScene PRIVATE GhostCubePlugin-shared)
diff --git a/unityplugin/UnityEmulator/CMakeLists.txt b/unityplugin/UnityEmulator/CMakeLists.txt
index 9fe7ca2..6a091a7 100644
--- a/unityplugin/UnityEmulator/CMakeLists.txt
+++ b/unityplugin/UnityEmulator/CMakeLists.txt
@@ -133,13 +133,13 @@ endif()
target_link_libraries(UnityEmulator
PRIVATE
- BuildSettings
+ Diligent-BuildSettings
PUBLIC
NativeAppBase
- Common
- GraphicsEngine
- GraphicsTools
- TargetPlatform
+ Diligent-Common
+ Diligent-GraphicsEngine
+ Diligent-GraphicsTools
+ Diligent-TargetPlatform
)
if(GL_SUPPORTED)
@@ -147,15 +147,15 @@ if(GL_SUPPORTED)
endif()
if(GL_SUPPORTED OR GLES_SUPPORTED)
- target_link_libraries(UnityEmulator PUBLIC GraphicsEngineOpenGL-static)
+ target_link_libraries(UnityEmulator PUBLIC Diligent-GraphicsEngineOpenGL-static)
endif()
if(D3D11_SUPPORTED)
- target_link_libraries(UnityEmulator PUBLIC GraphicsEngineD3DBase GraphicsEngineD3D11-static)
+ target_link_libraries(UnityEmulator PUBLIC Diligent-GraphicsEngineD3DBase Diligent-GraphicsEngineD3D11-static)
endif()
if(D3D12_SUPPORTED)
- target_link_libraries(UnityEmulator PUBLIC GraphicsEngineD3DBase GraphicsEngineD3D12-static)
+ target_link_libraries(UnityEmulator PUBLIC Diligent-GraphicsEngineD3DBase Diligent-GraphicsEngineD3D12-static)
endif()
if(PLATFORM_UNIVERSAL_WINDOWS)