cmake-modules icon indicating copy to clipboard operation
cmake-modules copied to clipboard

Additional CMake functionality. Most of the modules are from Ryan Pavlik (https://github.com/rpavlik/cmake-modules)

Results 30 cmake-modules issues
Sort by recently updated
recently updated
newest added

When `set(GCOV_PATH "path to my desired gcov executable")` this path won't be used by `gcovr`. It will instead use whatever `gcov` it finds in the system (if it does).

I have tried gcovr 3.2/4.8/5.1. And I use this CMake to use gcovr in my project. but when i execute 'make coverage' command. It always give below error back: C:\Downloads\gcovr-3.2\gcovr...

Hi, first of all thanks a lot for your work. It spares me a lot of time! I'm using the CodeCoverage.cmake script and it works very well but the message...

This is a tiny feature request :) It would be real handy if there is support for an `INCLUDE` argument to `setup_target_for_coverage_*`. It becomes a bit annoying if I have...

Hi there and thanks for this amazing repo! I was trying to cleanup my coverage workflow and tried to replace `append_coverage_compiler_flags` with `append_coverage_compiler_flags_to_target`. Two problems came across: 1. I needed...

When using `gcov` with a project built using Clang, `gcov` is unable to parse the .gcno files, giving the error: `version '402*', prefer 'A92*'`. This seems to be because `llvm-cov`...

Hello, ```md # Folder structure . |-- src/ |-- test/ |-- testmodules/ |-- CMakeLists.txt ``` ```cmake setup_target_for_coverage_gcovr_html( NAME ${PROJECT_NAME}_coverage_html EXECUTABLE ${PROJECT_NAME} --gtest_output=xml:report.xml BASE_DIRECTORY ${CMAKE_SOURCE_DIR} EXCLUDE "test/*") ``` In the above...

I manually modified CodeCoverage.cmake to include: `function(setup_target_for_coverage_gcovr_sonar) set(options NONE) set(oneValueArgs BASE_DIRECTORY NAME) set(multiValueArgs EXCLUDE EXECUTABLE EXECUTABLE_ARGS DEPENDENCIES) cmake_parse_arguments(Coverage "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) if(NOT GCOVR_PATH) message(FATAL_ERROR "gcovr not found! Aborting...") endif()...

# Error ``` error: unknown argument: '-fprofile-abs-path' [clang-diagnostic-error] ``` # Environment: ```sh $ clang-11 --version Debian clang version 11.0.1-2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin ``` ```sh $ g++...

I was trying to follow the usage instructions in CodeCoverage.cmake ; but when I loaded the module, I got a notice about the compiler not being GCC and "Aborting...". Yet,...