Salome HOME
Merge branch 'gni/adaptation' of https://codev-tuleap.cea.fr/plugins/git/salome/smesh...
[modules/smesh.git] / src / ADAPT / CMakeLists.txt
1 # Copyright (C) 2012-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
20 # --- options ---
21 # additional include directories
22 INCLUDE_DIRECTORIES(
23   ${KERNEL_INCLUDE_DIRS}
24   ${MEDCOUPLING_INCLUDE_DIRS}
25 )
26
27 # additional preprocessor / compiler flags
28 ADD_DEFINITIONS(
29   ${KERNEL_DEFINITIONS}
30 )
31
32 # libraries to link to
33 SET(_link_LIBRARIES
34   ${KERNEL_SALOMELocalTrace}
35   ${MEDCoupling_medloader}
36 )
37
38 # --- headers ---
39
40 # header files
41 SET(ADAPTImpl_HEADERS
42   HOMARD.hxx
43   HOMARD_Cas.hxx
44   HOMARD_Boundary.hxx
45   HOMARD_Hypothesis.hxx
46   HOMARD_Iteration.hxx
47   HOMARD_Zone.hxx
48   ADAPT_Gen.hxx
49   HOMARD_DriverTools.hxx
50   HOMARD_YACS.hxx
51   HomardDriver.hxx
52   YACSDriver.hxx
53   #~MG_ADAPT.hxx
54 )
55
56 # --- sources ---
57
58 # sources / static
59 SET(ADAPTImpl_SOURCES
60   HOMARD_Cas.cxx
61   HOMARD_Boundary.cxx
62   HOMARD_Hypothesis.cxx
63   HOMARD_Iteration.cxx
64   HOMARD_Zone.cxx
65   ADAPT_Gen.cxx
66   HOMARD_DriverTools.cxx
67   HOMARD_YACS.cxx
68   HomardDriver.cxx
69   YACSDriver.cxx
70   #~MG_ADAPT.cxx
71 )
72
73 # --- rules ---
74
75 ADD_LIBRARY(ADAPTImpl ${ADAPTImpl_SOURCES})
76 TARGET_LINK_LIBRARIES(ADAPTImpl ${_link_LIBRARIES} )
77 INSTALL(TARGETS ADAPTImpl EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
78
79 INSTALL(FILES ${ADAPTImpl_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})