TRILABS-135 Add clang analyzers
This commit is contained in:
@@ -50,6 +50,17 @@ if (SITE_BUILDNAME_SUFFIX)
|
||||
endif ()
|
||||
set (BUILD_OPTIONS "${ADD_BUILD_OPTIONS} -DSITE:STRING=${CTEST_SITE} -DBUILDNAME:STRING=${CTEST_BUILD_NAME}")
|
||||
|
||||
# Launchers work only with Makefile and Ninja generators.
|
||||
if(NOT "${CTEST_CMAKE_GENERATOR}" MATCHES "Make|Ninja")
|
||||
set(CTEST_USE_LAUNCHERS 0)
|
||||
set(ENV{CTEST_USE_LAUNCHERS_DEFAULT} 0)
|
||||
set(BUILD_OPTIONS "${BUILD_OPTIONS} -DCTEST_USE_LAUNCHERS:BOOL=OFF")
|
||||
else()
|
||||
set(CTEST_USE_LAUNCHERS 1)
|
||||
set(ENV{CTEST_USE_LAUNCHERS_DEFAULT} 1)
|
||||
set(BUILD_OPTIONS "${BUILD_OPTIONS} -DCTEST_USE_LAUNCHERS:BOOL=ON")
|
||||
endif()
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# MAC machines need special option
|
||||
#-----------------------------------------------------------------------------
|
||||
@@ -219,9 +230,6 @@ else ()
|
||||
)
|
||||
endif ()
|
||||
|
||||
set(CTEST_USE_LAUNCHERS 1)
|
||||
set(ENV{CTEST_USE_LAUNCHERS_DEFAULT} 1)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
## -- set output to english
|
||||
set ($ENV{LC_MESSAGES} "en_EN")
|
||||
|
||||
Reference in New Issue
Block a user