mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
git: Enable ccache for snap builds
This commit is contained in:
4
dist/snap/snapcraft.yaml
vendored
4
dist/snap/snapcraft.yaml
vendored
@@ -37,12 +37,16 @@ parts:
|
||||
build-environment:
|
||||
- CC: /usr/bin/gcc-14
|
||||
- CXX: /usr/bin/g++-14
|
||||
- CCACHE_DIR: "$CRAFT_PROJECT_DIR/../ccache"
|
||||
cmake-parameters:
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_C_COMPILER_LAUNCHER=/usr/bin/ccache
|
||||
- -DCMAKE_CXX_COMPILER_LAUNCHER=/usr/bin/ccache
|
||||
cmake-generator: Ninja
|
||||
build-packages:
|
||||
- cmake
|
||||
- ninja-build
|
||||
- ccache
|
||||
- gcc-14
|
||||
- g++-14
|
||||
- git
|
||||
|
||||
Reference in New Issue
Block a user