mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-13 10:52:56 +01:00
Problem: unused variable warnings for values only used in asserts
Solution: use a Debug build for analysis
This commit is contained in:
parent
3cb4754602
commit
67b602fe76
@ -51,6 +51,7 @@ CMAKE_PREFIXES=()
|
||||
MAKE_PREFIXES=()
|
||||
PARALLEL_MAKE_OPT="-j5"
|
||||
if [ -n "$CLANG_TIDY" ] ; then
|
||||
CMAKE_OPTS+=("-DCMAKE_BUILD_TYPE=Debug") # do a debug build to avoid unused variable warnings with assertions, and to speed up build
|
||||
CMAKE_OPTS+=("-DCMAKE_CXX_CLANG_TIDY:STRING=${CLANG_TIDY}")
|
||||
if [ -n ${SONARCLOUD_BUILD_WRAPPER_PATH} ] ; then
|
||||
MAKE_PREFIXES+=("${SONARCLOUD_BUILD_WRAPPER_PATH}build-wrapper-linux-x86-64")
|
||||
|
Loading…
Reference in New Issue
Block a user