build: gitpod environment updated

This commit is contained in:
Mateusz Pusz
2024-02-02 20:34:23 +00:00
parent 1340088fb7
commit f132750160
7 changed files with 91 additions and 109 deletions

10
.gitpod/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM trainiteu/gitpod-cpp
# Add clang apt repositories
RUN lsb_rel=`lsb_release -cs` && \
sudo add-apt-repository "deb http://apt.llvm.org/${lsb_rel}/ llvm-toolchain-${lsb_rel}-16 main"
# Install older compilers supported by the project
RUN sudo install-packages \
g++-12 \
clang-16

View File

@@ -0,0 +1,2 @@
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
tools.cmake.cmake_layout:build_folder_vars=["settings.compiler", "settings.compiler.version", "settings.compiler.cppstd"]

View File

@@ -0,0 +1,11 @@
[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=16
os=Linux
[conf]
tools.build:compiler_executables={"c": "clang-16", "cpp": "clang++-16"}

View File

@@ -0,0 +1,11 @@
[settings]
arch=x86_64
build_type=Release
compiler=clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=17
os=Linux
[conf]
tools.build:compiler_executables={"c": "clang-17", "cpp": "clang++-17"}

View File

@@ -0,0 +1,11 @@
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++11
compiler.version=12
os=Linux
[conf]
tools.build:compiler_executables={"c": "gcc-12", "cpp": "g++-12"}

View File

@@ -0,0 +1,11 @@
[settings]
arch=x86_64
build_type=Release
compiler=gcc
compiler.cppstd=20
compiler.libcxx=libstdc++11
compiler.version=13
os=Linux
[conf]
tools.build:compiler_executables={"c": "gcc-13", "cpp": "g++-13"}