Commit e588fc66 authored by Ben Boeckel's avatar Ben Boeckel

cmb, smtk: add options for where their data is stored

parent 7637021b
......@@ -8,6 +8,8 @@ if (__BUILDBOT_INSTALL_LOCATION)
set(vtk_dir <INSTALL_DIR>/lib/cmake/paraview-4.3)
endif ()
set(CMB_TEST_DATA_ROOT "" CACHE PATH "Location of CMB's testing data")
add_external_project_or_just_build_dependencies(cmb
DEPENDS boost remus vxl kml gdal qt python paraview molequeue smtk
DEPENDS_OPTIONAL moab triangle
......@@ -20,6 +22,7 @@ add_external_project_or_just_build_dependencies(cmb
-DVTK_DIR:PATH=${vtk_dir}
-DMoleQueue_DIR:PATH=<INSTALL_DIR>
-DCMB_TEST_PLUGIN_PATHS:STRING=<INSTALL_DIR>/${smtk_libdir}
-DCMB_TEST_DATA_ROOT:PATH=${CMB_TEST_DATA_ROOT}
#specify semi-colon separated paths for session plugins
-DCMB_TEST_PLUGIN_PATHS:STRING=<INSTALL_DIR>/lib
......
......@@ -17,6 +17,8 @@ if (WIN32)
set(smtk_libdir bin)
endif ()
set(SMTK_DATA_DIR "" CACHE PATH "Location of SMTK's testing data")
add_external_project_or_just_build_dependencies(smtk
DEPENDS boost qt shiboken paraview remus
CMAKE_ARGS
......@@ -33,6 +35,7 @@ add_external_project_or_just_build_dependencies(smtk
-DSMTK_ENABLE_REMUS_SUPPORT:BOOL=ON
-DSMTK_ENABLE_PYTHON_WRAPPING:BOOL=${shiboken_ENABLED}
-DCMAKE_INSTALL_LIBDIR:STRING=${smtk_libdir}
-DSMTK_DATA_DIR:PATH=${SMTK_DATA_DIR}
-DParaView_DIR:PATH=${paraview_dir}
-DBOOST_INCLUDEDIR:PATH=<INSTALL_DIR>/include/boost
......
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