Skip to content

Commit ef16e4d

Browse files
Added 'Diligent-' prefix to project names to avoid name conflicts (DiligentGraphics/DiligentEngine#20)
1 parent 1404b2c commit ef16e4d

19 files changed

Lines changed: 31 additions & 31 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function(add_sample_app APP_NAME IDE_FOLDER SOURCE INCLUDE SHADERS ASSETS)
3535
target_link_libraries(${APP_NAME}
3636
PRIVATE
3737
NativeAppBase
38-
BuildSettings
38+
Diligent-BuildSettings
3939
SampleBase
4040
)
4141
set_common_target_properties(${APP_NAME})

External/TwBarLib/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ endif()
121121

122122
target_link_libraries(TwBarLib
123123
PRIVATE
124-
BuildSettings
125-
Common
126-
GraphicsEngineInterface
127-
PlatformInterface
124+
Diligent-BuildSettings
125+
Diligent-Common
126+
Diligent-GraphicsEngineInterface
127+
Diligent-PlatformInterface
128128
)
129129

130130
target_include_directories(TwBarLib

Samples/AntTweakBar/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ set(ASSETS
2323
)
2424

2525
add_sample_app("AntTweakBarSample" "Samples" "${SOURCE}" "${INCLUDE}" "${SHADERS}" "${ASSETS}")
26-
target_link_libraries(AntTweakBarSample PRIVATE RenderScript)
26+
target_link_libraries(AntTweakBarSample PRIVATE Diligent-RenderScript)
2727

2828
set_source_files_properties(${ASSETS} PROPERTIES
2929
VS_DEPLOYMENT_LOCATION "."

Samples/Atmosphere/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ PRIVATE
8181

8282
target_link_libraries(AtmosphereSample
8383
PRIVATE
84-
GraphicsAccessories
85-
TextureLoader
84+
Diligent-GraphicsAccessories
85+
Diligent-TextureLoader
8686
DiligentFX
8787
)
8888

Samples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required (VERSION 3.6)
22

33
add_subdirectory(SampleBase)
4-
if(TARGET RenderScript)
4+
if(TARGET Diligent-RenderScript)
55
add_subdirectory(AntTweakBar)
66
endif()
77
if(TARGET DiligentFX)

Samples/GLTFViewer/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ set(ASSETS
3434
)
3535

3636
add_sample_app("GLTFViewer" "Samples" "${SOURCE}" "${INCLUDE}" "${SHADERS}" "${ASSETS}")
37-
target_link_libraries(GLTFViewer PRIVATE AssetLoader DiligentFX)
37+
target_link_libraries(GLTFViewer PRIVATE Diligent-AssetLoader DiligentFX)
3838

3939
target_include_directories(GLTFViewer PRIVATE
4040
../../../DiligentFX/Shaders/PostProcess/ToneMapping/public/

Samples/SampleBase/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ get_supported_backends(ENGINE_LIBRARIES)
141141

142142
target_link_libraries(SampleBase
143143
PRIVATE
144-
BuildSettings
144+
Diligent-BuildSettings
145145
PUBLIC
146146
NativeAppBase
147147
TwBarLib
148-
Common
149-
GraphicsTools
150-
TextureLoader
151-
TargetPlatform
148+
Diligent-Common
149+
Diligent-GraphicsTools
150+
Diligent-TextureLoader
151+
Diligent-TargetPlatform
152152
${ENGINE_LIBRARIES}
153153
)
154154

Tutorials/Tutorial00_HelloLinux/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ set_target_properties(Tutorial00_HelloLinux PROPERTIES
1818
CXX_EXTENSIONS OFF
1919
)
2020

21-
target_link_libraries(Tutorial00_HelloLinux PRIVATE GL X11 GraphicsEngineOpenGL-shared)
21+
target_link_libraries(Tutorial00_HelloLinux PRIVATE GL X11 Diligent-GraphicsEngineOpenGL-shared)
2222

2323
if(VULKAN_SUPPORTED)
24-
target_link_libraries(Tutorial00_HelloLinux PRIVATE GraphicsEngineVk-shared xcb)
24+
target_link_libraries(Tutorial00_HelloLinux PRIVATE Diligent-GraphicsEngineVk-shared xcb)
2525
endif()

Tutorials/Tutorial00_HelloLinux/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
This tutorial demonstrates how to initialize Diligent Engine and render a simple triangle on Linux platform.
44
It is similar to [Tutorial01](../Tutorial01_HelloTriangle), but the project has no dependencies other than
5-
on GraphicsEngineOpenGL-shared and all the code is contained in a single file.
5+
on Diligent-GraphicsEngineOpenGL-shared and Diligent-GraphicsEngineVk-shared and all the code is contained in a single file.
66

77
![](Screenshot.png)

Tutorials/Tutorial00_HelloWin32/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ set_target_properties(Tutorial00_HelloWin32 PROPERTIES
2525
target_compile_definitions(Tutorial00_HelloWin32 PRIVATE ENGINE_DLL=1)
2626

2727
if(D3D11_SUPPORTED)
28-
target_link_libraries(Tutorial00_HelloWin32 PRIVATE GraphicsEngineD3D11-shared)
28+
target_link_libraries(Tutorial00_HelloWin32 PRIVATE Diligent-GraphicsEngineD3D11-shared)
2929
endif()
3030
if(D3D12_SUPPORTED)
31-
target_link_libraries(Tutorial00_HelloWin32 PRIVATE GraphicsEngineD3D12-shared)
31+
target_link_libraries(Tutorial00_HelloWin32 PRIVATE Diligent-GraphicsEngineD3D12-shared)
3232
endif()
3333
if(GL_SUPPORTED)
34-
target_link_libraries(Tutorial00_HelloWin32 PRIVATE GraphicsEngineOpenGL-shared)
34+
target_link_libraries(Tutorial00_HelloWin32 PRIVATE Diligent-GraphicsEngineOpenGL-shared)
3535
endif()
3636
if(VULKAN_SUPPORTED)
37-
target_link_libraries(Tutorial00_HelloWin32 PRIVATE GraphicsEngineVk-shared)
37+
target_link_libraries(Tutorial00_HelloWin32 PRIVATE Diligent-GraphicsEngineVk-shared)
3838
endif()
3939
copy_required_dlls(Tutorial00_HelloWin32)

0 commit comments

Comments
 (0)