From 635f8c7987f5057018b13252139de4a1bca5f20d Mon Sep 17 00:00:00 2001 From: Chuck Atkins Date: Thu, 17 Mar 2016 13:14:30 -0400 Subject: [PATCH] Add a CTestCustom file to to filter out warnings that cant be eliminated --- CMakeLists.txt | 2 ++ CTestCustom.cmake.in | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 CTestCustom.cmake.in diff --git a/CMakeLists.txt b/CMakeLists.txt index 09cc620db..81b0e4084 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -107,6 +107,8 @@ option(VTKm_USE_64BIT_IDS "Use 64-bit indices." ON) if (VTKm_ENABLE_TESTING) enable_testing() include(CTest) + configure_file(${VTKm_SOURCE_DIR}/CTestCustom.cmake.in + ${VTKm_BINARY_DIR}/CTestCustom.cmake @ONLY) endif() #----------------------------------------------------------------------------- diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in new file mode 100644 index 000000000..47487497e --- /dev/null +++ b/CTestCustom.cmake.in @@ -0,0 +1,23 @@ +##============================================================================ +## Copyright (c) Kitware, Inc. +## All rights reserved. +## See LICENSE.txt for details. +## This software is distributed WITHOUT ANY WARRANTY; without even +## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +## PURPOSE. See the above copyright notice for more information. +## +## Copyright 2014 Sandia Corporation. +## Copyright 2014 UT-Battelle, LLC. +## Copyright 2014 Los Alamos National Security. +## +## Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, +## the U.S. Government retains certain rights in this software. +## +## Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National +## Laboratory (LANL), the U.S. Government retains certain rights in +## this software. +##============================================================================ + +list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION + "warning: ignoring loop annotation" +)