diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 000000000..09505236f --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,31 @@ +{ + "name": "Existing Dockerfile", + "build": { + "context": "..", + "dockerfile": "../Dockerfile.gcc13" + }, + "customizations": { + "vscode": { + "extensions": [ + "twxs.cmake", + "ms-vscode.cmake-tools", + "ms-vscode.cpptools", + "ms-vscode.cpptools-extension-pack", + "jbenden.c-cpp-flylint", + "matepek.vscode-catch2-test-adapter", + "piotrkosek.vscode-gtest-test-adapter-with-code-lens", + "derivitec-ltd.cmake-test-adapter", + "fredericbonnet.cmake-test-adapter", + "streetsidesoftware.code-spell-checker" + ] + } + }, + "features": { + "ghcr.io/devcontainers/features/git:1": {} + } + // "features": {}, + // "forwardPorts": [], + // "postCreateCommand": "cat /etc/os-release", + // "customizations": {}, + // "remoteUser": "devcontainer" +} \ No newline at end of file diff --git a/.gitignore b/.gitignore index ce821e9d7..ac2c42e8d 100644 --- a/.gitignore +++ b/.gitignore @@ -49,8 +49,8 @@ src/modules/location/.DS_Store html/ latex/ - CMakeSettings.json - .vs/ - out/ - build-linux-gxx - build-linux-clang +CMakeSettings.json +.vs/ +out/ +build-linux-gxx +build-linux-clang diff --git a/Dockerfile.gcc13 b/Dockerfile.gcc13 new file mode 100644 index 000000000..1c3ff82d8 --- /dev/null +++ b/Dockerfile.gcc13 @@ -0,0 +1,8 @@ +FROM gcc:13.2 + +RUN apt update -y && \ + apt install -y cmake ninja-build && \ + ln -s /usr/local/bin/g++ /usr/bin/g++-13 && \ + rm -rf /var/lib/apt/lists/* + +ENTRYPOINT [ "bash" ] \ No newline at end of file