Commit 9bf12431 authored by jcfr's avatar jcfr
Browse files

COMP: Superbuild - Refine CTEST_CUSTOM_WARNING_EXCEPTION regular expression

Also removed extra comments

git-svn-id: http://svn.slicer.org/Slicer4/trunk@13580 3bd1e089-480b-0410-8dfb-8563597acbee
parent 3450bf09
......@@ -261,30 +261,11 @@ if (Slicer3_USE_KWWIDGETS AND Slicer3_USE_QT AND APPLE)
set(err "error: Slicer SuperBuild on Mac doesn't support Slicer3_USE_KWWIDGETS and Slicer3_USE_QT ON")
message(FATAL_ERROR "${err}")
endif()
#------------------------------------------------------------------------------
# List of external projects
#------------------------------------------------------------------------------
set(external_project_list tk tcl incrTcl iwidgets blt python clapack numpy scipy vtk CTK KWWidgets Insight BatchMake OpenIGTLink teem cmcurl slicer)
#------------------------------------------------------------------------------
# Configure the CTest custom file - Used to suppress external project configure/build warnings
#------------------------------------------------------------------------------
# Project that should report warning
#set(report_warning_projects slicer CTK)
# Generate custom warning exception
#set(external_project_to_exclude ${external_project_list})
#list(REMOVE_ITEM external_project_to_exclude ${report_warning_projects})
#set(AUTOGENERATED_CUSTOM_WARNING_EXCEPTION "\n \# The following exception have been auto-generated")
#foreach(ep ${external_project_to_exclude})
# set(AUTOGENERATED_CUSTOM_WARNING_EXCEPTION
# "${AUTOGENERATED_CUSTOM_WARNING_EXCEPTION}\n \"${ep}.\"")
#endforeach()
configure_file(
${CMAKE_CURRENT_SOURCE_DIR}/../SuperBuild/CTestCustom.cmake.in
${Slicer3_BINARY_DIR}/CTestCustom.cmake
......@@ -394,6 +375,12 @@ if(Slicer3_USE_PYTHON OR Slicer3_USE_PYTHONQT)
endif()
endif()
#------------------------------------------------------------------------------
# List of external projects
#------------------------------------------------------------------------------
set(external_project_list tk tcl incrTcl iwidgets blt python clapack numpy scipy vtk CTK KWWidgets Insight BatchMake OpenIGTLink teem cmcurl slicer)
#-----------------------------------------------------------------------------
# Dump external project dependencies
#------------------------------------------------------------------------------
......
......@@ -20,7 +20,7 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"VC.include."
# Numpy warnings
"_configtest"
"_configtest.*warning"
"numpy.(core|numarray|linalg|random).*warning (C4244|C4028|C4996)"
"NUMPY.*Warning"
......@@ -108,8 +108,8 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
# Visual studio spurious warnings...
"The following environment variables were not found"
# The autogenerated warning should be removed
#@AUTOGENERATED_CUSTOM_WARNING_EXCEPTION@
# CTK Documentation warning
"CMake Warning at Documentation/CMakeLists.txt:62"
)
SET(CTEST_CUSTOM_ERROR_EXCEPTION
......
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