Skip to content

Commit

Permalink
Turn on compilation database for clang-tidy & simplify extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
0xg0nz0 committed Mar 9, 2024
1 parent 1713735 commit 83e5b51
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/devcontainers/cpp:1-ubuntu-22.04
# install basic tools
USER root
RUN apt-get update \
&& apt-get install autoconf autoconf-archive \
&& apt-get install autoconf autoconf-archive automake \
clang-format clang-tidy \
lcov doxygen graphviz -y --no-install-recommends \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 0 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"extensions": [
"GitHub.vscode-pull-request-github",
"eamodio.gitlens",
"exiasr.hadolint",
"demiaochen.clang-format-indent-4",
"donjayamanne.githistory",
"formulahendry.code-runner",
Expand All @@ -36,7 +35,6 @@
"ms-vscode.cpptools-extension-pack",
"stuart.unique-window-colors",
"styled-components.vscode-styled-components",
"timonwong.shellcheck",
"vscode-icons-team.vscode-icons",
"waderyan.gitblame"
]
Expand Down
1 change: 1 addition & 0 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"binaryDir": "${sourceDir}/build",
"generator": "Ninja",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
}
},
Expand Down

0 comments on commit 83e5b51

Please sign in to comment.