diff --git a/.gitea/workflows/DependencyMirrors.txt b/.gitea/workflows/DependencyMirrors.txt new file mode 100644 index 0000000..215e5a5 --- /dev/null +++ b/.gitea/workflows/DependencyMirrors.txt @@ -0,0 +1,22 @@ +ASSIMP_REPO=https://git.madvoxel.net/Mirrors/assimp.git +EIGEN_REPO=https://git.madvoxel.net/Mirrors/eigen.git +FMT_REPO=https://git.madvoxel.net/Mirrors/fmt.git +FTXUI_REPO=https://git.madvoxel.net/Mirrors/ftxui.git +GLFW_REPO=https://git.madvoxel.net/Mirrors/glfw.git +IMGUI_REPO=https://git.madvoxel.net/Mirrors/imgui.git +GLM_REPO=https://git.madvoxel.net/Mirrors/glm.git +ZLIB_REPO=https://git.madvoxel.net/Mirrors/zlib.git +ZSTD_REPO=https://git.madvoxel.net/Mirrors/zstd.git +LZ4_REPO=https://git.madvoxel.net/Mirrors/lz4.git +LIBARCHIVE_REPO=https://git.madvoxel.net/Mirrors/libarchive.git +LIBJPEGTURBO_REPO=https://git.madvoxel.net/Mirrors/libjpeg-turbo.git +LIBSTUD_REPO=https://git.madvoxel.net/Mirrors/libstud-uuid.git +OPENCV_REPO=https://git.madvoxel.net/Mirrors/opencv.git +MAGICENUM_REPO=https://git.madvoxel.net/Mirrors/magic_enum.git +SPDLOG_REPO=https://git.madvoxel.net/Mirrors/spdlog.git +RAPIDYAML_REPO=https://git.madvoxel.net/Mirrors/rapidyaml.git +PUGIXML_REPO=https://git.madvoxel.net/Mirrors/pugixml.git +YAMLCPP_REPO=https://git.madvoxel.net/Mirrors/yaml-cpp.git +UTFCPP_REPO=https://git.madvoxel.net/Mirrors/utfcpp.git +TRACY_REPO=https://git.madvoxel.net/Mirrors/tracy.git +STB_REPO=https://git.madvoxel.net/Mirrors/stb.git \ No newline at end of file diff --git a/.gitea/workflows/build_pc.yml b/.gitea/workflows/build_pc.yml index 341dba7..7689441 100644 --- a/.gitea/workflows/build_pc.yml +++ b/.gitea/workflows/build_pc.yml @@ -44,6 +44,8 @@ jobs: - name: Install Dev Packages if: matrix.config.os == 'ubuntu-latest' run: sudo apt update && sudo apt install -y extra-cmake-modules libwayland-dev libxkbcommon-dev xorg-dev libarchive-dev libassimp-dev ninja-build + - name: Install repo mirror list + run: cp ${{github.workspace}}/ - name: Configure CMake run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - name: Build diff --git a/CMakeLists.txt b/CMakeLists.txt index c574bbe..29f607e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,8 +6,10 @@ include(cmake/VarsFromFile.cmake) include(cmake/SetCompilerSettings.cmake) include(cmake/SetupVulkan.cmake) include(cmake/Filter.cmake) +include(OpenVulkano/cmake/AppleHelper.cmake) -VarsFromFile("DependencyMirrors.txt") # Load mirror list (for CICD) +set(DEPENDENCY_MIRROR_FILE "DependencyMirrors.txt" CACHE STRING "Dependency mirror") +VarsFromFile("${DEPENDENCY_MIRROR_FILE}") # Load mirror list (for CICD) set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)