Skip to content

Commit e1f3acd

Browse files
committed
Panzerfaust install and upgrade vulkan
1 parent d298766 commit e1f3acd

File tree

6 files changed

+24
-18
lines changed

6 files changed

+24
-18
lines changed

.github/workflows/job-cmakebuild-linux.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,7 @@ jobs:
4747
if-no-files-found: error
4848
path: |
4949
Result.Linux.x64.${{inputs.configuration}}/bin
50-
Result.Linux.x64.${{inputs.configuration}}/lib
50+
Result.Linux.x64.${{inputs.configuration}}/lib/libbulkand.so
51+
Result.Linux.x64.${{inputs.configuration}}/lib/libbulkand.so.1
52+
Result.Linux.x64.${{inputs.configuration}}/lib/libbulkand.so.1.3.296
5153
Result.Linux.x64.${{inputs.configuration}}/ZEngine/tests

Obelisk/CMakeLists.txt

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ project (Obelisk
99
set (CMAKE_CXX_STANDARD_REQUIRED ON)
1010
set (CMAKE_CXX_STANDARD 20)
1111

12-
13-
14-
1512
set (TARGET_NAME Obelisk)
1613

1714
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
@@ -51,6 +48,12 @@ target_link_libraries(${TARGET_NAME} PUBLIC
5148
)
5249

5350
install(TARGETS ${TARGET_NAME}
54-
DESTINATION bin/Editor
51+
RUNTIME DESTINATION bin/Editor
5552
)
5653

54+
install(DIRECTORY ../Resources/Editor DESTINATION bin)
55+
56+
install(DIRECTORY ../Resources/Shaders DESTINATION bin/Editor)
57+
58+
59+

Panzerfaust/CMakeLists.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ if ((APPLE) OR (${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))
2323
endif ()
2424
endif()
2525

26-
set (BUILD_CONFIGURATION -c $<IF:$<CONFIG:Debug>,Debug,Release>)
26+
set (BUILD_CONFIGURATION $<IF:$<CONFIG:Debug>,Debug,Release>)
2727
if (APPLE)
28-
set (RUNTIME_IDENTIFIER -r $<IF:$<BOOL:${MACOSX_ARCHITECTURE_ARM64}>,osx-arm64,osx-x64>)
28+
set (RUNTIME_IDENTIFIER $<IF:$<BOOL:${MACOSX_ARCHITECTURE_ARM64}>,osx-arm64,osx-x64>)
2929
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
30-
set (RUNTIME_IDENTIFIER -r win-x64)
30+
set (RUNTIME_IDENTIFIER win-x64)
31+
elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
32+
set (RUNTIME_IDENTIFIER linux-x64)
3133
endif ()
3234

3335
set (CUSTOM_TARGET_NAME ${CSPROJ})
@@ -38,7 +40,9 @@ add_custom_target (${CUSTOM_TARGET_NAME} ALL)
3840

3941
add_custom_command (TARGET ${CUSTOM_TARGET_NAME} POST_BUILD
4042
COMMENT "Building and Publishing Panzerfaust"
41-
COMMAND dotnet build ${CSPROJ_SOURCE_FILE} ${RUNTIME_IDENTIFIER} ${BUILD_CONFIGURATION} -v n
42-
COMMAND dotnet publish ${CSPROJ_SOURCE_FILE} ${RUNTIME_IDENTIFIER} ${BUILD_CONFIGURATION} -o ../bin/
43+
COMMAND dotnet build ${CSPROJ_SOURCE_FILE} -r ${RUNTIME_IDENTIFIER} -c ${BUILD_CONFIGURATION} -v n
44+
COMMAND dotnet publish ${CSPROJ_SOURCE_FILE} -r ${RUNTIME_IDENTIFIER} -c ${BUILD_CONFIGURATION} -o bin
4345
VERBATIM
4446
)
47+
48+
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin DESTINATION ${CMAKE_INSTALL_PREFIX})

Tetragrama/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@ target_compile_definitions(${TARGET_NAME}
5454

5555
target_link_libraries(${TARGET_NAME} PUBLIC zEngineLib)
5656

57-
#install(TARGETS ${TARGET_NAME} EXPORT ${TARGET_NAME}Targets)

ZEngine/ZEngine/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,3 @@ endif()
7676
if (${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
7777
target_link_libraries(zEngineLib PUBLIC stdc++fs)
7878
endif ()
79-
80-
#install(TARGETS zEngineLib EXPORT zEngineTargets)

dependencies.cmake

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ FetchContent_Declare(
7474
FetchContent_Declare(
7575
spirv_cross_core
7676
GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Cross.git
77-
GIT_TAG vulkan-sdk-1.3.290.0
77+
GIT_TAG vulkan-sdk-1.3.296.0
7878
GIT_SHALLOW TRUE
7979
)
8080

@@ -89,7 +89,7 @@ FetchContent_Declare(
8989
SPIRV-Headers
9090
GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Headers.git
9191
GIT_SHALLOW TRUE
92-
GIT_TAG vulkan-sdk-1.3.290.0
92+
GIT_TAG vulkan-sdk-1.3.296.0
9393
)
9494

9595
FetchContent_Declare(
@@ -106,7 +106,7 @@ FetchContent_Declare(
106106
SPIRV-Tools
107107
GIT_REPOSITORY https://github.com/KhronosGroup/SPIRV-Tools.git
108108
GIT_SHALLOW TRUE
109-
GIT_TAG vulkan-sdk-1.3.290.0
109+
GIT_TAG vulkan-sdk-1.3.296.0
110110
)
111111

112112

@@ -153,13 +153,13 @@ Fetchcontent_Declare(
153153
FetchContent_Declare(Vulkan-Headers
154154
GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Headers
155155
GIT_SHALLOW TRUE
156-
GIT_TAG vulkan-sdk-1.3.290.0
156+
GIT_TAG vulkan-sdk-1.3.296.0
157157
)
158158

159159
FetchContent_Declare(Vulkan-Loader
160160
GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Loader
161161
GIT_SHALLOW TRUE
162-
GIT_TAG vulkan-sdk-1.3.290.0
162+
GIT_TAG vulkan-sdk-1.3.296.0
163163
)
164164

165165

0 commit comments

Comments
 (0)