--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS)
+install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ FILES_MATCHING PATTERN *.py
+ PATTERN CVS EXCLUDE
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
from A_VALIDATOR import OrdList,NoRepeat,LongStr,Compulsory
from A_VALIDATOR import RangeVal, EnumVal, TypeVal, PairVal
from A_VALIDATOR import CardVal, InstanceVal
-#from A_VALIDATOR import VerifTypeTuple
+from A_VALIDATOR import VerifTypeTuple
# On remplace la factory des validateurs initialement dans Noyau par celle
# de A_VALIDATOR
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation des fichiers d'aide : Open TURNS
+if (WITH_OPENTURNS)
+ install ( FILES eficas_OPENTURNS_STUDY.adp
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide
+ )
+ add_subdirectory ( fichiers_OPENTURNS_STUDY )
+endif (WITH_OPENTURNS)
+
+# Installation des fichiers d'aide : Aster
+if (WITH_ASTER)
+ install ( FILES eficas_ASTER.adp
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide
+ )
+ add_subdirectory ( fichiers_ASTER )
+endif (WITH_ASTER)
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation des fichiers d'aide : Aster
+if (WITH_ASTER)
+ install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide
+ FILES_MATCHING PATTERN *.txt PATTERN *.html
+ PATTERN CMakeLists.txt EXCLUDE
+ PATTERN CVS EXCLUDE
+ )
+endif (WITH_ASTER)
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation des fichiers d'aide : Open TURNS
+if (WITH_OPENTURNS)
+ install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/Aide
+ FILES_MATCHING PATTERN *.txt PATTERN *.html
+ PATTERN CMakeLists.txt EXCLUDE
+ PATTERN CVS EXCLUDE
+ )
+endif (WITH_OPENTURNS)
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+cmake_minimum_required ( VERSION 2.8 )
+
+project ( Eficas CXX C )
+
+# Definition du chemin d'acces aux modules additionnels
+set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/CMakeModules" )
+
+# Detection de Python
+find_package ( PythonInterp 2.4 REQUIRED )
+if (PYTHONINTERP_FOUND)
+ string ( RANDOM tmpPyScript )
+ set ( tmpPyScript "${tmpPyScript}.py" )
+ file ( WRITE ${tmpPyScript}
+"# Automaticaly generated by CMake. Do NOT edit. Changes will be lost
+import sys
+print '%d.%d' % ( sys.version_info[0], sys.version_info[1] )
+" )
+ get_source_file_property ( PYSCRIPT_LOC ${tmpPyScript} LOCATION )
+ execute_process ( COMMAND ${PYTHON_EXECUTABLE} ${PYSCRIPT_LOC}
+ OUTPUT_VARIABLE PYTHON_VERSION
+ #ERROR_QUIET
+ OUTPUT_STRIP_TRAILING_WHITESPACE )
+ file ( REMOVE ${tmpPyScript} )
+endif (PYTHONINTERP_FOUND)
+message ( STATUS "Using Python version ${PYTHON_VERSION}" )
+# Detection de QT4
+find_package ( Qt4 COMPONENTS QtCore QtGui REQUIRED )
+include( ${QT_USE_FILE} )
+
+# Detection de PyQt4
+if (NOT PYQT4_FOUND)
+ execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "\"import PyQt4\""
+ RESULT_VARIABLE _res
+ OUTPUT_VARIABLE _trashout
+ ERROR_VARIABLE _trasherr
+ )
+ if (NOT _res)
+ message ( STATUS "Looking for Python package PyQt4 - found" )
+ set ( PYQT4_FOUND 1 CACHE INTERNAL "True if Python package PyQt4 is here" )
+ else (NOT _res)
+ message ( STATUS "Looking for Python package PyQt4 - not found" )
+ set ( PYQT4_FOUND 0 CACHE INTERNAL "True if Python package PyQt4 is here" )
+ endif (NOT _res)
+endif (NOT PYQT4_FOUND)
+
+if (NOT PYQT4_FOUND)
+ message ( FATAL_ERROR "Python package PyQt4 is REQUIRED" )
+endif (NOT PYQT4_FOUND)
+
+# Detection de pyuic4
+find_program ( PYUIC4 NAMES pyuic4
+ DOC "Path to the pyuic4 compilation tool"
+ )
+if (NOT PYUIC4)
+ message ( FATAL_ERROR "pyuic4 tool is REQUIRED" )
+endif (NOT PYUIC4)
+
+# Definition des options de CMake
+option ( WITH_ALL_PACKAGES "Install all package files" OFF )
+option ( WITH_OPENTURNS "Install Open TURNS files" OFF )
+option ( WITH_ASTER "Install Aster files" OFF )
+option ( WITH_MAP "Install MAP files" OFF )
+
+set ( _OPTIONLIST
+ WITH_OPENTURNS
+ WITH_ASTER
+ WITH_MAP
+ )
+
+if (WITH_ALL_PACKAGES)
+ foreach ( _opt ${_OPTIONLIST} )
+ set ( ${_opt} ON )
+ endforeach ( _opt )
+endif (WITH_ALL_PACKAGES)
+
+# Verification: au moins une option doit etre selectionnee
+set ( _VALIDOPT FALSE )
+foreach ( _opt ${_OPTIONLIST} )
+ if ( ${_opt} )
+ set ( _VALIDOPT TRUE )
+ string ( REPLACE WITH_ "" _opt2 ${_opt} )
+ message ( STATUS "Will install package ${_opt2}" )
+ endif ( ${_opt} )
+endforeach ( _opt )
+if ( NOT ${_VALIDOPT} )
+ message ( FATAL_ERROR "At least one option within ${_OPTIONLIST} must be selected" )
+endif ( NOT ${_VALIDOPT} )
+
+# Detection des prerequis lies aux options
+if (WITH_OPENTURNS)
+ find_package ( OpenTURNS REQUIRED )
+endif (WITH_OPENTURNS)
+
+#if (WITH_ASTER)
+# find_package ( Aster REQUIRED )
+#endif (WITH_ASTER)
+
+#if (WITH_MAP)
+# find_package ( MAP REQUIRED )
+#endif (WITH_MAP)
+
+
+# Parcours recursif des sous-repertoires
+add_subdirectory ( Accas )
+add_subdirectory ( Aide )
+add_subdirectory ( Editeur )
+add_subdirectory ( Extensions )
+add_subdirectory ( Ihm )
+add_subdirectory ( InterfaceQT4 )
+add_subdirectory ( Noyau )
+add_subdirectory ( UiQT4 )
+add_subdirectory ( Validation )
+add_subdirectory ( convert )
+add_subdirectory ( generator )
+
+# Installation des fichiers : Open TURNS
+if (WITH_OPENTURNS)
+ add_subdirectory ( Openturns_Study )
+ add_subdirectory ( Openturns_Wrapper )
+endif (WITH_OPENTURNS)
+
+# Installation des fichiers : Aster
+#if (WITH_ASTER)
+# add_subdirectory ( Aster )
+#endif (WITH_ASTER)
+
+# Installation des fichiers : MAP
+if (WITH_MAP)
+ add_subdirectory ( MAP )
+endif (WITH_MAP)
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# - Try to find OpenTURNS
+# Once done this will define
+#
+# OpenTURNS_FOUND - system has OT
+# OpenTURNS_INCLUDE_DIR - the OT include directory
+# OpenTURNS_INCLUDE_DIRS - the OT include directory and dependencies include directories
+# OpenTURNS_LIBRARY - Where to find the OT library
+# OpenTURNS_LIBRARIES - Link these to use OT
+# OpenTURNS_WRAPPER_DIR - Wrappers directory
+# OpenTURNS_WRAPPER_DEFINITIONS - Compiler switches required for using OT wrapper
+# OpenTURNS_MODULE_DIR - OT module directory
+# OpenTURNS_MODULE_DEFINITIONS - Compiler switches required for using OT module
+# OpenTURNS_SWIG_INCLUDE_DIR - the OT include directory to swig interface
+#
+# Copyright (c) 2009 Mathieu Lapointe <lapointe@phimeca.com>
+# Copyright (c) 2010 Julien Schueller <schueller@phimeca.com>
+#
+# Redistribution and use is allowed according to the terms of the New
+# BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+#
+
+include (CheckFunctionExists)
+include (CheckIncludeFile)
+include (CheckIncludeFileCXX)
+include (FindPackageHandleStandardArgs)
+
+# check dependencies
+find_package(LibXml2 2.6.27)
+find_package(PythonLibs ${PYTHON_VERSION})
+
+# test if variables are not already in cache
+if (NOT (OpenTURNS_INCLUDE_DIR
+ AND OpenTURNS_SWIG_INCLUDE_DIR
+ AND OpenTURNS_INCLUDE_DIRS
+ AND OpenTURNS_LIBRARY
+ AND OpenTURNS_LIBRARIES
+ AND OpenTURNS_WRAPPER_DIR
+ AND OpenTURNS_PYTHON_MODULE_DIR
+ AND OpenTURNS_MODULE_DIR))
+
+ # set include dir
+ if (NOT OpenTURNS_INCLUDE_DIR)
+ find_path (OpenTURNS_INCLUDE_DIR
+ NAMES
+ OT.hxx
+ HINTS
+ ${OPENTURNS_DIR}
+ /usr
+ /usr/local
+ /opt
+ PATH_SUFFIXES
+ include/openturns
+ DOC
+ "OpenTURNS include directory"
+ )
+ endif ()
+
+ # set swig include dir
+ if (NOT OpenTURNS_SWIG_INCLUDE_DIR)
+ set(OpenTURNS_SWIG_INCLUDE_DIR "${OpenTURNS_INCLUDE_DIR}/swig")
+ endif ()
+
+ # dependencies includes
+ if (NOT OpenTURNS_INCLUDE_DIRS)
+ set (OpenTURNS_INCLUDE_DIRS ${OpenTURNS_INCLUDE_DIR})
+ list (APPEND OpenTURNS_INCLUDE_DIRS ${LIBXML2_INCLUDE_DIR})
+ list (APPEND OpenTURNS_INCLUDE_DIRS ${PYTHON_INCLUDE_DIRS})
+ endif ()
+
+ # check for library directory
+ if (NOT OpenTURNS_LIBRARY)
+ find_library (OpenTURNS_LIBRARY
+ NAMES
+ OT
+ HINTS
+ ${OPENTURNS_DIR}
+ /usr
+ /usr/local
+ /opt
+ PATH_SUFFIXES
+ lib/openturns
+ DOC
+ "OpenTURNS library location"
+ )
+ endif ()
+
+ # find dependent libraries
+ if (NOT OpenTURNS_LIBRARIES)
+ set (OpenTURNS_LIBRARIES ${OpenTURNS_LIBRARY} ${LIBXML2_LIBRARIES} ${PYTHON_LIBRARIES})
+ list (APPEND OpenTURNS_LIBRARIES ${LIBXML2_LIBRARIES})
+ list (APPEND OpenTURNS_LIBRARIES ${PYTHON_LIBRARIES})
+ endif ()
+
+ # retrieve path to lib
+ get_filename_component (OpenTURNS_LIBRARY_PATH ${OpenTURNS_LIBRARY} PATH)
+
+ # retrieve install path
+ set (OpenTURNS_INSTALL_PATH "${OpenTURNS_LIBRARY_PATH}/../..")
+
+ # find wrappers dir
+ if (NOT OpenTURNS_WRAPPER_DIR)
+ find_path (OpenTURNS_WRAPPER_DIR
+ NAMES
+ wrapper.xml wrapper.dtd
+ HINTS
+ ${OPENTURNS_DIR}
+ ${OpenTURNS_INSTALL_PATH}
+ /usr
+ /usr/local
+ /opt
+ PATH_SUFFIXES
+ share/openturns/wrappers
+ DOC
+ "OpenTURNS wrappers location"
+ )
+ endif ()
+
+ # set wrapper definitions
+ if (NOT OpenTURNS_WRAPPER_DEFINITIONS)
+ set(OpenTURNS_WRAPPER_DEFINITIONS)
+ check_include_file_cxx (pthread.h HAVE_PTHREAD_H)
+ if (HAVE_PTHREAD_H)
+ list (APPEND OpenTURNS_WRAPPER_DEFINITIONS -DHAVE_PTHREAD_H)
+ endif ()
+ endif ()
+
+ # find python module dir
+ if (NOT OpenTURNS_PYTHON_MODULE_DIR)
+ find_path (OpenTURNS_PYTHON_MODULE_DIR
+ NAMES
+ openturns.pth
+ HINTS
+ ${OPENTURNS_DIR}
+ ${OpenTURNS_INSTALL_PATH}
+ /usr
+ /usr/local
+ /opt
+ PATH_SUFFIXES
+ lib/python${PYTHON_VERSION}/site-packages
+ DOC
+ "OpenTURNS python module location"
+ )
+ endif ()
+
+
+ # find module directory
+ if (NOT OpenTURNS_MODULE_DIR)
+ set (OpenTURNS_MODULE_DIR
+ ${OpenTURNS_LIBRARY_PATH}/module
+ )
+ endif ()
+
+ # set module definitions
+ if (NOT OpenTURNS_MODULE_DEFINITIONS)
+ set (OpenTURNS_MODULE_DEFINITIONS)
+
+ # check for STDC_HEADERS
+ check_include_file (stdlib.h HAVE_STDLIB_H)
+ check_include_file (stdarg.h HAVE_STDARG_H)
+ check_include_file (string.h HAVE_STRING_H)
+ check_include_file (float.h HAVE_FLOAT_H)
+ check_function_exists (memchr HAVE_MEMCHR)
+ check_function_exists (free HAVE_FREE)
+ check_include_file (ctype.h HAVE_CTYPE_H)
+ if(HAVE_STDLIB_H AND HAVE_STDARG_H AND HAVE_STRING_H AND HAVE_FLOAT_H AND HAVE_MEMCHR AND HAVE_FREE AND HAVE_CTYPE_H)
+ list (APPEND OpenTURNS_MODULE_DEFINITIONS -DSTDC_HEADERS_H=1)
+ else ()
+ list (APPEND OpenTURNS_MODULE_DEFINITIONS -DSTDC_HEADERS_H=0)
+ endif ()
+
+ # this macro checks a header and defines the corresponding macro
+ macro(check_include_files_define_macro header_file)
+ # get macro name from header_file
+ string(TOUPPER ${header_file} macro_name)
+ string(REGEX REPLACE "[/.]" "_" macro_name ${macro_name})
+ set(macro_name HAVE_${macro_name})
+ # check for header
+ check_include_file(${header_file} ${macro_name})
+ # define macro
+ if(${macro_name})
+ list (APPEND OpenTURNS_MODULE_DEFINITIONS -D${macro_name}=1)
+ else()
+ list (APPEND OpenTURNS_MODULE_DEFINITIONS -D${macro_name}=0)
+ endif()
+ endmacro()
+
+ # check for some headers
+ check_include_files_define_macro(sys/types.h)
+ check_include_files_define_macro(sys/stat.h)
+ check_include_files_define_macro(stdlib.h)
+ check_include_files_define_macro(string.h)
+ check_include_files_define_macro(memory.h)
+ check_include_files_define_macro(strings.h)
+ check_include_files_define_macro(inttypes.h)
+ check_include_files_define_macro(stdint.h)
+ check_include_files_define_macro(unistd.h)
+ check_include_files_define_macro(dlfcn.h)
+ check_include_files_define_macro(stdbool.h)
+ check_include_files_define_macro(regex.h)
+
+ endif ()
+
+endif ()
+
+# handle the QUIETLY and REQUIRED arguments and set OpenTURNS_FOUND to TRUE if
+# all listed variables are TRUE
+find_package_handle_standard_args (OpenTURNS DEFAULT_MSG
+ OpenTURNS_LIBRARY
+ OpenTURNS_INCLUDE_DIR
+ OpenTURNS_SWIG_INCLUDE_DIR
+ OpenTURNS_INCLUDE_DIRS
+ OpenTURNS_LIBRARIES
+ OpenTURNS_WRAPPER_DIR
+ OpenTURNS_PYTHON_MODULE_DIR
+ OpenTURNS_MODULE_DIR
+)
+
+mark_as_advanced (
+ OpenTURNS_LIBRARY
+ OpenTURNS_INCLUDE_DIR
+ OpenTURNS_SWIG_INCLUDE_DIR
+ OpenTURNS_INCLUDE_DIRS
+ OpenTURNS_LIBRARIES
+ OpenTURNS_WRAPPER_DIR
+ OpenTURNS_WRAPPER_DEFINITIONS
+ OpenTURNS_MODULE_DIR
+ OpenTURNS_PYTHON_MODULE_DIR
+ OpenTURNS_MODULE_DEFINITIONS
+)
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation de tous les fichiers Python, texte et images du repertoire et des sous-repertoires (sauf CVS)
+install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ FILES_MATCHING PATTERN *.py PATTERN *.txt PATTERN *.gif PATTERN *.png
+ PATTERN CMakeLists.txt EXCLUDE
+ PATTERN Patrons EXCLUDE
+ PATTERN CVS EXCLUDE
+ )
+add_subdirectory ( Patrons )
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Question : Doit-on installer le repertoire Patrons meme s'il est vide ?
+
+# Installation des fichiers d'aide : Open TURNS
+#if (WITH_OPENTURNS)
+# install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/OPENTURNS_STUDY
+# DESTINATION ${CMAKE_INSTALL_PREFIX}/Editeur/Patrons
+# FILES_MATCHING PATTERN *.comm
+# PATTERN CVS EXCLUDE
+# )
+#endif (WITH_OPENTURNS)
+
+# Installation des fichiers d'aide : Aster
+if (WITH_ASTER)
+ install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ASTER
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/Editeur/Patrons
+ FILES_MATCHING PATTERN *.comm
+ PATTERN CVS EXCLUDE
+ )
+endif (WITH_ASTER)
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS)
+install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ FILES_MATCHING PATTERN *.py
+ PATTERN CVS EXCLUDE
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS)
+install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ FILES_MATCHING PATTERN *.py
+ PATTERN CVS EXCLUDE
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS)
+install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ FILES_MATCHING PATTERN *.py
+ PATTERN CVS EXCLUDE
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+#configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_WRAPPER.py.in
+# ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_WRAPPER.py
+# @ONLY )
+
+install ( FILES qtEficas_map.py
+ prefs.py
+ prefs_Map.py
+ configuration_Map.py
+ style.py
+ catalogues_Map.ini
+ Map1_Cata_V1.py
+ benhur_pygmee.txt
+ test_module.bhr
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/MAP
+ )
+
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS)
+install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ FILES_MATCHING PATTERN *.py
+ PATTERN CVS EXCLUDE
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Question : Que faire des fichiers sdistOTqt.py et style.py
+
+configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_STUDY.py.in
+ ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_STUDY.py
+ @ONLY )
+
+install ( FILES qtEficas_openturns_study.py
+ ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_STUDY.py
+ prefs.py
+ configuration_OPENTURNS_STUDY.py
+ opsOT.py
+ catalogues_openturns.ini
+ OpenTURNS_Cata_Study_V8.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/Openturns_Study
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
# OpenTURNS Python module
-OpenTURNS_path="/local00/home/dutka/OpenTURNS/merge/trunk/build/install/lib/python2.4/site-packages"
+OpenTURNS_path="/local00/home/dutka/OpenTURNS/trunk-cmake/build-autotools/install/lib/python2.4/site-packages"
# Choix des catalogues
sys.path[:0]=[INSTALLDIR, OpenTURNS_path]
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+import os, sys
+# Les variables pouvant positionnees sont :
+print "import des prefs de OPENTURNS"
+
+# REPINI sert à localiser le fichier
+# initialdir sert comme directory initial des QFileDialog
+# positionnee a repin au debut mise a jour dans configuration
+REPINI=os.path.dirname(os.path.abspath(__file__))
+initialdir=REPINI
+
+# INSTALLDIR sert à localiser l'installation d'Eficas
+INSTALLDIR=os.path.join(REPINI,'..')
+
+
+# Codage des strings qui accepte les accents (en remplacement de 'ascii')
+# lang indique la langue utilisée pour les chaines d'aide : fr ou ang
+lang='fr'
+encoding='iso-8859-1'
+
+# Acces a la documentation
+rep_cata = INSTALLDIR
+path_doc = os.path.join(rep_cata,'Doc')
+exec_acrobat = "/usr/bin/xpdf"
+savedir = os.environ['HOME']
+
+
+# OpenTURNS Python module
+OpenTURNS_path="@OpenTURNS_PYTHON_MODULE_DIR@"
+# Choix des catalogues
+sys.path[:0]=[INSTALLDIR, OpenTURNS_path]
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Question : Que faire des fichiers sdistOTqt.py et style.py
+
+configure_file ( ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_WRAPPER.py.in
+ ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_WRAPPER.py
+ @ONLY )
+
+install ( FILES qtEficas_openturns_wrapper.py
+ ${CMAKE_CURRENT_SOURCE_DIR}/prefs_OPENTURNS_WRAPPER.py
+ prefs.py
+ configuration_OPENTURNS_WRAPPER.py
+ catalogues_openturns.ini
+ OpenTURNS_Cata_Wrapper_V3.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/Openturns_Wrapper
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
# OpenTURNS Python module
-OpenTURNS_path="/local00/home/dutka/OpenTURNS/merge/trunk/build/install/lib/python2.4/site-packages"
+OpenTURNS_path="/local00/home/dutka/OpenTURNS/trunk-cmake/build-autotools/install/lib/python2.4/site-packages"
# Choix des catalogues
sys.path[:0]=[INSTALLDIR, OpenTURNS_path]
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+import os, sys
+# Les variables pouvant positionnees sont :
+print "import des prefs de OPENTURNS"
+
+# REPINI sert à localiser le fichier
+# initialdir sert comme directory initial des QFileDialog
+# positionnee a repin au debut mise a jour dans configuration
+REPINI=os.path.dirname(os.path.abspath(__file__))
+initialdir=REPINI
+
+# INSTALLDIR sert à localiser l'installation d'Eficas
+INSTALLDIR=os.path.join(REPINI,'..')
+
+
+# Codage des strings qui accepte les accents (en remplacement de 'ascii')
+# lang indique la langue utilisée pour les chaines d'aide : fr ou ang
+lang='fr'
+encoding='iso-8859-1'
+
+# Acces a la documentation
+rep_cata = INSTALLDIR
+path_doc = os.path.join(rep_cata,'Doc')
+exec_acrobat = "/usr/bin/xpdf"
+savedir = os.environ['HOME']
+
+
+# OpenTURNS Python module
+OpenTURNS_path="@OpenTURNS_PYTHON_MODULE_DIR@"
+# Choix des catalogues
+sys.path[:0]=[INSTALLDIR, OpenTURNS_path]
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+set ( _PYFILES )
+macro ( eficas_compile_ui uifile )
+ get_filename_component ( _file_we ${uifile} NAME_WE )
+ set ( _pyfile "${_file_we}.py" )
+ add_custom_command ( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile}
+ COMMAND ${PYUIC4} ARGS -x -o ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} ${CMAKE_CURRENT_SOURCE_DIR}/${uifile}
+ MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/${uifile}
+ COMMENT "Compiling ${uifile}"
+ )
+ list ( APPEND _PYFILES ${CMAKE_CURRENT_BINARY_DIR}/${_pyfile} )
+endmacro ( eficas_compile_ui )
+
+eficas_compile_ui ( OptionsCuve.ui )
+eficas_compile_ui ( OptionsEditeur.ui )
+eficas_compile_ui ( OptionsOT.ui )
+eficas_compile_ui ( OptionsPdf.ui )
+eficas_compile_ui ( aideQT.ui )
+eficas_compile_ui ( desChoixCata.ui )
+eficas_compile_ui ( desChoixMap.ui )
+eficas_compile_ui ( desCommande.ui )
+eficas_compile_ui ( desCommentaire.ui )
+eficas_compile_ui ( desError.ui )
+eficas_compile_ui ( desFormule.ui )
+eficas_compile_ui ( desInactif.ui )
+eficas_compile_ui ( desInclude.ui )
+eficas_compile_ui ( desListeParam.ui )
+eficas_compile_ui ( desMCFact.ui )
+eficas_compile_ui ( desMCListAjout.ui )
+eficas_compile_ui ( desMatrice.ui )
+eficas_compile_ui ( desParam.ui )
+eficas_compile_ui ( desPixmap.ui )
+eficas_compile_ui ( desPlusieursBase.ui )
+eficas_compile_ui ( desPlusieursInto.ui )
+eficas_compile_ui ( desPoursuite.ui )
+eficas_compile_ui ( desRacine.ui )
+eficas_compile_ui ( desSelectVal.ui )
+eficas_compile_ui ( desUniqueASSD.ui )
+eficas_compile_ui ( desUniqueBase.ui )
+eficas_compile_ui ( desUniqueComp.ui )
+eficas_compile_ui ( desUniqueInto.ui )
+eficas_compile_ui ( desUniqueSDCO.ui )
+eficas_compile_ui ( desUniqueSDCOInto.ui )
+eficas_compile_ui ( desViewTexte.ui )
+eficas_compile_ui ( desVisu.ui )
+eficas_compile_ui ( myMain.ui )
+
+add_custom_target ( CompileUI ALL DEPENDS ${_PYFILES}
+ COMMENT "Built UI files"
+ )
+
+install ( FILES ${_PYFILES}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/UiQT4
+ )
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+# Installation de tous les fichiers Python du repertoire et des sous-repertoires (sauf CVS)
+install ( DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ DESTINATION ${CMAKE_INSTALL_PREFIX}
+ FILES_MATCHING PATTERN *.py
+ PATTERN CVS EXCLUDE
+ )
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+install ( FILES __init__.py parseur_python.py convert_python.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/convert
+ )
+
+# Installation des fichiers : Open TURNS
+if (WITH_OPENTURNS)
+ install ( FILES convert_openturns_study.py convert_openturns_wrapper.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/convert
+ )
+endif (WITH_OPENTURNS)
+
+# Installation des fichiers : Aster
+if (WITH_ASTER)
+ install ( FILES convert_asterv5.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/convert
+ )
+ install ( DIRECTORY Parserv5
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/convert
+ FILES_MATCHING PATTERN *.py PATTERN *.tag PATTERN README
+ PATTERN CVS EXCLUDE
+ )
+endif (WITH_ASTER)
+
+# Installation des fichiers : MAP
+if (WITH_MAP)
+ install ( FILES convert_map.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/convert
+ )
+endif (WITH_MAP)
+
+
+### Local Variables:
+### mode: cmake
+### End:
--- /dev/null
+# -*- coding: utf-8 -*-
+# CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+# (AT YOUR OPTION) ANY LATER VERSION.
+#
+# THIS PROGRAM 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
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+#
+#
+# ======================================================================
+
+install ( FILES __init__.py generator_python.py Formatage.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/generator
+ )
+
+# Installation des fichiers : Open TURNS
+if (WITH_OPENTURNS)
+ install ( FILES generator_openturns.py generator_openturns_study.py generator_openturns_wrapper.py
+ OpenturnsBase.py OpenturnsSTD.py OpenturnsXML.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/generator
+ )
+endif (WITH_OPENTURNS)
+
+# Installation des fichiers : Aster
+if (WITH_ASTER)
+ install ( FILES generator_asterv5.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/generator
+ )
+endif (WITH_ASTER)
+
+# Installation des fichiers : MAP
+if (WITH_MAP)
+ install ( FILES generator_map.py
+ DESTINATION ${CMAKE_INSTALL_PREFIX}/generator
+ )
+endif (WITH_MAP)
+
+
+
+### Local Variables:
+### mode: cmake
+### End: