Debian Codegraph @

cmake/FindLcov.cmake

raw
1 # - Find lcov
2 # Will define:
3 #
4 # LCOV_EXECUTABLE - the lcov binary
5 # GENHTML_EXECUTABLE - the genhtml executable
6 #
7 # Copyright (C) 2010 by Johannes Wienke <jwienke at techfak dot uni-bielefeld dot de>
8 #
9 # This program is free software; you can redistribute it
10 # and/or modify it under the terms of the GNU General
11 # Public License as published by the Free Software Foundation;
12 # either version 2, or (at your option)
13 # any later version.
14 #
15 # This program is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU General Public License for more details.
19 #
20
21 INCLUDE(FindPackageHandleStandardArgs)
22
23 FIND_PROGRAM(LCOV_EXECUTABLE lcov)
24 FIND_PROGRAM(GENHTML_EXECUTABLE genhtml)
25
26 FIND_PACKAGE_HANDLE_STANDARD_ARGS(Lcov DEFAULT_MSG LCOV_EXECUTABLE GENHTML_EXECUTABLE)
27
28 # only visible in advanced view
29 MARK_AS_ADVANCED(LCOV_EXECUTABLE GENHTML_EXECUTABLE)