Comments (1)
The solution you posted unfortunately doesn't seem to work for me (with clang). Maybe I just did it wrong. What helped me was to "kind of" disable clang-tidy on those files, more or less like it was done here: Kitware/CMake@b13bc86
For example:
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/[project_name]_autogen/.clang-tidy" "
---
Checks: '-*,llvm-twine-local'
...
")
It works until cppcheck or other checks come in, though. (still trying to figure it out). Probably a similar approach/solution will work.
EDIT: For cppcheck I had to do the following:
- Create a file in the project root, e.g., "cppcheck-suppressions.txt":
*:*_autogen/*
- Add this property:
dynamic_project_options(
....
CPPCHECK_OPTIONS "--suppressions-list=${PROJECT_SOURCE_DIR}/cppcheck-suppressions.txt"
)
and it skipped all the files in the build/*/*_autogen/
folders.
from gui_starter_template.
Related Issues (20)
- CI fails with "Detected a mismatch for the compiler version between your conan profile"
- Failure upon building the project on OSX HOT 3
- Showing up as the smaller cpp_boilerplate_project HOT 2
- Builds fail for CMake < 3.18 HOT 5
- publish docker image HOT 3
- Regex broken in clang format HOT 4
- build error on OSX HOT 1
- conan install fails due to zlib version conflict HOT 1
- PROJECT_IS_TOP_LEVEL in test/CMakeLists.txt is not set prior to CMake 3.21
- Env variables left in cache causes gcc-11 builds on ubuntu to fail HOT 5
- Doesn't work with openssl dependency HOT 5
- CI Failures on Ubuntu and Windows HOT 1
- Imgui examples.
- Doxygen was removed?
- Failing configuration with VS 2017
- why a template, want to clone to my machine HOT 1
- Conan error sdl/2.0.20
- Error with CLI library
- How to change LSAN variables HOT 1
- Using static constexpr in header file leads to duplication of data.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gui_starter_template.