4
# GCOVR_EXECUTABLE - the gcovr script
8
# GCOVR_ROOT - root to search for the script
10
# Copyright (C) 2011 by Johannes Wienke <jwienke at techfak dot uni-bielefeld dot de>
12
# This program is free software; you can redistribute it
13
# and/or modify it under the terms of the GNU General
14
# Public License as published by the Free Software Foundation;
15
# either version 2, or (at your option)
18
# This program is distributed in the hope that it will be useful,
19
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
# GNU General Public License for more details.
24
INCLUDE(FindPackageHandleStandardArgs)
26
FIND_PROGRAM(GCOVR_EXECUTABLE gcovr HINTS ${GCOVR_ROOT} "${GCOVR_ROOT}/bin")
28
FIND_PACKAGE_HANDLE_STANDARD_ARGS(gcovr DEFAULT_MSG GCOVR_EXECUTABLE)
30
# only visible in advanced view
31
MARK_AS_ADVANCED(GCOVR_EXECUTABLE)