Skip to content

Commit

Permalink
WIP: Use vku with vcpkg overlays.
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe2933 committed Jul 21, 2024
1 parent d6a79ef commit 96bed34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
-DCMAKE_CXX_COMPILER="/usr/bin/clang++-18" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_TOOLCHAIN_FILE="$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake" \
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=".github/workflows/x64-linux-clang.cmake" \
-DCMAKE_CXX_FLAGS="-stdlib=libc++" \
-DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++ -lc++abi"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/x64-linux-clang.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
set(CMAKE_C_COMPILER /usr/bin/clang-18)
set(CMAKE_CXX_COMPILER /usr/bin/clang++-18)
1 change: 1 addition & 0 deletions overlays/vku/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"name" : "vcpkg-cmake-config",
"host" : true
},
"vulkan-memory-allocator",
"vulkan-memory-allocator-hpp"
]
}

0 comments on commit 96bed34

Please sign in to comment.