cmake-scripts
cmake-scripts copied to clipboard
Easy-to-add enhancements for any C/C++ CMake project. Including AFL fuzzing, code-coverage, Thread/Address/Leak/Address/Undefined sanitizer instrumentation, compilation of GLSL shaders and more.
Problem for me was that e.g. calling `ccov-capture-TARGET` was doing much more than the name was telling, e.g. it was cleaning all coverage data collected until then. Also `ccov` was...
This set of workflows allows to test coverage and sanitizers. Helped to find regression (fixed in this commit) in the `example/all`. For now runs on `ubuntu-latest` only, tests agains `gcc`...
… is called. The main motivation for this change was laziness. If I need coverage for each and every target in my project I do not want to double every...
I am using `CPM` for managing dependencies in my project and since it is source-based (downloads the source and then builds it), `llvm-cov` finds and includes it in the code...
Is it possible to have code coverage reported on all targets? For example, if I run an executable with coverage I've noticed that only the compilation units in that executable...
I am using `cmake-scripts` through [CPM](https://github.com/cpm-cmake/CPM.cmake/), which accepts only tags (or semantic versioning tags, `v.X.Y.Z`) to specify which version of the project to retrieve. I wanted to use `tools.cmake` in...
I have another request. Besides `lcov` we're also using `gcovr` for some of our projects and we have our own script that generates the coverage report. For those projects I'm...
Hi. Running CMake with the Xcode generator seems to fails the compilation for Address sanitizer on macOS: ```bash ❯ cmake .. -G "Xcode" -DUSE_SANITIZER=Address -- The C compiler identification is...
Hi. When setting compiler options for sanitizers with `set_sanitizer_options(address DEFAULT -fno-omit-frame-pointer)`, this will fail on MSVC because the flag is not supported. I would suggest either using different defaults (we...