mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
chore: vscode settings should now be dynamically created and used in gitpod
This commit is contained in:
14
.gitpod.yml
14
.gitpod.yml
@@ -2,6 +2,20 @@ image: trainiteu/gitpod-cpp
|
|||||||
|
|
||||||
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
|
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
|
||||||
tasks:
|
tasks:
|
||||||
|
- name: vscode settings
|
||||||
|
init: |
|
||||||
|
mkdir -p "$PWD/.vscode";
|
||||||
|
cat << 'EOF' > "$PWD/.vscode/settings.json"
|
||||||
|
{
|
||||||
|
"cmake.buildDirectory": "${workspaceFolder}/build/${buildKitVendor}-${buildKitVersionMajor}",
|
||||||
|
"cmake.configureArgs": [
|
||||||
|
"-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake"
|
||||||
|
],
|
||||||
|
"cmake.generator": "Ninja Multi-Config"
|
||||||
|
}
|
||||||
|
|
||||||
|
EOF
|
||||||
|
exit
|
||||||
- name: conan
|
- name: conan
|
||||||
before: |
|
before: |
|
||||||
sudo pip3 install -U conan
|
sudo pip3 install -U conan
|
||||||
|
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"cmake.buildDirectory": "${workspaceFolder}/build/${buildKitVendor}-${buildKitVersionMajor}",
|
|
||||||
"cmake.configureArgs": [
|
|
||||||
"-DCMAKE_TOOLCHAIN_FILE=conan_toolchain.cmake"
|
|
||||||
],
|
|
||||||
"cmake.generator": "Ninja Multi-Config"
|
|
||||||
}
|
|
Reference in New Issue
Block a user