cmake-modules
cmake-modules copied to clipboard
Additional CMake functionality. Most of the modules are from Ryan Pavlik (https://github.com/rpavlik/cmake-modules)
Hello, thank you for providing great cmake modules! I had the problem when using **setup_target_for_coverage_lcov** such that the excludes where always based on the base path. I was getting coverage...
Hello, I have a problem defining the BASE_DIRECTORY in CodeCoverage.cmake: https://github.com/bilke/cmake-modules/blob/0503702f2ef733aa8f6a0c2015db89b085c5ac57/CodeCoverage.cmake#L212 I think if(${Coverage_BASE_DIRECTORY}) evaluates wrongly, probably should be without the parenthesis. Here I attache a small test: ``` project(Test)...
Using [this version of CodeCoverage.cmake](https://github.com/bilke/cmake-modules/blob/66fa2579d36f30cdab93d1dbd4c3d682a25ae5f3/CodeCoverage.cmake). I wanted to use CodeCoverage.cmake to extract test coverage information in a context where I have a main test executable but want coverage for a...
My project builds fine but when I include `CodeCoverage.cmake` I get warnings issued from googletest. ``` set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) include(CodeCoverage) ``` Causes the warning to be issued: ``` CMake Warning (dev)...
Is there a way to aggregate the results of the coverage analysis? That is, it looks like CodeCoverage.cmake is a per-target (one per add_test()?) function. Say I have 10 subdirectories...
As stated in the script: ``` # NOTE! This should always have a ZERO as exit code # otherwise the coverage generation will not complete. ``` However, the recommended way...
I've been using CodeCoverage.cmake and lcov for a while. I noticed that patterns to excluded were handled well, whereas patterns to extracted are not supported yet. I believe the lcov...
Hi I used the CodeCoverage.cmake, my project folder structure is something like this src/ application1/ app1.c app1.h application2/ app2.c app2.h test/ application1/ app1_test.cpp build/ cmakeList.txt I used CodeCoverage module as...
Hi, I'm trying to use CMakeCoverage.cmake together with Boost Unit test framework. I have several test modules and I'd like to aggregate the results, as described in #8. So, I've...
i suggest changing line 86 from elseif(NOT CMAKE_COMPILER_IS_GNUCXX) to elseif(NOT CMAKE_COMPILER_IS_GNUCXX AND NOT CMAKE_COMPILER_IS_GNUCC) This enables using CodeCoverage.cmake in a gcc build environment (without a working g++)