# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.8 FATAL_ERROR)
-PROJECT(Salome_SALOME_Profile C CXX)
+PROJECT(Salome_SALOME-7.7.0_Profile C CXX)
# Ensure a proper linker behavior:
CMAKE_POLICY(SET CMP0003 NEW)
# User options
# ============
OPTION(SALOME_BUILD_TESTS "Build SALOME tests" ON)
-OPTION(SALOME_BUILD_DOC "Generate SALOME SALOME documentation" ON)
+OPTION(SALOME_BUILD_DOC "Generate SALOME SALOME-7.7.0 documentation" ON)
IF(SALOME_BUILD_TESTS)
ENABLE_TESTING()
# ===========
SET(SALOME_INSTALL_SCRIPT_PYTHON "${SALOME_INSTALL_SCRIPT_PYTHON}" CACHE PATH "Install path: SALOME Python scripts")
-# Specific to SALOME:
-SET(SALOME_SALOME_PROFILE_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/salome_profile" CACHE PATH "Install path: SALOME SALOME specific data")
-SET(SALOME_SALOME_PROFILE_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME SALOME gui documentation")
-SET(SALOME_SALOME_PROFILE_HTML_STATIC_PATH "${SALOME_SALOME_PROFILE_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME SALOME html static data")
+# Specific to SALOME-7.7.0:
+SET(SALOME_SALOME-7.7.0_PROFILE_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/salome-7.7.0_profile" CACHE PATH "Install path: SALOME SALOME-7.7.0 specific data")
+SET(SALOME_SALOME-7.7.0_PROFILE_INSTALL_DOC_GUI "${SALOME_INSTALL_DOC}/gui/${PROJECT_NAME_UC}" CACHE PATH "Install path: SALOME SALOME-7.7.0 gui documentation")
+SET(SALOME_SALOME-7.7.0_PROFILE_HTML_STATIC_PATH "${SALOME_SALOME-7.7.0_PROFILE_INSTALL_DOC_GUI}/_static" CACHE PATH "Install path: SALOME SALOME-7.7.0 html static data")
MARK_AS_ADVANCED(SALOME_INSTALL_SCRIPT_PYTHON)
SET(_salome_context_BASHRC
${KERNEL_ROOT_DIR}/bin/salome/appliskel/.bashrc
)
-SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" $ENV{SALOME_PROFILE_ROOT_DIR})
+SALOME_INSTALL_SCRIPTS("${_salome_context_BASHRC}" $ENV{SALOME-7.7.0_PROFILE_ROOT_DIR})
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_PROFILE_INSTALL_DOC_GUI})
+INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ DESTINATION ${SALOME_SALOME-7.7.0_PROFILE_INSTALL_DOC_GUI})
SET(make_clean_files html doctrees)
SET_DIRECTORY_PROPERTIES(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${make_clean_files}")
-This directory contains the sources of SALOME's documentation
+This directory contains the sources of SALOME-7.7.0's documentation
master_doc = 'index'
# General information about the project.
-project = 'salome'
+project = 'salome-7.7.0'
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
# built documents.
#
# The short X.Y version.
-version = '@SALOMESALOME_MAJOR_VERSION@.@SALOMESALOME_MINOR_VERSION@'
+version = '@SALOMESALOME-7.7.0_MAJOR_VERSION@.@SALOMESALOME-7.7.0_MINOR_VERSION@'
# The full version, including alpha/beta/rc tags.
-release = '@SALOMESALOME_VERSION@'
+release = '@SALOMESALOME-7.7.0_VERSION@'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
# 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_PROFILE_INSTALL_DOC_GUI@/_static']
+html_static_path = ['@SALOME_SALOME-7.7.0_PROFILE_INSTALL_DOC_GUI@/_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_file_suffix = ''
# Output file base name for HTML help builder.
-htmlhelp_basename = 'salomedoc'
+htmlhelp_basename = 'salome-7.7.0doc'
# Options for LaTeX output
# 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.tex', 'SALOME User Documentation', 'A. Ribes', 'manual')
+ ('index', 'salome-7.7.0.tex', 'SALOME-7.7.0 User Documentation', 'A. Ribes', 'manual')
]
# The name of an image file (relative to this directory) to place at the top of
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-SALOME's documentation
+SALOME-7.7.0's documentation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Outline
Introduction
==========================================
-Welcome to SALOME's documentation!
+Welcome to SALOME-7.7.0's documentation!
#
# --- resources ---
-SET(SALOME_PROFILE_RESOURCES_FILES
+SET(SALOME-7.7.0_PROFILE_RESOURCES_FILES
app_icon.png
splash.png
about.png
)
# --- rules ---
-INSTALL(FILES ${SALOME_PROFILE_RESOURCES_FILES} DESTINATION ${SALOME_SALOME_PROFILE_INSTALL_RES_DATA})
+INSTALL(FILES ${SALOME-7.7.0_PROFILE_RESOURCES_FILES} DESTINATION ${SALOME_SALOME-7.7.0_PROFILE_INSTALL_RES_DATA})
# --- config ---
-SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_SALOME_PROFILE_INSTALL_RES_DATA})
+SALOME_CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml INSTALL ${SALOME_SALOME-7.7.0_PROFILE_INSTALL_RES_DATA})
# --- sub-directories ---
ADD_SUBDIRECTORY( doc )
<parameter name="standalone" value=""/>
</section>
<section name="splash">
- <parameter name="image" value="%SALOME_PROFILE_ROOT_DIR%/share/salome/resources/salome_profile/splash.png"/>
+ <parameter name="image" value="%SALOME-7.7.0_PROFILE_ROOT_DIR%/share/salome/resources/salome-7.7.0_profile/splash.png"/>
<parameter name="text_colors" value="#ffffff|#000000"/>
<parameter name="show_percents" value="yes"/>
<parameter name="show_progress" value="yes"/>
<parameter name="font" value="Xirod,12,normal"/>
</section>
<section name="resources">
- <parameter name="LightApp" value="%SALOME_PROFILE_ROOT_DIR%/share/salome/resources/salome_profile"/>
+ <parameter name="LightApp" value="%SALOME-7.7.0_PROFILE_ROOT_DIR%/share/salome/resources/salome-7.7.0_profile"/>
</section>
</document>
sample.pdf
)
-INSTALL(FILES ${_bin_DOCUMENTS} DESTINATION ${SALOME_SALOME_PROFILE_INSTALL_DOC_GUI})
+INSTALL(FILES ${_bin_DOCUMENTS} DESTINATION ${SALOME_SALOME-7.7.0_PROFILE_INSTALL_DOC_GUI})
-This directory contains binaries of SALOME's documentation
+This directory contains binaries of SALOME-7.7.0's documentation
# --- rules ---
-QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SALOME_PROFILE_INSTALL_RES_DATA}")
+QT4_INSTALL_TS_RESOURCES("${_ts_RESOURCES}" "${SALOME_SALOME-7.7.0_PROFILE_INSTALL_RES_DATA}")
</message>
<message>
<source>ABOUT_CAPTION</source>
- <translation>About SALOME</translation>
+ <translation>About SALOME-7.7.0</translation>
</message>
<message>
<source>APP_NAME</source>
- <translation>SALOME </translation>
+ <translation>SALOME-7.7.0 </translation>
</message>
<message>
<source>APP_VERSION</source>
- <translation>master</translation>
+ <translation>V7.7.1</translation>
</message>
<message>
<source>ABOUT_LICENSE</source>
</message>
<message>
<source>ABOUT_VERSION</source>
- <translation>Version master</translation>
+ <translation>Version 7.7.1</translation>
</message>
<message>
<source>ABOUT_TITLE</source>
- <translation>SALOME</translation>
+ <translation>SALOME-7.7.0</translation>
</message>
</context>
</TS>
</message>
<message>
<source>ABOUT_CAPTION</source>
- <translation>A propos de SALOME</translation>
+ <translation>A propos de SALOME-7.7.0</translation>
</message>
<message>
<source>APP_NAME</source>
- <translation>SALOME </translation>
+ <translation>SALOME-7.7.0 </translation>
</message>
<message>
<source>APP_VERSION</source>
- <translation>master</translation>
+ <translation>V7.7.1</translation>
</message>
<message>
<source>ABOUT_LICENSE</source>
</message>
<message>
<source>ABOUT_VERSION</source>
- <translation>Version master</translation>
+ <translation>Version 7.7.1</translation>
</message>
<message>
<source>ABOUT_TITLE</source>
- <translation>SALOME</translation>
+ <translation>SALOME-7.7.0</translation>
</message>
</context>
</TS>
</message>
<message>
<source>ABOUT_CAPTION</source>
- <translation>About SALOME</translation>
+ <translation>About SALOME-7.7.0</translation>
</message>
<message>
<source>APP_NAME</source>
- <translation>SALOME </translation>
+ <translation>SALOME-7.7.0 </translation>
</message>
<message>
<source>APP_VERSION</source>
- <translation>master</translation>
+ <translation>V7.7.1</translation>
</message>
<message>
<source>ABOUT_LICENSE</source>
</message>
<message>
<source>ABOUT_VERSION</source>
- <translation>Version master</translation>
+ <translation>Version 7.7.1</translation>
</message>
<message>
<source>ABOUT_TITLE</source>
- <translation>SALOME</translation>
+ <translation>SALOME-7.7.0</translation>
</message>
</context>
</TS>
Commands:
=========
- start Starts a SALOME session (through virtual application)
- context Initializes SALOME context.
- shell Initializes SALOME context, and executes scripts passed
- as command arguments
- connect Connects a Python console to the active SALOME session
- kill <port(s)> Terminate SALOME session running on given ports for current user
- Port numbers must be separated by blank characters
- killall Kill *all* SALOME running sessions for current user
+ start Start a new SALOME instance.
+ context Initialize SALOME context. Current environment is extended.
+ shell Initialize SALOME context, attached to the last created SALOME
+ instance if any, and executes scripts passed as command arguments.
+ User works in a Shell terminal; SALOME environment is set but
+ application is not started.
+ connect Connect a Python console to the active SALOME instance.
+ kill <port(s)> Terminate SALOME instances running on given ports for current user.
+ Port numbers must be separated by blank characters.
+ killall Terminate *all* SALOME running instances for current user.
+ Do not start a new one.
test Run SALOME tests.
- info Display some information about SALOME
- help Show this message
+ info Display some information about SALOME.
+ help Show this message.
If no command is given, default to start.
# Initialize SALOME environment
sys.argv = ['runSalome'] + args
import setenv
- setenv.main(True)
+ setenv.main(True, exeName="salome start")
import runSalome
runSalome.runSalome()
-This directory contains the tests of SALOME
+This directory contains the tests of SALOME-7.7.0