File: FindCppCheck.cmake

package info (click to toggle)
opm-common 2022.10%2Bds-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 78,468 kB
  • sloc: cpp: 164,554; python: 2,872; sh: 216; xml: 174; ansic: 149; pascal: 136; makefile: 12
file content (11 lines) | stat: -rw-r--r-- 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
# Find CppCheck.
#
# This module defines:
#  CPPCHECK_PROGRAM, the cppcheck executable.
#  CPPCHECK_FOUND, If false, do not try to use cppcheck.
#
find_program(CPPCHECK_PROGRAM NAMES cppcheck)

find_package_handle_standard_args(CppCheck DEFAULT_MSG CPPCHECK_PROGRAM)

mark_as_advanced(CPPCHECK_PROGRAM)