Salome HOME
Added possibility to add specific parameters in the client classes. Added parameter...
[tools/libbatch.git] / src / Core / CMakeLists.txt
1 #  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
5 #
6 #  This library is free software; you can redistribute it and/or
7 #  modify it under the terms of the GNU Lesser General Public
8 #  License as published by the Free Software Foundation; either
9 #  version 2.1 of the License.
10 #
11 #  This library is distributed in the hope that it will be useful,
12 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 #  Lesser General Public License for more details.
15 #
16 #  You should have received a copy of the GNU Lesser General Public
17 #  License along with this library; if not, write to the Free Software
18 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19 #
20 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 #
22
23 SET(CLASS_LIST Core/Batch_APIInternalFailureException
24                Core/Batch_BatchManager_eClient
25                Core/Batch_BatchManager
26                Core/Batch_BatchManagerCatalog
27                Core/Batch_BoolType
28                Core/Batch_CharType
29                Core/Batch_CommunicationProtocol
30                Core/Batch_ConnexionFailureException
31                Core/Batch_Constants
32                Core/Batch_Couple
33                Core/Batch_CoupleType
34                Core/Batch_Date
35                Core/Batch_DateType
36                Core/Batch_EmulationException
37                Core/Batch_Environnement
38                Core/Batch_FactBatchManager_eClient
39                Core/Batch_FactBatchManager
40                Core/Batch_GenericException
41                Core/Batch_GenericType
42                Core/Batch_IntType
43                Core/Batch_InvalidArgumentException
44                Core/Batch_InvalidKeyException
45                Core/Batch_Job
46                Core/Batch_JobId
47                Core/Batch_JobInfo
48                Core/Batch_ListIsFullException
49                Core/Batch_LongType
50                Core/Batch_MpiImpl
51                Core/Batch_NotYetImplementedException
52                Core/Batch_ParameterTypeMap
53                Core/Batch_Parametre
54                Core/Batch_RunTimeException
55                Core/Batch_StringType
56                Core/Batch_TypeMismatchException
57                Core/Batch_Versatile
58    )
59
60 IF (HAS_SH)
61     SET(CLASS_LIST ${CLASS_LIST}
62                    Core/Batch_CommunicationProtocolSH
63        )
64 ENDIF (HAS_SH)
65
66 IF (HAS_RSH)
67     SET(CLASS_LIST ${CLASS_LIST}
68                    Core/Batch_CommunicationProtocolRSH
69        )
70 ENDIF (HAS_RSH)
71
72 IF (HAS_SSH)
73     SET(CLASS_LIST ${CLASS_LIST}
74                    Core/Batch_CommunicationProtocolSSH
75        )
76 ENDIF (HAS_SSH)
77
78 APPEND_CLASSES_TO_SRC_FILES(${CLASS_LIST})
79 APPEND_CLASSES_TO_HDR_FILES(${CLASS_LIST})
80 APPEND_CLASSES_TO_HDR_FILES(Core/Batch_Defines)
81
82 IF (TEST_ENABLED)
83     add_subdirectory(Test)
84 ENDIF (TEST_ENABLED)