From: rnc Date: Mon, 14 Oct 2013 15:02:25 +0000 (+0000) Subject: REG: Verima / Build procedure: Updated the CMake build procedure and removed some... X-Git-Tag: V7_3_0a1~123 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b9cd996c2076b9cc0206f151ff9a8c4c5dd7d728;p=modules%2Fsmesh.git REG: Verima / Build procedure: Updated the CMake build procedure and removed some files previously added by mistake --- diff --git a/src/Tools/CMakeLists.txt b/src/Tools/CMakeLists.txt index f23b4d0e0..a2abf7d49 100644 --- a/src/Tools/CMakeLists.txt +++ b/src/Tools/CMakeLists.txt @@ -19,6 +19,7 @@ ADD_SUBDIRECTORY(MeshCut) ADD_SUBDIRECTORY(padder) +ADD_SUBDIRECTORY(Verima) IF(SALOME_BUILD_GUI) ADD_SUBDIRECTORY(MGCleanerPlug) @@ -32,4 +33,4 @@ SET(plugin_SCRIPTS # --- rules --- -SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) \ No newline at end of file +SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) diff --git a/src/Tools/Verima/Base/CMakeLists.txt b/src/Tools/Verima/Base/CMakeLists.txt new file mode 100644 index 000000000..ce7f0ae25 --- /dev/null +++ b/src/Tools/Verima/Base/CMakeLists.txt @@ -0,0 +1,48 @@ +# Copyright (C) 2012-2013 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- scripts --- + +# scripts / static +SET(plugin_SCRIPTS + dataBase.py + exportToCSV.py + importFromCSV.py + tableDeBase.py + tableGroupes.py + tableGroupesRef.py + tableMachines.py + tableMaillages.py + tableMailles.py + tableMailleurs.py + tablePerfs.py + tableRatios.py + tableTailles.py + tableVersions.py + versions.py + ) + +SET(plugin_DB + myMesh.db + ) + +# --- rules --- + +SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) +SALOME_INSTALL_SCRIPTS("${plugin_DB}" ${SALOME_SMESH_INSTALL_PLUGINS}) diff --git a/src/Tools/Verima/CMakeLists.txt b/src/Tools/Verima/CMakeLists.txt index 81f98554a..088ac496b 100644 --- a/src/Tools/Verima/CMakeLists.txt +++ b/src/Tools/Verima/CMakeLists.txt @@ -18,8 +18,24 @@ # ADD_SUBDIRECTORY(Doc) -#ADD_SUBDIRECTORY(CreeDocuments) -#ADD_SUBDIRECTORY(Gui) -#ADD_SUBDIRECTORY(Scripts) -#ADD_SUBDIRECTORY(Stats) -#ADD_SUBDIRECTORY(Base) +ADD_SUBDIRECTORY(CreeDocuments) +ADD_SUBDIRECTORY(Gui) +ADD_SUBDIRECTORY(Scripts) +ADD_SUBDIRECTORY(Stats) +ADD_SUBDIRECTORY(Base) + +# --- scripts --- + +# scripts / static +SET(plugin_SCRIPTS + ajoutEnreg.py + changeVersion.py + compareVersions.py + createDatabase.py + lance.py + passeJobs.py + ) + +# --- rules --- + +SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) diff --git a/src/Tools/Verima/CreeDocuments/CMakeLists.txt b/src/Tools/Verima/CreeDocuments/CMakeLists.txt new file mode 100644 index 000000000..838796ed2 --- /dev/null +++ b/src/Tools/Verima/CreeDocuments/CMakeLists.txt @@ -0,0 +1,32 @@ +# Copyright (C) 2012-2013 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +ADD_SUBDIRECTORY(templatesHtml) + +# --- scripts --- + +# scripts / static +SET(plugin_SCRIPTS + creeHtml.py + jobHtml.py + ) + +# --- rules --- + +SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) diff --git a/src/Tools/Verima/CreeDocuments/templatesHtml/CMakeLists.txt b/src/Tools/Verima/CreeDocuments/templatesHtml/CMakeLists.txt new file mode 100644 index 000000000..1b6bd9075 --- /dev/null +++ b/src/Tools/Verima/CreeDocuments/templatesHtml/CMakeLists.txt @@ -0,0 +1,37 @@ +# Copyright (C) 2012-2013 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- scripts --- + +# scripts / static +SET(plugin_HTML_FILES + entete.html + job.html + jobIncomplet.html + ligne.html + mailleur.html + sansGroupe.html + tableauComplet.html + tableauFin.html + tableau.html + ) + +# --- rules --- + +SALOME_INSTALL_SCRIPTS("${plugin_HTML_FILES}" ${SALOME_SMESH_INSTALL_PLUGINS}) diff --git a/src/Tools/Verima/Doc/CMakeFiles/CMakeDirectoryInformation.cmake b/src/Tools/Verima/Doc/CMakeFiles/CMakeDirectoryInformation.cmake deleted file mode 100644 index 37ec536c3..000000000 --- a/src/Tools/Verima/Doc/CMakeFiles/CMakeDirectoryInformation.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 2.8 - -# Relative path conversion top directories. -SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/local00/salome/V7_main/modules/src/SMESH_V7_main") -SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/local00/salome/V7_main/modules/src/SMESH_V7_main") - -# Force unix paths in dependencies. -SET(CMAKE_FORCE_UNIX_PATHS 1) - - -# The C and CXX include file regular expressions for this directory. -SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") -SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") -SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) -SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/DependInfo.cmake b/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/DependInfo.cmake deleted file mode 100644 index 7f65ccfc8..000000000 --- a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/DependInfo.cmake +++ /dev/null @@ -1,25 +0,0 @@ -# The set of languages for which implicit dependencies are needed: -SET(CMAKE_DEPENDS_LANGUAGES - ) -# The set of files for implicit dependencies of each language: - -# Preprocessor definitions for this target. -SET(CMAKE_TARGET_DEFINITIONS - "PCLINUX64" - "_DEBUG_" - "H5_USE_16_API" - "PCLINUX64" - "_DEBUG_" - "H5_USE_16_API" - ) - -# Targets to which this target links. -SET(CMAKE_TARGET_LINKED_INFO_FILES - ) - -# The include file search paths: -SET(CMAKE_C_TARGET_INCLUDE_PATH - ) -SET(CMAKE_CXX_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH}) -SET(CMAKE_Fortran_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH}) -SET(CMAKE_ASM_TARGET_INCLUDE_PATH ${CMAKE_C_TARGET_INCLUDE_PATH}) diff --git a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build.make b/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build.make deleted file mode 100644 index 34ae30c7b..000000000 --- a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build.make +++ /dev/null @@ -1,69 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 2.8 - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canonical targets will work. -.SUFFIXES: - -# Remove some rules from gmake that .SUFFIXES does not remove. -SUFFIXES = - -.SUFFIXES: .hpux_make_needs_suffix_list - -# Suppress display of executed commands. -$(VERBOSE).SILENT: - -# A target that is always out of date. -cmake_force: -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /local00/salome/prerequisites/install/Cmake-28102/bin/cmake - -# The command to remove a file. -RM = /local00/salome/prerequisites/install/Cmake-28102/bin/cmake -E remove -f - -# Escaping for special characters. -EQUALS = = - -# The program to use to edit the cache. -CMAKE_EDIT_COMMAND = /usr/bin/cmake-gui - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /local00/salome/V7_main/modules/src/SMESH_V7_main - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /local00/salome/V7_main/modules/src/SMESH_V7_main - -# Utility rule file for html_docs_Verima. - -# Include the progress variables for this target. -include src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/progress.make - -src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc && . /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc/env_s.sh && /usr/bin/env PYTHONPATH=":$$PYTHONPATH" /local00/salome/prerequisites/install/Sphinx-113-py273-set06c11-pyg15-jin26-doc010/bin/sphinx-build -c /local00/salome/V7_main/modules/src/SMESH_V7_main/doc/docutils -b html -d doctrees -D latex_paper_size=a4 /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc docutils - -html_docs_Verima: src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima -html_docs_Verima: src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build.make -.PHONY : html_docs_Verima - -# Rule to build all files generated by this target. -src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build: html_docs_Verima -.PHONY : src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build - -src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/clean: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc && $(CMAKE_COMMAND) -P CMakeFiles/html_docs_Verima.dir/cmake_clean.cmake -.PHONY : src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/clean - -src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/depend: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /local00/salome/V7_main/modules/src/SMESH_V7_main /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc /local00/salome/V7_main/modules/src/SMESH_V7_main /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/DependInfo.cmake --color=$(COLOR) -.PHONY : src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/depend - diff --git a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/cmake_clean.cmake b/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/cmake_clean.cmake deleted file mode 100644 index 673b1a9b1..000000000 --- a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/cmake_clean.cmake +++ /dev/null @@ -1,8 +0,0 @@ -FILE(REMOVE_RECURSE - "CMakeFiles/html_docs_Verima" -) - -# Per-language clean rules from dependency scanning. -FOREACH(lang) - INCLUDE(CMakeFiles/html_docs_Verima.dir/cmake_clean_${lang}.cmake OPTIONAL) -ENDFOREACH(lang) diff --git a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/progress.make b/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/progress.make deleted file mode 100644 index 8b1378917..000000000 --- a/src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/progress.make +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/Tools/Verima/Doc/CMakeFiles/progress.marks b/src/Tools/Verima/Doc/CMakeFiles/progress.marks deleted file mode 100644 index 573541ac9..000000000 --- a/src/Tools/Verima/Doc/CMakeFiles/progress.marks +++ /dev/null @@ -1 +0,0 @@ -0 diff --git a/src/Tools/Verima/Doc/Makefile b/src/Tools/Verima/Doc/Makefile deleted file mode 100644 index 06c305bd8..000000000 --- a/src/Tools/Verima/Doc/Makefile +++ /dev/null @@ -1,185 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 2.8 - -# Default target executed when no arguments are given to make. -default_target: all -.PHONY : default_target - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canonical targets will work. -.SUFFIXES: - -# Remove some rules from gmake that .SUFFIXES does not remove. -SUFFIXES = - -.SUFFIXES: .hpux_make_needs_suffix_list - -# Suppress display of executed commands. -$(VERBOSE).SILENT: - -# A target that is always out of date. -cmake_force: -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /local00/salome/prerequisites/install/Cmake-28102/bin/cmake - -# The command to remove a file. -RM = /local00/salome/prerequisites/install/Cmake-28102/bin/cmake -E remove -f - -# Escaping for special characters. -EQUALS = = - -# The program to use to edit the cache. -CMAKE_EDIT_COMMAND = /usr/bin/cmake-gui - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /local00/salome/V7_main/modules/src/SMESH_V7_main - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /local00/salome/V7_main/modules/src/SMESH_V7_main - -#============================================================================= -# Targets provided globally by CMake. - -# Special rule for the target edit_cache -edit_cache: - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." - /usr/bin/cmake-gui -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) -.PHONY : edit_cache - -# Special rule for the target edit_cache -edit_cache/fast: edit_cache -.PHONY : edit_cache/fast - -# Special rule for the target install -install: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." - /local00/salome/prerequisites/install/Cmake-28102/bin/cmake -P cmake_install.cmake -.PHONY : install - -# Special rule for the target install -install/fast: preinstall/fast - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..." - /local00/salome/prerequisites/install/Cmake-28102/bin/cmake -P cmake_install.cmake -.PHONY : install/fast - -# Special rule for the target install/local -install/local: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..." - /local00/salome/prerequisites/install/Cmake-28102/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake -.PHONY : install/local - -# Special rule for the target install/local -install/local/fast: install/local -.PHONY : install/local/fast - -# Special rule for the target install/strip -install/strip: preinstall - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing the project stripped..." - /local00/salome/prerequisites/install/Cmake-28102/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake -.PHONY : install/strip - -# Special rule for the target install/strip -install/strip/fast: install/strip -.PHONY : install/strip/fast - -# Special rule for the target list_install_components -list_install_components: - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\"" -.PHONY : list_install_components - -# Special rule for the target list_install_components -list_install_components/fast: list_install_components -.PHONY : list_install_components/fast - -# Special rule for the target rebuild_cache -rebuild_cache: - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." - /local00/salome/prerequisites/install/Cmake-28102/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) -.PHONY : rebuild_cache - -# Special rule for the target rebuild_cache -rebuild_cache/fast: rebuild_cache -.PHONY : rebuild_cache/fast - -# The main all target -all: cmake_check_build_system - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(CMAKE_COMMAND) -E cmake_progress_start /local00/salome/V7_main/modules/src/SMESH_V7_main/CMakeFiles /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc/CMakeFiles/progress.marks - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(MAKE) -f CMakeFiles/Makefile2 src/Tools/Verima/Doc/all - $(CMAKE_COMMAND) -E cmake_progress_start /local00/salome/V7_main/modules/src/SMESH_V7_main/CMakeFiles 0 -.PHONY : all - -# The main clean target -clean: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(MAKE) -f CMakeFiles/Makefile2 src/Tools/Verima/Doc/clean -.PHONY : clean - -# The main clean target -clean/fast: clean -.PHONY : clean/fast - -# Prepare targets for installation. -preinstall: all - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(MAKE) -f CMakeFiles/Makefile2 src/Tools/Verima/Doc/preinstall -.PHONY : preinstall - -# Prepare targets for installation. -preinstall/fast: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(MAKE) -f CMakeFiles/Makefile2 src/Tools/Verima/Doc/preinstall -.PHONY : preinstall/fast - -# clear depends -depend: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 -.PHONY : depend - -# Convenience name for target. -src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/rule: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(MAKE) -f CMakeFiles/Makefile2 src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/rule -.PHONY : src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/rule - -# Convenience name for target. -html_docs_Verima: src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/rule -.PHONY : html_docs_Verima - -# fast build rule for target. -html_docs_Verima/fast: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(MAKE) -f src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build.make src/Tools/Verima/Doc/CMakeFiles/html_docs_Verima.dir/build -.PHONY : html_docs_Verima/fast - -# Help Target -help: - @echo "The following are some of the valid targets for this Makefile:" - @echo "... all (the default if no target is provided)" - @echo "... clean" - @echo "... depend" - @echo "... edit_cache" - @echo "... html_docs_Verima" - @echo "... install" - @echo "... install/local" - @echo "... install/strip" - @echo "... list_install_components" - @echo "... rebuild_cache" -.PHONY : help - - - -#============================================================================= -# Special targets to cleanup operation of make. - -# Special rule to run CMake to check the build system integrity. -# No rule that depends on this can have commands that come from listfiles -# because they might be regenerated. -cmake_check_build_system: - cd /local00/salome/V7_main/modules/src/SMESH_V7_main && $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 -.PHONY : cmake_check_build_system - diff --git a/src/Tools/Verima/Doc/cmake_install.cmake b/src/Tools/Verima/Doc/cmake_install.cmake deleted file mode 100644 index e8be3c02b..000000000 --- a/src/Tools/Verima/Doc/cmake_install.cmake +++ /dev/null @@ -1,42 +0,0 @@ -# Install script for directory: /local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc - -# Set the install prefix -IF(NOT DEFINED CMAKE_INSTALL_PREFIX) - SET(CMAKE_INSTALL_PREFIX "/local00/salome/V7_main/modules/install/SMESH_V7_main") -ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX) -STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - IF(BUILD_TYPE) - STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - ELSE(BUILD_TYPE) - SET(CMAKE_INSTALL_CONFIG_NAME "Debug") - ENDIF(BUILD_TYPE) - MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - -# Set the component getting installed. -IF(NOT CMAKE_INSTALL_COMPONENT) - IF(COMPONENT) - MESSAGE(STATUS "Install component: \"${COMPONENT}\"") - SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - ELSE(COMPONENT) - SET(CMAKE_INSTALL_COMPONENT) - ENDIF(COMPONENT) -ENDIF(NOT CMAKE_INSTALL_COMPONENT) - -# Install shared libraries without execute permission? -IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) - SET(CMAKE_INSTALL_SO_NO_EXE "1") -ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) - -IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") - EXECUTE_PROCESS(COMMAND "/local00/salome/prerequisites/install/Cmake-28102/bin/cmake" --build /local00/salome/V7_main/modules/src/SMESH_V7_main --target html_docs_Verima) -ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") - -IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") - FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/doc/salome/gui/SMESH/Verima" TYPE DIRECTORY FILES "/local00/salome/V7_main/modules/src/SMESH_V7_main/src/Tools/Verima/Doc/docutils/") -ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified") - diff --git a/src/Tools/Verima/Doc/env_s.sh b/src/Tools/Verima/Doc/env_s.sh deleted file mode 100644 index d5849229e..000000000 --- a/src/Tools/Verima/Doc/env_s.sh +++ /dev/null @@ -1,23 +0,0 @@ - export PYTHONPATH=/local00/salome/V7_main/modules/install/SMESH_V7_main/lib/python2.7/site-packages/salome:${PYTHONPATH} - export PYTHONPATH=/local00/salome/V7_main/modules/install/SMESH_V7_main/bin/salome:${PYTHONPATH} - export LD_LIBRARY_PATH=/local00/salome/V7_main/modules/install/SMESH_V7_main/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=/local00/salome/V7_main/modules/install/SMESH_V7_main/lib/python2.7/site-packages/salome:${PYTHONPATH} - export PYTHONPATH=/local00/salome/V7_main/modules/install/SMESH_V7_main/lib/python2.7/site-packages/salome/shared_modules:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Hdf5-1810/lib:${PYTHONPATH} - export PYTHONPATH=/lib:${PYTHONPATH} - - export PYTHONPATH=/local00/salome/V7_main/modules/install/KERNEL_V7_main/bin/salome:${PYTHONPATH} - export LD_LIBRARY_PATH=/local00/salome/V7_main/modules/install/KERNEL_V7_main/lib/salome:${LD_LIBRARY_PATH} - export PYTHONPATH=/local00/salome/V7_main/modules/install/KERNEL_V7_main/lib/python2.7/site-packages/salome:${PYTHONPATH} - export PYTHONPATH=/local00/salome/V7_main/modules/install/KERNEL_V7_main/lib/python2.7/site-packages/salome/shared_modules:${PYTHONPATH} - - export PYTHONPATH=/local00/salome/prerequisites/install/Omniorb-416-py273/lib:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Omniorb-416-py273/lib/python2.7/site-packages:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Omniorb-416-py273/lib64/python2.7/site-packages:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Omniorbpy-36-py273-orb416/lib:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Omniorbpy-36-py273-orb416/lib/python2.7/site-packages:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Omniorbpy-36-py273-orb416/lib64/python2.7/site-packages:${PYTHONPATH} - export LD_LIBRARY_PATH=/local00/salome/prerequisites/install/Omniorb-416-py273/lib:${LD_LIBRARY_PATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Setuptools-06c11-py273/lib/python2.7/site-packages:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Docutils-010-py273/lib/python2.7/site-packages:${PYTHONPATH} - export PYTHONPATH=/local00/salome/prerequisites/install/Sphinx-113-py273-set06c11-pyg15-jin26-doc010/lib/python2.7/site-packages:${PYTHONPATH} diff --git a/src/Tools/Verima/Gui/.monEditor.py.swp b/src/Tools/Verima/Gui/.monEditor.py.swp deleted file mode 100644 index 8f5d07a44..000000000 Binary files a/src/Tools/Verima/Gui/.monEditor.py.swp and /dev/null differ diff --git a/src/Tools/Verima/Gui/CMakeLists.txt b/src/Tools/Verima/Gui/CMakeLists.txt new file mode 100644 index 000000000..4c170d8d6 --- /dev/null +++ b/src/Tools/Verima/Gui/CMakeLists.txt @@ -0,0 +1,52 @@ +# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +INCLUDE(UsePyQt4) + +# --- scripts --- + +# scripts / static +SET(plugin_SCRIPTS + maFenetreChoix.py + monEditor.py + monNomBase.py + visualiseDatabase.py +) + +# --- resources --- + +# uic files / to be processed by pyuic +SET(_pyuic_files + desFenetreChoix.ui + desStat.ui + myMainTotale.ui + myMain.ui + tousLesJobs.ui + nomBase.ui + tousLesJobs.ui +) + +# scripts / pyuic wrappings +PYQT4_WRAP_UIC(_pyuic_SCRIPTS ${_pyuic_files}) + +# --- rules --- + +SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) + +SALOME_INSTALL_SCRIPTS("${_pyuic_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) diff --git a/src/Tools/Verima/Scripts/CMakeLists.txt b/src/Tools/Verima/Scripts/CMakeLists.txt new file mode 100644 index 000000000..30c77d90f --- /dev/null +++ b/src/Tools/Verima/Scripts/CMakeLists.txt @@ -0,0 +1,31 @@ +# Copyright (C) 2012-2013 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- scripts --- + +# scripts / static +SET(plugin_SCRIPTS + excavation_6.6.py + excavation_7.2.0.py + excavation.py + ) + +# --- rules --- + +SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS}) diff --git a/src/Tools/Verima/Stats/CMakeLists.txt b/src/Tools/Verima/Stats/CMakeLists.txt new file mode 100644 index 000000000..8a5d7e3f9 --- /dev/null +++ b/src/Tools/Verima/Stats/CMakeLists.txt @@ -0,0 +1,33 @@ +# Copyright (C) 2012-2013 CEA/DEN, EDF R&D +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# + +# --- scripts --- + +# scripts / static +SET(plugin_SCRIPTS + getStats.py + job.py + mean.py + ref.py + utiles.py + ) + +# --- rules --- + +SALOME_INSTALL_SCRIPTS("${plugin_SCRIPTS}" ${SALOME_SMESH_INSTALL_PLUGINS})