##============================================================================ ## 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. ##============================================================================ set(headers Testing.h TestingAlgorithms.h TestingMath.h TestingGeometry.h VecTraitsTests.h ) VTKM_declare_headers(${headers}) set(unit_tests UnitTestAlgorithms.cxx UnitTestBinaryPredicates.cxx UnitTestBinaryOperators.cxx UnitTestBounds.cxx UnitTestCellShape.cxx UnitTestDeprecated.cxx UnitTestExceptions.cxx UnitTestHash.cxx UnitTestList.cxx UnitTestListTag.cxx UnitTestMath.cxx UnitTestMatrix.cxx UnitTestNewtonsMethod.cxx UnitTestNoAssert.cxx UnitTestPair.cxx UnitTestRange.cxx UnitTestTesting.cxx UnitTestTransform3D.cxx UnitTestTuple.cxx UnitTestTypeList.cxx UnitTestTypeListTag.cxx UnitTestTypes.cxx UnitTestTypeTraits.cxx UnitTestUnaryPredicates.cxx UnitTestVecAxisAlignedPointCoordinates.cxx UnitTestVecFromPortal.cxx UnitTestVecFromPortalPermute.cxx UnitTestVectorAnalysis.cxx UnitTestVecTraits.cxx UnitTestVecVariable.cxx ) #suppress gcc note: #variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without if (VTKM_COMPILER_IS_GNU) set_source_files_properties(UnitTestBounds.cxx PROPERTIES COMPILE_OPTIONS "-fno-var-tracking-assignments") endif() vtkm_unit_tests(SOURCES ${unit_tests})