From 408031aae07dd2c32520e48774c66aebc1ad681a Mon Sep 17 00:00:00 2001 From: Ugo Pattacini Date: Mon, 30 Dec 2024 16:18:58 +0100 Subject: [PATCH] added devcontainer --- .devcontainer/devcontainer.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..1ef3dd771 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": "CDE for robots-configuration", + "image": "ghcr.io/robotology/robots-configuration:latest", + "remoteUser": "gitpod", + "customizations": { + "vscode": { + "settings": { + "terminal.integrated.shell.linux": "/bin/bash" + } + } + }, + "postAttachCommand": [ + "mkdir -p build && cd build", + "cmake .. -DCMAKE_PREFIX_PATH=${DEPENDENCIES_DIR}/install -DCMAKE_INSTALL_PREFIX=${DEPENDENCIES_DIR}/install -DBUILD_TESTING:BOOL=ON -DINSTALL_ALL_ROBOTS:BOOL=ON", + "cmake --build . --config Release --target install" + ] +}