]> SALOME platform Git repositories - modules/med.git/blob - resources/CMakeLists.txt
Salome HOME
update doc and options
[modules/med.git] / resources / CMakeLists.txt
1 # Copyright (C) 2012-2015  CEA/DEN, 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, or (at your option) any later version.
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
20 SET(MED_RESOURCES_FILES
21   boitenew.cnc
22   boitenew.inp
23   boitenew.xyz
24   Case1.cnc
25   Case1.inp
26   Case1.xyz
27   cube.cnc
28   cube.inp
29   cube.xyz
30   test3.cnc
31   test3.inp
32   test3.xyz
33   titi.cnc
34   titi.inp
35   titi.xyz
36   carre_en_quad4.med
37   carre_en_quad4_seg2.med
38   cas_defaut_domaine_fluide.med
39   ChampsDarcy.med
40   cube_hexa8.med
41   cube_hexa8_quad4.med
42   darcy_1.1_res.med
43   darcy_1.3_resCASTEM.med
44   darcy_1.3_resPORFLOW.med
45   darcy_1.3_resTRACES.med
46   darcy2_Castem_EFMH.med
47   darcy2_Castem_qua_EFMH.med
48   darcy2_Castem_qua_VF.med
49   Darcy3_3D_H_10x10x10_2.med
50   Darcy3_3D_H_10x10x10.sauve
51   dx200_dy1_avec_2couches.sauve
52   elle_2D_QT_10x10.sauve
53   elle_2D_QT_2x2.sauve
54   elle_2D_QT_40x40.sauve
55   elle_2D_QT_4x4.sauve
56   elle_3D_HPr_10x10x10_2.med
57   elle_3D_HPr_10x10x10.sauve
58   elle_3D_HPr_2x2x2_2.med
59   elle_3D_HPr_2x2x2.sauve
60   elle_3D_HPr_4x4x4_2.med
61   elle_3D_HPr_4x4x4.sauve
62   extendedtransport53_triangles.med
63   geomMesh_nomorereadable21.med
64   geomMesh22.med
65   H_CastCast_EFMH_I129_COUPLEX1.med
66   H_CastCast_VF_I129_COUPLEX1.med
67   H_CastCast_VF_Se79_COUPLEX1.med
68   H_CastPorf_I129_COUPLEX1.med
69   H_CastPorf_Se79_COUPLEX1.med
70   H_PorfCast_EFMH_I129_COUPLEX1.med
71   H_PorfCast_EFMH_Se79_COUPLEX1.med
72   H_PorfPorf_I129_COUPLEX1.med
73   H_Traces_I129_COUPLEX1.med
74   H_Traces_Se79_COUPLEX1.med
75   inclusion_2d_raf.sauve
76   inclusion_2d.sauve
77   mail_ktest1-3-hexa.sauve
78   mail_ktest1-3-tetra.sauve
79   mail_ktest3-1.sauve
80   mail_ktest3-2.sauve
81   maill.00.med
82   maill.00_nofield.med
83   maill.00_nomesh.med
84   maill.00_without_seg2.med
85   maill.0.med
86   maillage_5_5_5.med
87   maillage_andra2_100elts.sauve
88   maillage_cas2_2d.sauve
89   maillage_cas4_234elts.sauve
90   maillage_CHEMVAL_100elts.sauve
91   maillage_CHEMVAL_40elts.sauve
92   maillage_chemvalIV_cas1_100elts.sauve
93   maillage_chemvalIV_cas1_40elts.med
94   maillage_chemvalIV_cas1_40elts.sauve
95   maillage_UniSegFam.med
96   mail_test1-1-qua.sauve
97   mail_test1-1-tri.sauve
98   mail_test1-2-qua.sauve
99   mail_test1-2-tri.sauve
100   mail-test1-4-1.sauve
101   mail-test1-4-2.sauve
102   mesh_nomorereadable21.med
103   mesh.med
104   Mistrat.med
105   Old_ChampsDarcy.med
106   Old_darcy_1.1_res.med
107   Old_darcy_1.3_resCASTEM.med
108   Old_darcy_1.3_resPORFLOW.med
109   Old_darcy_1.3_resTRACES.med
110   Old_darcy2_Castem_EFMH.med
111   Old_darcy2_Castem_qua_EFMH.med
112   Old_darcy2_Castem_qua_VF.med
113   Old_H_CastCast_EFMH_I129_COUPLEX1.med
114   Old_H_CastCast_VF_I129_COUPLEX1.med
115   Old_H_CastCast_VF_Se79_COUPLEX1.med
116   Old_H_CastPorf_I129_COUPLEX1.med
117   Old_H_CastPorf_Se79_COUPLEX1.med
118   Old_H_PorfCast_EFMH_I129_COUPLEX1.med
119   Old_H_PorfCast_EFMH_Se79_COUPLEX1.med
120   Old_H_PorfPorf_I129_COUPLEX1.med
121   Old_H_PorfPorf_Se79_COUPLEX1.med
122   Old_H_Traces_I129_COUPLEX1.med
123   Old_H_Traces_Se79_COUPLEX1.med
124   Old_maillage_chemvalIV_cas1_40elts.med
125   pointe_nomorereadable21.med
126 #  pointe.med
127   poly3D.med
128   polyedres.med
129   polygones.med
130   recoll_bord.med
131   test19.med
132   test_2D.med
133   trio_2D.med
134   TimeStamps.med
135   zzzz121b.med
136   zzzz121b_without_tr6.med
137   # UnitTetra.med
138   # GeneralTetra.med
139   # NudgedSimpler.med
140   # NudgedTetra.med
141   # CornerTetra.med
142   # SimpleIncludedTetra.med
143   # SimpleIncludingTetra.med
144   # Test2D.med
145   # Test2Dpoly.med
146   # Test3D.med
147   # Test3Dpoly.med
148   # UnitTetraDegenT.med
149   # DegenEdgeXY.med
150   # DegenFaceXYZ.med
151   # DegenTranslatedInPlane.med
152   # ComplexIncludedTetra.med
153   # ComplexIncludingTetra.med
154   # HalfstripOnly.med
155   # HalfstripOnly2.med
156   # SimpleHalfstripOnly.med
157   # GenTetra1.med
158   # GenTetra2.med
159   # TrickyTetra1.med
160   # LargeUnitTetra.med
161   LargeInconsistentTetra.med
162   # DividedUnitTetraSimpler.med
163   # DividedUnitTetra.med
164   # NudgedDividedUnitTetra.med
165   # NudgedDividedUnitTetraSimpler.med
166   # DividedGenTetra1.med
167   # DividedGenTetra2.med
168   # Box1.med
169   # Box2.med
170   # Box3.med
171   # Box1Moderate.med
172   # Box2Moderate.med
173   # BoxModSmall1.med
174   # BoxModSmall2.med
175   # BoxEvenSmaller1.med
176   # TinyBox.med
177   # BoxHexa1.med
178   # BoxHexa2.med
179   # MovedHexaBox1.med
180   # MovedHexaBox2.med
181   # BoxTetra2.med
182   # square1.med
183   square1_split
184   square1_split1.med
185   square1_split2.med
186   square1_split3.med
187 #  square2.med
188   square2_split
189   square2_split1.med
190   square2_split2.med
191   testStructCart3D.med
192   Mesh3D_10_2d1.med
193   Mesh3D_10_2d2.med
194   Mesh3D_11.med
195 #  Pol1.fig
196 #  Pol2.fig
197 #  Pol3.fig
198 #  Pol4.fig
199   blow5_ascii.case
200   blow5_ascii.geo
201   blow5_ascii_cd_displacement
202   blow5_ascii_cd_thickness
203   blow5_ascii_pd_displacement
204   blow5_ascii_pd_thickness
205   test_2D.sauve
206 #  allPillesTest.sauv
207 #  BDC-714.sauv
208 #  portico_3subs.sauv
209 #  agitateur.med
210   )
211
212 IF(MED_ENABLE_GUI)
213   FILE(GLOB MED_RESOURCES_PNG "${CMAKE_CURRENT_SOURCE_DIR}/*.png")
214   SET(MED_RESOURCES_FILES
215     ${MED_RESOURCES_FILES}
216     ModuleMed.png
217     Data.png
218     Infos.png
219     Structure.png
220     explore_med_file.png
221     field_selection.png
222     med_mesh.png
223     med_field.png
224     mesh_selection.png
225     )
226 ENDIF(MED_ENABLE_GUI)
227
228 IF(SALOME_MED_WITH_FILE_EXAMPLES)
229   INSTALL(FILES ${MED_RESOURCES_FILES} DESTINATION ${SALOME_MED_INSTALL_RES_DATA})
230 ENDIF(SALOME_MED_WITH_FILE_EXAMPLES)
231
232 MESSAGE(STATUS "Creation of ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml")
233 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/MEDCatalog.xml.in ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml @ONLY)
234 MESSAGE(STATUS "Creation of ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml")
235 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/SalomeApp.xml.in ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml @ONLY)
236
237 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MEDCatalog.xml ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml DESTINATION ${SALOME_MED_INSTALL_RES_DATA})