From b1891e56af07315b1d6d7ecdc40c0e6ebd403c6f Mon Sep 17 00:00:00 2001 From: CEA Support SALOME Date: Thu, 2 Jul 2015 16:14:05 +0200 Subject: [PATCH] salome tutorial --- CMakeLists.txt | 14 +++++++------- doc/CMakeLists.txt | 2 +- doc/README | 2 +- doc/conf.py.in | 12 ++++++------ doc/index.rst | 2 +- doc/intro.rst | 2 +- resources/CMakeLists.txt | 6 +++--- resources/SalomeApp.xml.in | 4 ++-- resources/doc/CMakeLists.txt | 2 +- resources/doc/README | 2 +- src/resources/CMakeLists.txt | 2 +- src/resources/LightApp_msg_en.ts | 10 +++++----- src/resources/LightApp_msg_fr.ts | 10 +++++----- src/resources/LightApp_msg_ja.ts | 10 +++++----- src/tests/README | 2 +- 15 files changed, 41 insertions(+), 41 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72886ee..04c66cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR) -PROJECT(Salome_SALOME-7.6.0p2_Profile C CXX) +PROJECT(Salome_TUTO_COUPLING_Profile C CXX) # Ensure a proper linker behavior: CMAKE_POLICY(SET CMP0003 NEW) @@ -48,7 +48,7 @@ ENDIF(EXISTS ${KERNEL_ROOT_DIR}) # User options # ============ OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON) -OPTION(SALOME_BUILD_DOC "Generate SALOME SALOME-7.6.0p2 documentation" ON) +OPTION(SALOME_BUILD_DOC "Generate SALOME TUTO_COUPLING documentation" ON) IF(SALOME_BUILD_TESTS) ENABLE_TESTING() @@ -85,10 +85,10 @@ INCLUDE(${QT_USE_FILE}) # =========== SET(SALOME_INSTALL_SCRIPT_PYTHON "${SALOME_INSTALL_SCRIPT_PYTHON}" CACHE PATH "Install path: SALOME Python scripts") -# Specific to SALOME-7.6.0P2: -SET(SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/salome-7.6.0p2_profile" CACHE PATH "Install path: SALOME SALOME-7.6.0P2 specific data") -SET(SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME SALOME-7.6.0P2 gui documentation") -SET(SALOME_SALOME-7.6.0P2_PROFILE_HTML_STATIC_PATH "${SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME SALOME-7.6.0P2 html static data") +# Specific to TUTO_COUPLING: +SET(SALOME_TUTO_COUPLING_PROFILE_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/tuto_coupling_profile" CACHE PATH "Install path: SALOME TUTO_COUPLING specific data") +SET(SALOME_TUTO_COUPLING_PROFILE_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME TUTO_COUPLING gui documentation") +SET(SALOME_TUTO_COUPLING_PROFILE_HTML_STATIC_PATH "${SALOME_TUTO_COUPLING_PROFILE_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME TUTO_COUPLING html static data") MARK_AS_ADVANCED(SALOME_INSTALL_SCRIPT_PYTHON) @@ -111,4 +111,4 @@ SALOME_INSTALL_SCRIPTS("${_salome_context_API_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_ SET(_salome_context_BASHRC ${KERNEL_ROOT_DIR}/bin/salome/appliskel/.bashrc ) -SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" $ENV{SALOME-7.6.0P2_PROFILE_ROOT_DIR}) +SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" $ENV{TUTO_COUPLING_PROFILE_ROOT_DIR}) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 932b3e7..d3b0199 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -25,7 +25,7 @@ SALOME_GENERATE_ENVIRONMENT_SCRIPT(_cmd env_script "${SPHINX_EXECUTABLE}" "${_cm ADD_CUSTOM_TARGET(html_docs COMMAND ${_cmd}) INSTALL(CODE "EXECUTE_PROCESS(COMMAND \"${CMAKE_COMMAND}\" --build ${PROJECT_BINARY_DIR} --target html_docs)") -INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_DOC_GUI}) +INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_TUTO_COUPLING_PROFILE_INSTALL_DOC_GUI}) SET(make_clean_files html doctrees) SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}") diff --git a/doc/README b/doc/README index 4b0d178..734ec7e 100644 --- a/doc/README +++ b/doc/README @@ -1 +1 @@ -This directory contains the sources of SALOME-7.6.0p2's documentation +This directory contains the sources of TUTO_COUPLING's documentation diff --git a/doc/conf.py.in b/doc/conf.py.in index fbcc620..6a71bc6 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -35,7 +35,7 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = 'salome-7.6.0p2' +project = 'tuto_coupling' copyright = '2010-2015 CEA/DEN, EDF R&D, OPEN CASCADE, ASTEK INDUSTRIE' # The version info for the project you're documenting, acts as replacement for @@ -43,9 +43,9 @@ copyright = '2010-2015 CEA/DEN, EDF R&D, OPEN CASCADE, ASTEK INDUSTRIE' # built documents. # # The short X.Y version. -version = '@SALOMESALOME-7.6.0P2_MAJOR_VERSION@.@SALOMESALOME-7.6.0P2_MINOR_VERSION@' +version = '@SALOMETUTO_COUPLING_MAJOR_VERSION@.@SALOMETUTO_COUPLING_MINOR_VERSION@' # The full version, including alpha/beta/rc tags. -release = '@SALOMESALOME-7.6.0P2_VERSION@' +release = '@SALOMETUTO_COUPLING_VERSION@' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -113,7 +113,7 @@ html_theme = 'default' # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['@SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_DOC_GUI@/_static'] +html_static_path = ['@SALOME_TUTO_COUPLING_PROFILE_INSTALL_DOC_GUI@/_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -151,7 +151,7 @@ html_use_modindex = False #html_file_suffix = '' # Output file base name for HTML help builder. -htmlhelp_basename = 'salome-7.6.0p2doc' +htmlhelp_basename = 'tuto_couplingdoc' # Options for LaTeX output @@ -166,7 +166,7 @@ latex_font_size = '10pt' # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, author, document class [howto/manual]). latex_documents = [ - ('index', 'salome-7.6.0p2.tex', 'SALOME-7.6.0p2 User Documentation', 'A. Ribes', 'manual') + ('index', 'tuto_coupling.tex', 'TUTO_COUPLING User Documentation', 'A. Ribes', 'manual') ] # The name of an image file (relative to this directory) to place at the top of diff --git a/doc/index.rst b/doc/index.rst index eb63bb9..48c3678 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -1,6 +1,6 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -SALOME-7.6.0p2's documentation +TUTO_COUPLING's documentation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Outline diff --git a/doc/intro.rst b/doc/intro.rst index 3aebbf7..cf1efd2 100644 --- a/doc/intro.rst +++ b/doc/intro.rst @@ -1,4 +1,4 @@ Introduction ========================================== -Welcome to SALOME-7.6.0p2's documentation! +Welcome to TUTO_COUPLING's documentation! diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt index 4f89f17..64e0fed 100644 --- a/resources/CMakeLists.txt +++ b/resources/CMakeLists.txt @@ -18,7 +18,7 @@ # # --- resources --- -SET(SALOME-7.6.0P2_PROFILE_RESOURCES_FILES +SET(TUTO_COUPLING_PROFILE_RESOURCES_FILES app_icon.png splash.png about.png @@ -27,10 +27,10 @@ SET(SALOME-7.6.0P2_PROFILE_RESOURCES_FILES ) # --- rules --- -INSTALL(FILES ${SALOME-7.6.0P2_PROFILE_RESOURCES_FILES} DESTINATION ${SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_RES_DATA}) +INSTALL(FILES ${TUTO_COUPLING_PROFILE_RESOURCES_FILES} DESTINATION ${SALOME_TUTO_COUPLING_PROFILE_INSTALL_RES_DATA}) # --- config --- -SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_RES_DATA}) +SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_TUTO_COUPLING_PROFILE_INSTALL_RES_DATA}) # --- sub-directories --- ADD_SUBDIRECTORY( doc ) diff --git a/resources/SalomeApp.xml.in b/resources/SalomeApp.xml.in index 4e74855..77b0864 100644 --- a/resources/SalomeApp.xml.in +++ b/resources/SalomeApp.xml.in @@ -16,7 +16,7 @@
- + @@ -24,6 +24,6 @@
- +
diff --git a/resources/doc/CMakeLists.txt b/resources/doc/CMakeLists.txt index 1a5726b..7a2f856 100644 --- a/resources/doc/CMakeLists.txt +++ b/resources/doc/CMakeLists.txt @@ -24,4 +24,4 @@ SET(_bin_DOCUMENTS sample.pdf ) -INSTALL(FILES ${_bin_DOCUMENTS} DESTINATION ${SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_DOC_GUI}) +INSTALL(FILES ${_bin_DOCUMENTS} DESTINATION ${SALOME_TUTO_COUPLING_PROFILE_INSTALL_DOC_GUI}) diff --git a/resources/doc/README b/resources/doc/README index dcd4680..fff3b59 100644 --- a/resources/doc/README +++ b/resources/doc/README @@ -1 +1 @@ -This directory contains binaries of SALOME-7.6.0p2's documentation +This directory contains binaries of TUTO_COUPLING's documentation diff --git a/src/resources/CMakeLists.txt b/src/resources/CMakeLists.txt index 6186b2e..99d2bc5 100644 --- a/src/resources/CMakeLists.txt +++ b/src/resources/CMakeLists.txt @@ -31,4 +31,4 @@ SET(_ts_RESOURCES # --- rules --- -QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SALOME-7.6.0P2_PROFILE_INSTALL_RES_DATA}") +QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_TUTO_COUPLING_PROFILE_INSTALL_RES_DATA}") diff --git a/src/resources/LightApp_msg_en.ts b/src/resources/LightApp_msg_en.ts index d0421b0..637bb33 100644 --- a/src/resources/LightApp_msg_en.ts +++ b/src/resources/LightApp_msg_en.ts @@ -9,15 +9,15 @@ ABOUT_CAPTION - About SALOME-7.6.0p2 + About TUTO_COUPLING APP_NAME - SALOME-7.6.0p2 + TUTO_COUPLING APP_VERSION - V7.6.0p2 + V1.0 ABOUT_LICENSE @@ -25,11 +25,11 @@ ABOUT_VERSION - Version 7.6.0p2 + Version 1.0 ABOUT_TITLE - SALOME-7.6.0p2 + TUTO_COUPLING diff --git a/src/resources/LightApp_msg_fr.ts b/src/resources/LightApp_msg_fr.ts index 18954f9..4b05242 100644 --- a/src/resources/LightApp_msg_fr.ts +++ b/src/resources/LightApp_msg_fr.ts @@ -9,15 +9,15 @@ ABOUT_CAPTION - A propos de SALOME-7.6.0p2 + A propos de TUTO_COUPLING APP_NAME - SALOME-7.6.0p2 + TUTO_COUPLING APP_VERSION - V7.6.0p2 + V1.0 ABOUT_LICENSE @@ -25,11 +25,11 @@ ABOUT_VERSION - Version 7.6.0p2 + Version 1.0 ABOUT_TITLE - SALOME-7.6.0p2 + TUTO_COUPLING diff --git a/src/resources/LightApp_msg_ja.ts b/src/resources/LightApp_msg_ja.ts index 21d6a84..44e5d78 100644 --- a/src/resources/LightApp_msg_ja.ts +++ b/src/resources/LightApp_msg_ja.ts @@ -9,15 +9,15 @@ ABOUT_CAPTION - About SALOME-7.6.0p2 + About TUTO_COUPLING APP_NAME - SALOME-7.6.0p2 + TUTO_COUPLING APP_VERSION - V7.6.0p2 + V1.0 ABOUT_LICENSE @@ -25,11 +25,11 @@ ABOUT_VERSION - Version 7.6.0p2 + Version 1.0 ABOUT_TITLE - SALOME-7.6.0p2 + TUTO_COUPLING diff --git a/src/tests/README b/src/tests/README index be2a578..93eab5c 100644 --- a/src/tests/README +++ b/src/tests/README @@ -1 +1 @@ -This directory contains the tests of SALOME-7.6.0p2 +This directory contains the tests of TUTO_COUPLING -- 2.39.2