mirror of
https://github.com/ttroy50/cmake-examples.git
synced 2025-12-19 04:34:36 +03:00
spelling fixes
This commit is contained in:
@@ -23,7 +23,7 @@ macro(add_analysis _target _sources)
|
||||
set(ALL_ANALYSIS_TARGETS "${ALL_ANALYSIS_TARGETS}" PARENT_SCOPE)
|
||||
|
||||
# This is used to make the command run correctly on the command line.
|
||||
# The COMMAND argumetn expects a list and this does the change
|
||||
# The COMMAND argument expects a list and this does the change
|
||||
# I need to check which version works with 2.7
|
||||
if (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VESION} GREATER 2.7)
|
||||
separate_arguments(tmp_args UNIX_COMMAND ${CPPCHECK_ARG})
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
find_program(CPPCHECK_BIN NAMES cppcheck)
|
||||
|
||||
#
|
||||
# Arugments are
|
||||
# Arguments are
|
||||
# -j use multiple threads (and thread count)
|
||||
# --quite only show errors / warnings etc
|
||||
# --error-exitcode The code to exit with if an error shows up
|
||||
# --enabled Comman seperated list of the check types. Can include warning,performance,style
|
||||
# --enabled Comma separated list of the check types. Can include warning,performance,style
|
||||
# Note nightly build on earth changes error-exitcode to 0
|
||||
set (CPPCHECK_THREADS "-j 4" CACHE STRING "The -j argument to have cppcheck use multiple threads / cores")
|
||||
|
||||
@@ -34,4 +34,4 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS(
|
||||
mark_as_advanced(
|
||||
CPPCHECK_BIN
|
||||
CPPCHECK_THREADS
|
||||
CPPCHECK_ARG)
|
||||
CPPCHECK_ARG)
|
||||
|
||||
Reference in New Issue
Block a user