Commit c6ac1863 authored by John Tourtellott's avatar John Tourtellott

Add project manager plugin

parent 0334ea53
......@@ -125,6 +125,7 @@ function (superbuild_find_projects var)
if (NOT DEVELOPER_MODE_smtk)
list(APPEND projects
smtkprojectmanager
smtkresourcemanagerstate)
endif ()
# For now it's a convenient option to control smtk documentation
......
......@@ -107,6 +107,7 @@ set(cmb_plugins_cmb
)
set(cmb_plugins_standalone
smtkProjectManagerPlugin
smtkReadWriteResourceManagerStatePlugin
)
......
set(extra_cmake_args)
if (UNIX AND NOT APPLE)
list(APPEND extra_cmake_args
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=FALSE)
endif ()
set(response_file)
if (WIN32)
# Force response file usage. The command line gets way too long on Windows
# without this. Once VTK_USE_FILE and PARAVIEW_USE_FILE are gone, this can be
# removed again.
set(response_file -DCMAKE_NINJA_FORCE_RESPONSE_FILE:BOOL=ON)
endif ()
superbuild_add_project(smtkprojectmanager
DEBUGGABLE
DEFAULT_ON
DEPENDS boost cxx11 paraview qt qt5 smtk
CMAKE_ARGS
${extra_cmake_args}
-DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
-DCMAKE_INSTALL_NAME_DIR:PATH=<INSTALL_DIR>/lib
${response_file})
......@@ -151,3 +151,7 @@ superbuild_set_revision(nlohmannjson
superbuild_set_revision(smtkresourcemanagerstate
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/plugins/read-and-write-resource-manager-state.git"
GIT_TAG ff5aa02621c0c011d72e4bdc8c4f85c250a88f0f)
superbuild_set_revision(smtkprojectmanager
GIT_REPOSITORY "https://gitlab.kitware.com/cmb/plugins/project-manager.git"
GIT_TAG master)
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