Commit 4cfb33a1 authored by T.J. Corona's avatar T.J. Corona

Add pyarc to the superbuild.

parent 1d65380a
Pipeline #108533 passed with stage
......@@ -61,6 +61,7 @@ function (superbuild_find_projects var)
paraviewwebvisualizer
paraviewweblightviz
png
pyarc
pybind11
python
pythongirderclient
......
......@@ -117,6 +117,13 @@ foreach(program IN LISTS cmb_programs_to_install)
COMPONENT superbuild)
endif ()
if (pyarc_enabled)
install(
DIRECTORY "${superbuild_install_location}/lib/python2.7/site-packages/PyArc"
DESTINATION "${cmb_package}/${program}.app/Contents/Python"
COMPONENT superbuild)
endif ()
if (pythonrequests_enabled)
install(
FILES "${superbuild_install_location}/lib/python2.7/site-packages/requests/cacert.pem"
......
......@@ -75,6 +75,11 @@ if (matplotlib_enabled)
smtkMatplotlibPlugin)
endif ()
if (pyarc_enabled)
list(APPEND cmb_plugins_smtk
smtkRGGSessionPlugin)
endif ()
if (vxl_enabled)
list(APPEND cmb_plugins_smtk
smtkVXLOperatorViewsPlugin)
......
superbuild_add_project(pyarc
DEPENDS python
BUILD_IN_SOURCE 1
CONFIGURE_COMMAND
"${CMAKE_COMMAND}"
-E make_directory
"<INSTALL_DIR>/lib/python2.7/site-packages/PyArc"
BUILD_COMMAND
<SOURCE_DIR>/scripts/dependencies.sh
INSTALL_COMMAND
tar xzf "<SOURCE_DIR>/PyARC.tar.gz"
-C "<INSTALL_DIR>/lib/python2.7/site-packages/PyArc"
)
......@@ -29,11 +29,15 @@ superbuild_set_selectable_source(cmb
SELECT 5.0.0
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/cmb.git"
GIT_TAG "v5.0.0"
SELECT git CUSTOMIZABLE DEFAULT
SELECT git CUSTOMIZABLE
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/cmb.git"
GIT_TAG "origin/release"
SELECT source CUSTOMIZABLE
SOURCE_DIR "source-cmb")
SOURCE_DIR "source-cmb"
SELECT neams DEFAULT
GIT_REPOSITORY "https://gitlab.kitware.com/haocheng.liu/cmb.git"
GIT_TAG "Choose-next-op-after-finish"
)
set(smtk_source_dir)
if (cmb_SOURCE_SELECTION STREQUAL "source")
......@@ -54,12 +58,16 @@ superbuild_set_selectable_source(smtk
SELECT git CUSTOMIZABLE
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/smtk.git"
GIT_TAG "origin/release"
SELECT from_cmb DEFAULT
SELECT from_cmb
DOWNLOAD_COMMAND
"${CMAKE_COMMAND}" -E echo_append
SOURCE_DIR "${smtk_source_dir}/ThirdParty/SMTK"
SELECT source CUSTOMIZABLE
SOURCE_DIR "source-smtk")
SOURCE_DIR "source-smtk"
SELECT neams DEFAULT
GIT_REPOSITORY "https://gitlab.kitware.com/haocheng.liu/smtk.git"
GIT_TAG "Introduce-rgg-session"
)
superbuild_set_revision(cmbworkflows
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/simulation-workflows.git"
......@@ -146,6 +154,10 @@ superbuild_set_revision(paraviewweblightviz
URL "http://www.paraview.org/files/dependencies/light-viz-1.16.1.tar.gz"
URL_MD5 9ac1937cf07ae57bf85c3240f921679a)
superbuild_set_revision(pyarc
GIT_REPOSITORY "https://kwgitlab.kitware.com/bob.obara/PyARC.git"
GIT_TAG reorganization)
superbuild_set_revision(cmbusersguide
URL "https://media.readthedocs.org/pdf/cmb/master/cmb.pdf")
......
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