diff options
-rw-r--r-- | .gitpod.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitpod.yml b/.gitpod.yml index 536301d5..9196bc6a 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -3,13 +3,14 @@ tasks: env: VCPKG_INSTALLATION_ROOT: /opt/vcpkg init: | - sudo apt-get install ninja-build + brew install ninja git clone https://github.com/Microsoft/vcpkg.git /tmp/vcpkg /tmp/vcpkg/bootstrap-vcpkg.sh /tmp/vcpkg/vcpkg install + cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -H. -B./build -G Ninja + ln -s build/compile_commands.json compile_commands.json vscode: extensions: - "llvm-vs-code-extensions.vscode-clangd" - - "ms-vscode.cmake-tools" - "wayou.vscode-todo-highlight" |