# Definition des options de CMake
option ( WITH_ALL_PACKAGES "Install all package files" OFF )
-option ( WITH_MAP "Install MAP files" OFF )
option ( WITH_CARMEL "Install CARMEL files" OFF )
option ( WITH_SEP "Install SEP files" OFF )
option ( WITH_ZCRACKS "Install ZCRACKS files" OFF )
option ( IN_SALOME_CONTEXT "Configure Eficas for use in Salome" OFF )
set ( _OPTIONLIST
- WITH_MAP
WITH_CARMEL
WITH_TELEMAC_CATA
)
message ( FATAL_ERROR "At least one option within ${_OPTIONLIST} must be selected" )
endif ( NOT ${_VALIDOPT} )
-if (WITH_MAP)
- find_package ( MAP REQUIRED )
-endif (WITH_MAP)
-
-
# Parcours recursif des sous-repertoires
add_subdirectory ( Traducteur )
-# Installation des fichiers : MAP
-if (WITH_MAP)
- add_subdirectory ( MAP )
-endif (WITH_MAP)
-
# Installation des fichiers : CARMEL
if (WITH_CARMEL)
add_subdirectory ( Carmel3D )
add_subdirectory ( CarmelCS )
endif (WITH_CARMEL)
-# Installation des fichiers : Sep
-if (WITH_SEP)
- add_subdirectory ( Sep )
-endif (WITH_SEP)
# Installation des fichiers : ZCracks
if (WITH_ZCRACKS)
#
# ======================================================================
-install ( FILES __init__.py parseur_python.py convert_python.py
- convert_file_from_template.py
+install ( FILES __init__.py parseur_python.py convert_python.py convert_TELEMAC.py
+ convert_file_from_template.py convert_map.py
DESTINATION ${CMAKE_INSTALL_PREFIX}/convert
)
-# Installation des fichiers : MAP
-if (WITH_MAP)
- install ( FILES convert_map.py
- DESTINATION ${CMAKE_INSTALL_PREFIX}/convert
- )
-endif (WITH_MAP)
### Local Variables:
#
# ======================================================================
-install ( FILES __init__.py generator_python.py Formatage.py generator_aplat.py
- generator_file_from_template.py
+install ( FILES __init__.py generator_python.py Formatage.py generator_aplat.py generator_TELEMAC.py
+ generator_file_from_template.py generator_map.py
DESTINATION ${CMAKE_INSTALL_PREFIX}/generator
)
-# Installation des fichiers : MAP
-if (WITH_MAP)
- install ( FILES generator_map.py
- DESTINATION ${CMAKE_INSTALL_PREFIX}/generator
- )
-endif (WITH_MAP)
# Installation des fichiers : CARMEL
if (WITH_CARMEL)
endif (WITH_CARMEL)
-# Installation des fichiers : SEP
-if (WITH_SEP)
- install ( FILES generator_SEP.py tube.py
- DESTINATION ${CMAKE_INSTALL_PREFIX}/generator
- )
-endif (WITH_SEP)
### Local Variables: