Salome HOME
5ae35a7067bc94e607dc14960d2241e8e6a69f16
[modules/homard.git] / src / tool / HOMARD_00 / 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 HOMARD_00
20
21 SET(HOMARD_00_SOURCES
22     ./hoapcv.F
23     ./hoapec.F
24     ./hoapem.F
25     ./hoapes.F
26     ./hoapls.F
27     ./hoavcv.F
28     ./hoavec.F
29     ./hoavli.F
30     ./hoavlm.F
31     ./hocmsa.F
32     ./hocrma.F
33     ./hodeci.F
34     ./hoinco.F
35     ./hoinit.F
36     ./holect.F
37     ./holopt.F
38     ./holver.F
39     ./homajc.F
40     ./hoprin.F
41     ./hostop.F
42     ./hosufr.F
43     )
44
45 INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/src/tool/HOMARD_00 ../Includes_Generaux)
46
47 SET ( CMAKE_Fortran_FLAGS "-ffixed-line-length-0 -fdefault-double-8 -fdefault-real-8 -fdefault-integer-8 -fimplicit-none -O2" )
48
49 ADD_LIBRARY (HOMARD_00 ${HOMARD_00_SOURCES})
50
51 INSTALL(TARGETS HOMARD_00 EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})