Forked from
Eclipse Projects / Eclipse openpass / opSimulation
1599 commits behind the upstream repository.
-
New cmake-options: - "-D WITH_COVERAGE=ON" to activate, - "-D COVERAGE_EXCLUDES=/usr/;..." for filtering Adds dependencies on: - fastcov, gcov, genhtml - Necessary Find*.cmake packages provided and conditionally activated This option adds two consecutive test targets to each test: - <test>_coverage - <test>_html Build: - "ctest" to generate and run tests and generate html coverage report - Then look for <test_bin_root>/html/index.html Signed-off-by:
Rene Paris <rene.paris@in-tech.com> Signed-off-by:
Reinhard Biegel <reinhard.biegel@in-tech.com>
New cmake-options: - "-D WITH_COVERAGE=ON" to activate, - "-D COVERAGE_EXCLUDES=/usr/;..." for filtering Adds dependencies on: - fastcov, gcov, genhtml - Necessary Find*.cmake packages provided and conditionally activated This option adds two consecutive test targets to each test: - <test>_coverage - <test>_html Build: - "ctest" to generate and run tests and generate html coverage report - Then look for <test_bin_root>/html/index.html Signed-off-by:
Rene Paris <rene.paris@in-tech.com> Signed-off-by:
Reinhard Biegel <reinhard.biegel@in-tech.com>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
FindGenhtml.cmake 742 B
################################################################################
# Copyright (c) 2021 in-tech GmbH
#
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
################################################################################
#
# Find Package Adapter for "Genhtml"
#
# - GENHTML_EXECUTABLE: The executable
# - GENHTML_FOUND: True if genhtml was found
#
include(FindPackageHandleStandardArgs)
find_program(GENHTML_EXECUTABLE NAMES genhtml genhtml.perl genhtml.bat )
find_package_handle_standard_args(Genhtml "Unable to locate genhtml" GENHTML_EXECUTABLE)