Commit 907f095f authored by Ben Boeckel's avatar Ben Boeckel

ExternalData: add a README file

This file is used as a sentinel file for enabling testing or not. The
git repository will always have it, but now that ParaView will be
shipping a separate data tarball, this file will be in that one. The
CMake code determines the default for testing based on its existence.
This will allow everything to work from the tarballs without hitting the
network by default.
parent f31fd104
.ExternalData
=============
The ParaView ``.ExternalData`` directory is an object store for the
CMake ExternalData module that ParaView uses to manage test input
and baseline data.
...@@ -196,7 +196,12 @@ endif() ...@@ -196,7 +196,12 @@ endif()
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# Define ParaView specific options. # Define ParaView specific options.
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
option(BUILD_TESTING "Build ParaView Testing" ON) set(default_testing ON)
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.ExternalData/README.rst")
# Source tarball without the data, so turn off testing.
set(default_testing OFF)
endif ()
option(BUILD_TESTING "Build ParaView Testing" ${default_testing})
option(BUILD_EXAMPLES "Build ParaView examples" OFF) option(BUILD_EXAMPLES "Build ParaView examples" OFF)
option(BUILD_SHARED_LIBS "Build ParaView using shared libraries" ON) option(BUILD_SHARED_LIBS "Build ParaView using shared libraries" ON)
option(PARAVIEW_BUILD_QT_GUI "Enable ParaView Qt-based client" ON) option(PARAVIEW_BUILD_QT_GUI "Enable ParaView Qt-based client" ON)
......
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