Salome HOME
Updated copyright comment
[modules/homard.git] / src / HOMARD / CMakeLists.txt
1 # Copyright (C) 2012-2024  CEA, EDF
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 )
25
26 # additional preprocessor / compiler flags
27 ADD_DEFINITIONS(
28   ${KERNEL_DEFINITIONS}
29 )
30
31 # libraries to link to
32 SET(_link_LIBRARIES
33   ${KERNEL_SALOMELocalTrace}
34 )
35
36 # --- headers ---
37
38 # header files
39 SET(HOMARDImpl_HEADERS
40   HOMARD.hxx
41   HOMARD_Cas.hxx
42   HOMARD_Boundary.hxx
43   HOMARD_Hypothesis.hxx
44   HOMARD_Iteration.hxx
45   HOMARD_Zone.hxx
46   HOMARD_Gen.hxx
47   HOMARD_DriverTools.hxx
48   HOMARD_YACS.hxx
49   HomardDriver.hxx
50   YACSDriver.hxx
51 )
52
53 # --- sources ---
54
55 # sources / static
56 SET(HOMARDImpl_SOURCES
57   HOMARD_Cas.cxx
58   HOMARD_Boundary.cxx
59   HOMARD_Hypothesis.cxx
60   HOMARD_Iteration.cxx
61   HOMARD_Zone.cxx
62   HOMARD_Gen.cxx
63   HOMARD_DriverTools.cxx
64   HOMARD_YACS.cxx
65   HomardDriver.cxx
66   YACSDriver.cxx
67 )
68
69 # --- rules ---
70
71 ADD_LIBRARY(HOMARDImpl ${HOMARDImpl_SOURCES})
72 TARGET_LINK_LIBRARIES(HOMARDImpl ${_link_LIBRARIES} )
73 INSTALL(TARGETS HOMARDImpl EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
74
75 INSTALL(FILES ${HOMARDImpl_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})