-# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2014 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+IF(SALOME_BUILD_TESTS)
+ ADD_SUBDIRECTORY(Test)
+ENDIF(SALOME_BUILD_TESTS)
+
INCLUDE_DIRECTORIES(
${LIBXML2_INCLUDE_DIR}
${OMNIORB_INCLUDE_DIR}
Launcher_Job_PythonSALOME.cxx
Launcher_Job_YACSFile.cxx
Launcher.cxx
+ Launcher_XML_Persistence.cxx
)
ADD_LIBRARY(Launcher ${Launcher_SOURCES})
INSTALL(TARGETS SALOME_LauncherServer EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
ENDIF()
-FILE(GLOB COMMON_HEADERS_HXX "${CMAKE_CURRENT_SOURCE_DIR}/*.hxx")
+SET(COMMON_HEADERS_HXX
+ BatchTest.hxx
+ Launcher.hxx
+ Launcher_Job.hxx
+ Launcher_Job_Command.hxx
+ Launcher_Job_PythonSALOME.hxx
+ Launcher_Job_SALOME.hxx
+ Launcher_Job_YACSFile.hxx
+ Launcher_Utils.hxx
+ SALOME_Launcher.hxx
+ SALOME_Launcher_Parser.hxx
+ SALOME_Launcher_defs.hxx
+)
INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})