Salome HOME
7d4d023d575d58df7fd7f28f2e17a8cd6b1a5e66
[tools/libbatch.git] / src / Local / CMakeLists.txt
1 #  Copyright (C) 2007-2012  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 Local/BatchManager_Local
24                Local/FactBatchManager_Local
25                Local/IOMutex
26                Local/Job_Local
27                Local/JobInfo_Local
28    )
29
30 APPEND_CLASSES_TO_SRC_FILES(${CLASS_LIST})
31
32 IF (TEST_ENABLED)
33     IF (HAS_SH)
34         ADD_TEST(LOCAL_SH ${CMAKE_BINARY_DIR}/src/Core/Test/Test_BatchManager LOCAL SH)
35     ENDIF (HAS_SH)
36     
37     IF (HAS_SSH)
38         ADD_TEST(LOCAL_SSH ${CMAKE_BINARY_DIR}/src/Core/Test/Test_BatchManager LOCAL SSH)
39     ENDIF (HAS_SSH)
40     
41     IF (HAS_RSH)
42         ADD_TEST(LOCAL_RSH ${CMAKE_BINARY_DIR}/src/Core/Test/Test_BatchManager LOCAL RSH)
43     ENDIF (HAS_RSH)
44 ENDIF (TEST_ENABLED)