38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
id: "com.vscodium.codium.tool.cpplibs"
|
|
build-extension: true
|
|
branch: "21.08"
|
|
|
|
runtime: com.vscodium.codium
|
|
sdk: org.freedesktop.Sdk//21.08
|
|
runtime-version: stable
|
|
|
|
separate-locales: false
|
|
build-options:
|
|
prefix: /app/tools/cpplibs
|
|
env:
|
|
- SOURCE_DATE_EPOCH=1
|
|
|
|
modules:
|
|
- name: catch2
|
|
sources:
|
|
- type: git
|
|
url: https://github.com/catchorg/Catch2.git
|
|
tag: v2.13.8
|
|
commit: 216713a4066b79d9803d374f261ccb30c0fb451f
|
|
buildsystem: cmake-ninja
|
|
builddir: true
|
|
config-opts:
|
|
- -DCMAKE_INSTALL_PREFIX=/app/tools/cpplibs
|
|
- name: boost
|
|
sources:
|
|
- type: git
|
|
url: https://github.com/boostorg/boost.git
|
|
tag: boost-1.78.0
|
|
commit: a07c63c9e56f4d3b5bc904e25a7ad6f900728dbf
|
|
buildsystem: cmake-ninja
|
|
- name: fixes
|
|
buildsystem: simple
|
|
build-commands:
|
|
- find /app/tools/cpplibs -type f | xargs -I{} strip -g {} || true
|
|
- cd /app/tools/cpplibs && if [ -d "share/pkgconfig" ]; then mv share/pkgconfig lib/pkgconfig; else exit 1; fi
|