]> SALOME platform Git repositories - modules/yacs.git/blob - src/engine/CMakeLists.txt
Salome HOME
Test for python node with cache.
[modules/yacs.git] / src / engine / CMakeLists.txt
1 # Copyright (C) 2012-2019  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 IF(SALOME_BUILD_TESTS)
21   ADD_SUBDIRECTORY(Plugin)
22   ADD_SUBDIRECTORY(Test)
23 ENDIF(SALOME_BUILD_TESTS)
24
25 # --- options ---
26 ADD_DEFINITIONS(
27   ${BOOST_DEFINITIONS}
28   )
29
30 # additional include directories
31 INCLUDE_DIRECTORIES(
32   ${PTHREAD_INCLUDE_DIR}
33   ${PROJECT_SOURCE_DIR}/src/bases
34   ${PROJECT_SOURCE_DIR}/src
35   )
36
37 # libraries to link to
38 SET(_link_LIBRARIES
39   ${PTHREAD_LIBRARIES}
40   YACSBases
41   YACSlibWorkloadmanager
42   )
43
44 # --- headers ---
45
46 SET(YACSlibEngine_HEADERS
47   YACSlibEngineExport.hxx
48   Any.hxx
49   AnyInputPort.hxx
50   Bloc.hxx
51   Catalog.hxx
52   ComplexWeight.hxx
53   ComponentDefinition.hxx
54   ComponentInstance.hxx
55   ComposedNode.hxx
56   ConditionInputPort.hxx
57   Container.hxx
58   ConversionException.hxx
59   DataFlowPort.hxx
60   DataNode.hxx
61   DataPort.hxx
62   DataStreamPort.hxx
63   DeploymentTree.hxx
64   Dispatcher.hxx
65   DynParaLoop.hxx
66   ElementaryNode.hxx
67   Executor.hxx
68   ForEachLoop.hxx
69   ForLoop.hxx
70   InGate.hxx
71   InlineNode.hxx
72   InPort.hxx
73   InputDataStreamPort.hxx
74   InputPort.hxx
75   InvalidExtractionException.hxx
76   LinkInfo.hxx
77   Logger.hxx
78   LogRecord.hxx
79   Loop.hxx
80   Node.hxx
81   OptimizerAlg.hxx
82   OptimizerLoop.hxx
83   OutGate.hxx
84   OutPort.hxx
85   OutputDataStreamPort.hxx
86   OutputPort.hxx
87   Pool.hxx
88   Port.hxx
89   Proc.hxx
90   RefCounter.hxx
91   Runtime.hxx
92   Scheduler.hxx
93   ServiceInlineNode.hxx
94   ServiceNode.hxx
95   SharedPtr.hxx
96   StaticDefinedComposedNode.hxx
97   Switch.hxx
98   Task.hxx
99   TypeCode.hxx
100   Visitor.hxx
101   VisitorSaveSchema.hxx
102   VisitorSaveState.hxx
103   WhileLoop.hxx
104   PropertyInterface.hxx
105   AnyOutputPort.hxx
106   ServerNode.hxx
107   InPropertyPort.hxx
108   AbstractPoint.hxx
109   BlocPoint.hxx
110   BagPoint.hxx
111   ForkBlocPoint.hxx
112   NotSimpleCasePoint.hxx
113   LinkedBlocPoint.hxx
114   ElementaryPoint.hxx
115   SetOfPoints.hxx
116   PlayGround.hxx
117   ObserverAsPlugin.hxx
118   NbBranches.hxx
119   )
120
121 # --- sources ---
122
123 SET(YACSlibEngine_SOURCES
124   PropertyInterface.cxx
125   TypeCode.cxx
126   RefCounter.cxx
127   LinkInfo.cxx
128   ConversionException.cxx
129   InvalidExtractionException.cxx
130   ConditionInputPort.cxx
131   AnyInputPort.cxx
132   AnyOutputPort.cxx
133   Port.cxx InGate.cxx
134   OutGate.cxx
135   DataPort.cxx
136   DataFlowPort.cxx
137   InPort.cxx
138   OutPort.cxx
139   InputPort.cxx
140   OutputPort.cxx
141   DataStreamPort.cxx
142   InputDataStreamPort.cxx
143   OutputDataStreamPort.cxx
144   Any.cxx
145   Pool.cxx
146   Node.cxx
147   ElementaryNode.cxx
148   ComposedNode.cxx
149   InlineNode.cxx
150   ServiceNode.cxx
151   ServerNode.cxx
152   ServiceInlineNode.cxx
153   StaticDefinedComposedNode.cxx
154   Bloc.cxx
155   Bloc_impl.cxx
156   Proc.cxx
157   Loop.cxx
158   ForLoop.cxx
159   WhileLoop.cxx
160   Switch.cxx
161   DynParaLoop.cxx
162   NbBranches.cxx
163   ForEachLoop.cxx
164   OptimizerAlg.cxx
165   OptimizerLoop.cxx
166   Runtime.cxx
167   Scheduler.hxx
168   Task.hxx
169   Executor.cxx
170   Visitor.cxx
171   VisitorSaveState.cxx
172   VisitorSaveSchema.cxx
173   ComponentInstance.cxx
174   Dispatcher.cxx
175   Container.cxx
176   HomogeneousPoolContainer.cxx
177   DeploymentTree.cxx
178   Logger.cxx
179   LogRecord.cxx
180   Catalog.cxx
181   ComponentDefinition.cxx
182   DataNode.cxx
183   Task.cxx
184   Scheduler.cxx
185   InPropertyPort.cxx
186   AbstractPoint.cxx
187   BlocPoint.cxx
188   BagPoint.cxx
189   ForkBlocPoint.cxx
190   NotSimpleCasePoint.cxx
191   LinkedBlocPoint.cxx
192   ElementaryPoint.cxx
193   SetOfPoints.cxx
194   PlayGround.cxx
195   ComplexWeight.cxx
196   ObserverAsPlugin.cxx
197   )
198 SET(YACSlibEngine_HEADERS ${YACSlibEngine_HEADERS} PARENT_SCOPE)  # Make it visible to src/engine_swig to handle dependencies
199
200 # --- rules ---
201
202 ADD_LIBRARY(YACSlibEngine ${YACSlibEngine_SOURCES})
203 TARGET_LINK_LIBRARIES(YACSlibEngine ${_link_LIBRARIES})
204 INSTALL(TARGETS YACSlibEngine EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
205
206 INSTALL(FILES ${YACSlibEngine_HEADERS} DESTINATION ${SALOME_INSTALL_HEADERS})