-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://bioproj.extra.cea.fr/neurosvn/brainvisa/soma/soma-workflow/trunk@55194 613412ce-1361-4b7a-93bf-a3c75af1bae4
- Loading branch information
Jinpeng
authored and
Jinpeng
committed
Apr 16, 2013
0 parents
commit f290b07
Showing
211 changed files
with
37,242 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
cmake_minimum_required( VERSION 2.6 ) | ||
find_package( brainvisa-cmake REQUIRED ) | ||
BRAINVISA_PROJECT() | ||
|
||
find_package( SIP ) | ||
|
||
BRAINVISA_COPY_PYTHON_DIRECTORY( "${CMAKE_CURRENT_SOURCE_DIR}/python" | ||
${PROJECT_NAME} ) | ||
|
||
BRAINVISA_COPY_DIRECTORY( "${CMAKE_CURRENT_SOURCE_DIR}/bin" | ||
bin | ||
${PROJECT_NAME} ) | ||
|
||
BRAINVISA_DEPENDENCY( RUN DEPENDS python RUN ">= 2.5;<< 3.0" ) | ||
BRAINVISA_DEPENDENCY( RUN DEPENDS libqtcore4 RUN ">= 4.6" ) | ||
BRAINVISA_DEPENDENCY( RUN DEPENDS libqtgui4 RUN ">= 4.6" ) | ||
BRAINVISA_DEPENDENCY( RUN RECOMMENDS libqt4-designer RUN ">= 4.6" ) | ||
|
||
find_package( LibDRMAA QUIET ) | ||
if( NOT LIBDRMAA_FOUND ) | ||
set( LIBDRMAA_LIBRARIES drmaa ) | ||
else() | ||
add_subdirectory( src/drmaaJobs ) | ||
if( SIP_FOUND ) | ||
add_subdirectory( src/sip ) | ||
else() | ||
message( "WARNING: python wrapping of drmaajobs not built because sip has not been found" ) | ||
endif() | ||
endif() | ||
|
||
# PySide-compatible .ui -> .py generation | ||
find_program( PYUIC "pyside-uic" ) | ||
|
||
if( PYUIC ) | ||
message( "run BRAINVISA_PYUIC" ) | ||
BRAINVISA_PYUIC( JobInfo.ui ui_job_info.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( graphWidget.ui ui_graph_widget.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( PlotWidget.ui ui_plot_widget.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( TransferInfo.ui ui_transfer_info.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( GroupInfo.ui ui_group_info.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( connection_dlg.ui ui_connection_dlg.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( workflowExampleDlg.ui ui_workflow_example_dlg.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( submissionDlg.ui ui_submission_dlg.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( resource_wf_select.ui ui_resource_wf_select.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( main_window.ui ui_main_window.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( wf_status_name_date.ui ui_wf_status_name_date.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( sw_mini.ui ui_sw_mini_widget.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( search_widget.ui ui_search_widget.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( local_scheduler_widget.ui ui_local_scheduler_cfg_ctrl.py python/soma/workflow/gui ) | ||
BRAINVISA_PYUIC( engine_controller_widget.ui ui_workflow_engine_cfg_ctrl.py python/soma/workflow/gui ) | ||
endif() | ||
|
||
configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/config/config.py.in" "${CMAKE_BINARY_DIR}/python/soma/workflow/version.py" @ONLY ) | ||
BRAINVISA_INSTALL( FILES "${CMAKE_BINARY_DIR}/python/soma/workflow/version.py" | ||
DESTINATION "python/soma/workflow" | ||
COMPONENT ${PROJECT_NAME} ) | ||
|
||
|
||
|
||
find_package( Sphinx ) | ||
|
||
BRAINVISA_GENERATE_SPHINX_DOC( "doc/source" | ||
"share/doc/soma-workflow-${BRAINVISA_PACKAGE_VERSION_MAJOR}.${BRAINVISA_PACKAGE_VERSION_MINOR}/sphinx" ) | ||
|
||
BRAINVISA_CREATE_CMAKE_CONFIG_FILES() |
Oops, something went wrong.