Commit eaad52e2 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[FIX] - removed unnecessary numCores dependency of stylechecker target. Was...

[FIX] - removed unnecessary numCores dependency of stylechecker target. Was not used anymore since refactoring the cmake files.
parent 447c52a8
......@@ -358,7 +358,7 @@ ADD_CUSTOM_TARGET( doc
# ---------------------------------------------------------------------------------------------------------------------------------------------------
# SETUP_STYLECHECKER adds targets for each lib which then add theirself to this target
ADD_CUSTOM_TARGET( stylecheck DEPENDS numCores )
ADD_CUSTOM_TARGET( stylecheck )
# ---------------------------------------------------------------------------------------------------------------------------------------------------
#
......
......@@ -236,7 +236,6 @@ FUNCTION( SETUP_STYLECHECKER _TargetName _CheckFiles _Excludes )
# add a new target for this lib
ADD_CUSTOM_TARGET( stylecheck_${_TargetName}
COMMAND cat ${BrainLinterListFile} | xargs ${XARGS_OPTIONS} ${PROJECT_SOURCE_DIR}/../tools/style/brainlint/brainlint.py ${STYLECHECK_OPTIONS} 2>&1 | grep -iv 'Total errors found: 0$$' | cat
DEPENDS numCores
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Check if ${_TargetName} complies to CodingStandard"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment