Salome HOME
Homard executable
[modules/homard.git] / src / tool / ES_MED / CMakeLists.txt
1 # Copyright (C) 2016-2020  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 # Compilation de ES_MED
20
21 SET(ES_MED_SOURCES
22     ./esdesc.F
23     ./esech1.F
24     ./esech2.F
25     ./esech3.F
26     ./esemm0.F
27     ./esemm1.F
28     ./esemmb.F
29     ./esemmc.F
30     ./esemmd.F
31     ./esemmf.F
32     ./esemmq.F
33     ./esemno.F
34     ./eses11.F
35     ./esesm1.F
36     ./esesmd.F
37     ./eslch1.F
38     ./eslch2.F
39     ./eslch3.F
40     ./eslch4.F
41     ./eslch5.F
42     ./eslch6.F
43     ./eslch7.F
44     ./eslch8.F
45     ./eslent.F
46     ./eslimd.F
47     ./eslmm1.F
48     ./eslmm2.F
49     ./eslmmb.F
50     ./eslmmc.F
51     ./eslmmd.F
52     ./eslmmf.F
53     ./eslmmn.F
54     ./eslmno.F
55     ./eslnma.F
56     ./eslnof.F
57     ./eslnom.F
58     ./eslnum.F
59     ./eslpg1.F
60     ./eslpg2.F
61     ./eslpr1.F
62     ./eslsc1.F
63     ./eslsch.F
64     ./eslsm0.F
65     ./eslsm1.F
66     ./eslsm2.F
67     ./eslsm3.F
68     ./eslsm4.F
69     ./eslsm5.F
70     ./eslsmd.F
71     ./esouvl.F
72     ./esveri.F
73     )
74
75 INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/src/tool/ES_MED ../Includes_Generaux)
76
77 SET ( CMAKE_Fortran_FLAGS "-ffixed-line-length-0 -fdefault-double-8 -fdefault-real-8 -fdefault-integer-8 -fimplicit-none -O2" )
78
79 ADD_LIBRARY (ES_MED ${ES_MED_SOURCES})
80
81 INSTALL(TARGETS ES_MED EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})