File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/reactions/bulkGeneric Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,17 @@ macro(hpcReact_add_code_checks)
4141 --suppress=noExplicitConstructor
4242 --suppress=unusedFunction
4343 --suppress=constStatement
44- --suppress=unusedStructMember )
44+ --suppress=unusedStructMember
45+ -I../hpcReact/src )
4546
46- if ( ENABLE_UNCRUSTIFY )
47+ if ( UNCRUSTIFY_FOUND )
4748 blt_add_code_checks( PREFIX ${arg_PREFIX}
4849 SOURCES ${_sources}
4950 UNCRUSTIFY_CFG_FILE ${PROJECT_SOURCE_DIR} /src/uncrustify.cfg
5051 CPPCHECK_FLAGS ${CPPCHECK_FLAGS}
5152 )
5253 add_test ( NAME testUncrustifyCheck
53- COMMAND sh -c "${CMAKE_MAKE_PROGRAM} uncrustify_check 2> >(tee uncrustify.err) >/dev/null && exit $(cat uncrustify.err | wc -l)"
54+ COMMAND bash -c "${CMAKE_MAKE_PROGRAM} uncrustify_check 2> >(tee uncrustify.err) >/dev/null && exit $(cat uncrustify.err | wc -l)"
5455 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} )
5556 endif ()
5657
Original file line number Diff line number Diff line change 1+
12#pragma once
23
34#include " common/constants.hpp"
45#include " common/CArrayWrapper.hpp"
6+ #include " common/macros.hpp"
57
68#include < stdexcept>
79#include < string>
You can’t perform that action at this time.
0 commit comments