From ba4b020f0f23f8f902025f6c686710075ac8a710 Mon Sep 17 00:00:00 2001 From: Dmitry Romanov <romanovda@gmail.com> Date: Thu, 8 Jul 2021 02:48:55 -0400 Subject: [PATCH] CMake kit by default, project dockerfile --- .devcontainer/Dockerfile | 5 +++++ .vscode/cmake-kits.json | 9 +++++++++ README.md | 5 ++++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .vscode/cmake-kits.json diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index bbaba4f..0bb483a 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1 +1,6 @@ FROM eicweb/jug_xl:3.0-stable + +# athena and ip6 +# ENV LD_LIBRARY_PATH="/workspaces/vscode_athena/lib:${LD_LIBRARY_PATH}" +ENV DD4HEP_LIBRARY_PATH="/workspaces/vscode_athena/lib:${DD4HEP_LIBRARY_PATH}" +ENV ATHENA_PREFIX="/workspaces/vscode_athena" \ No newline at end of file diff --git a/.vscode/cmake-kits.json b/.vscode/cmake-kits.json new file mode 100644 index 0000000..b61e7b0 --- /dev/null +++ b/.vscode/cmake-kits.json @@ -0,0 +1,9 @@ +[ + { + "name": "GCC 10.2.1 x86_64-linux-gnu", + "compilers": { + "C": "/usr/bin/x86_64-linux-gnu-gcc-10", + "CXX": "/usr/bin/x86_64-linux-gnu-g++-10" + } + } +] diff --git a/README.md b/README.md index e7540a4..11445f0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # vscode_athena + + Tutorial and a boilerplate of how to develop Athena detector using VSCode and Juggler container  @@ -12,4 +14,5 @@ ln -s ../ip6/ip6 athena/ip6 [Git submodules documentation](https://git-scm.com/book/en/v2/Git-Tools-Submodules) -[VSCode documentation on container development](https://code.visualstudio.com/docs/remote/create-dev-container) \ No newline at end of file +[VSCode documentation on container development](https://code.visualstudio.com/docs/remote/create-dev-container) + -- GitLab