Salome HOME
Documentation, comments and potential minor bug correction
[modules/adao.git] / examples / CMakeLists.txt
1 # Copyright (C) 2008-2020 EDF R&D
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 # Author: Anthony Geay, anthony.geay@edf.fr, EDF R&D
20
21 set(prefix ${CMAKE_INSTALL_PREFIX})
22
23 SALOME_CONFIGURE_FILE(daSalome/test003_ADAO_JDC_using_scripts.comm.in test003_ADAO_JDC_using_scripts.comm)
24 SALOME_CONFIGURE_FILE(daSalome/test003_bis_ADAO_JDC_using_user_data_init.comm.in test003_bis_ADAO_JDC_using_user_data_init.comm)
25 SALOME_CONFIGURE_FILE(daSalome/test005_ADAO_Operators.comm.in test005_ADAO_Operators.comm)
26
27 SALOME_CONFIGURE_FILE(daSalome/test004_ADAO_JDC_using_scripts.comm.in test004_ADAO_JDC_using_scripts.comm)
28 SALOME_CONFIGURE_FILE(daSalome/test006_Observers.comm.in test006_Observers.comm)
29
30
31 SALOME_CONFIGURE_FILE(daSalome/test003_ADAO_JDC_using_scripts.py.in test003_ADAO_JDC_using_scripts.py)
32 SALOME_CONFIGURE_FILE(daSalome/test003_bis_ADAO_JDC_using_user_data_init.py.in test003_bis_ADAO_JDC_using_user_data_init.py)
33 SALOME_CONFIGURE_FILE(daSalome/test005_ADAO_Operators.py.in test005_ADAO_Operators.py)
34
35 SALOME_CONFIGURE_FILE(daSalome/test004_ADAO_JDC_using_scripts.py.in test004_ADAO_JDC_using_scripts.py)
36 SALOME_CONFIGURE_FILE(daSalome/test006_Observers.py.in test006_Observers.py)
37
38 set(EXAMPLES_FILES_TO_INSTALL
39   daSalome/test001_ADAO_JDC_using_strings.comm
40   daSalome/test001_ADAO_JDC_using_strings.py
41   daSalome/test002_ADAO_JDC_using_strings.comm
42   daSalome/test002_ADAO_JDC_using_strings.py
43   ${CMAKE_CURRENT_BINARY_DIR}/test003_ADAO_JDC_using_scripts.comm
44   ${CMAKE_CURRENT_BINARY_DIR}/test003_ADAO_JDC_using_scripts.py
45   daSalome/test003_ADAO_scripts_for_JDC.py
46   ${CMAKE_CURRENT_BINARY_DIR}/test003_bis_ADAO_JDC_using_user_data_init.comm
47   ${CMAKE_CURRENT_BINARY_DIR}/test003_bis_ADAO_JDC_using_user_data_init.py
48   daSalome/test003_bis_ADAO_user_data_init.py
49   ${CMAKE_CURRENT_BINARY_DIR}/test004_ADAO_JDC_using_scripts.comm
50   ${CMAKE_CURRENT_BINARY_DIR}/test004_ADAO_JDC_using_scripts.py
51   ${CMAKE_CURRENT_BINARY_DIR}/test005_ADAO_Operators.comm
52   ${CMAKE_CURRENT_BINARY_DIR}/test005_ADAO_Operators.py
53   daSalome/test005_ADAO_scripts_for_JDC.py
54   ${CMAKE_CURRENT_BINARY_DIR}/test006_Observers.comm
55   ${CMAKE_CURRENT_BINARY_DIR}/test006_Observers.py
56   daSalome/test006_Observers_Observation_Operator.py
57   daSalome/test006_Observers_observer_with_file.py
58   daSalome/test006_Observers_var.py
59   daSalome/test008_ADAO_Elementary_GradientTest.comm
60   daSalome/test008_ADAO_Elementary_GradientTest.py
61   daSalome/test009_ADAO_Simple_GradientTest.comm
62   daSalome/test009_ADAO_Simple_GradientTest.py
63   daSalome/test010_ADAO_Simple_AdjointTest.comm
64   daSalome/test010_ADAO_Simple_AdjointTest.py
65   )
66
67 install(FILES ${EXAMPLES_FILES_TO_INSTALL} DESTINATION "share/adao_examples/daSalome")
68
69 SALOME_CONFIGURE_FILE(daSkeletons/External_data_definition_by_scripts/ADAO_Case.comm.in ADAO_Case.comm)
70
71 set(SKELETON_FILES_TO_INSTALL
72   ${CMAKE_CURRENT_BINARY_DIR}/ADAO_Case.comm
73   daSkeletons/External_data_definition_by_scripts/Physical_data_and_covariance_matrices.py
74   daSkeletons/External_data_definition_by_scripts/Script_AlgorithmParameters.py
75   daSkeletons/External_data_definition_by_scripts/Script_Background_xb.py
76   daSkeletons/External_data_definition_by_scripts/Script_ObservationOperator_H.py
77   daSkeletons/External_data_definition_by_scripts/Script_UserPostAnalysis.py
78   daSkeletons/External_data_definition_by_scripts/Physical_simulation_functions.py
79   daSkeletons/External_data_definition_by_scripts/Script_BackgroundError_B.py
80   daSkeletons/External_data_definition_by_scripts/Script_ObservationError_R.py
81   daSkeletons/External_data_definition_by_scripts/Script_Observation_yo.py
82   )
83
84 install(FILES ${SKELETON_FILES_TO_INSTALL} DESTINATION "share/adao_examples/daSkeletons/External_data_definition_by_scripts")