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