Salome HOME
b72f43efd00af65b17fc3577c4f3ef62587fb6b9
[modules/homard.git] / src / tool / Dependance_Machine / 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 Dependance_Machine
20
21 SET(Dependance_Machine_SOURCES
22     ./dmabor.F
23     ./dmalme.F
24     ./dmcpch.F
25     ./dmflsh.F
26     ./dmftmp.F
27     ./dmindf.F
28     ./dmjohe.F
29     ./dmlibe.F
30     ./dmloci.F
31     ./dmlocr.F
32     ./dmlocs.F
33     ./dmmach.F
34     ./dmnfcv.F
35     ./dmoubs.F
36     ./dmoufs.F
37     ./dmprma.F
38     ./dmralo.F
39     ./dmsepf.F
40     ./dmsize.F
41     ./dmtemp.F
42     ./dmunit.F
43     ./dmvaen.F
44     ./dmze10.F
45     ./dmzero.F
46     ./dmaboc.c
47     ./dmalmc.c
48     ./dmdate.c
49     ./dmflsc.c
50     ./dmlibc.c
51     ./dmloca.c
52     ./dmmacc.c
53     ./dmprmc.c
54     ./dmralc.c
55     ./dmsepc.c
56     ./dmsizc.c
57     ./dmtemc.c
58     )
59
60 INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/src/tool/Dependance_Machine ../Includes_Generaux)
61
62 SET ( CMAKE_Fortran_FLAGS "-ffixed-line-length-0 -fdefault-double-8 -fdefault-real-8 -fdefault-integer-8 -fimplicit-none -O2" )
63
64 ADD_LIBRARY (Dependance_Machine ${Dependance_Machine_SOURCES})
65
66 INSTALL(TARGETS Dependance_Machine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})