diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e89bb2a..8493a0c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: cmake-version: "3.25" - name: Configure CMake - run: cmake -B build -S . -DBUILD_TESTING=ON -DBUILD_DOCS=OFF -DENABLE-COVERAGE=ON + run: cmake -B build -S . -DBUILD_TESTING=ON -DBUILD_DOCS=OFF -DENABLE_COVERAGE=ON - name: Build run: cmake --build build diff --git a/CMakeLists.txt b/CMakeLists.txt index a7da95c..531d2e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ project( VERSION ${project_version}) option(BUILD_DOCS "Build documentation" OFF) +option(ENABLE_COVERAGE "Generate coverage report" OFF) include(FetchContent) include(CTest)