CMake-codecov
CMake module for code coverage
File Explorer
Download Latest Version (.zip)- ci.yml
- Findcodecov.cmake
- FindGcov.cmake
- FindLcov.cmake
- llvm-cov-wrapper
- bar.c
- CMakeLists.txt
- CMakeLists.txt
- hello.f
- bar.c
- CMakeLists.txt
- foo.c
- foo.h
- CMakeLists.txt
- header.h
- CMakeLists.txt
- CMakeLists.txt
- LICENSE
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/RWTH-HPC/CMake-codecov
Downloads the entire project code from GitHub to your computer.
cd CMake-codecov
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
git submodule add git://github.com/RWTH-HPC/CMake-codecov.git externals/CMake-codecov
Type this command into your terminal and run it.
If you don't use git or dislike submodules you can copy the [Findcodecov.cmake](cmake/Findcodecov.cmake), [FindGcov.cmake](cmake/FindGcov.cmake) and [FindLcov.cmake](cmake/FindLcov.cmake) files into your repository. *Be careful when there are version updates of this repository!*
Type this command into your terminal and run it.
Next you have to include the codecov package. This can be done in your root CMake file, or in the file where your targets will be defined:
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
