Commit 20b398c7 authored by George Zagaris's avatar George Zagaris
Browse files

STYLE: Change CMake commands to upper-case

Change-Id: I97dd82d56ceb0e12f462537214c06b3890e6cc99
parent eaaadf44
add_subdirectory(Cxx)
ADD_SUBDIRECTORY(Cxx)
IF(PYTHON_EXECUTABLE)
ADD_TEST(HeaderTesting-AMR ${PYTHON_EXECUTABLE}
......
## Set the name of the KIT being tested
set(KIT AMR)
SET(KIT AMR)
## List all test sources
set(MyTests
SET(MyTests
TestFlashReader.cxx
TestEnzoReader.cxx
)
## Create test source list
create_test_sourcelist(Tests ${KIT}CxxTests.cxx
CREATE_TEST_SOURCELIST(Tests ${KIT}CxxTests.cxx
${MyTests}
EXTRA_INCLUDE vtkTestDriver.h
)
add_executable( ${KIT}CxxTests ${Tests})
target_link_libraries( ${KIT}CxxTests vtkAMR vtkFiltering vtkParallel )
set(TestsToRun ${MyTests})
ADD_EXECUTABLE( ${KIT}CxxTests ${Tests})
TARGET_LINK_LIBRARIES( ${KIT}CxxTests vtkAMR vtkFiltering vtkParallel )
## Add all executables
foreach(test ${MyTests})
get_filename_component(t ${test} NAME_WE)
add_test(${t} ${CXX_TEST_PATH}/${KIT}CxxTests ${t})
endforeach(test)
\ No newline at end of file
FOREACH(test ${MyTests})
GET_FILENAME_COMPONENT(t ${test} NAME_WE)
ADD_TEST(${t} ${CXX_TEST_PATH}/${KIT}CxxTests ${t})
ENDFOREACH(test)
\ No newline at end of file
Supports Markdown
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