1 # Copyright (C) 2012-2016 CEA/DEN, EDF R&D, OPEN CASCADE
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 ${LIBXML2_INCLUDE_DIR}
22 ${PTHREAD_INCLUDE_DIR}
23 ${OMNIORB_INCLUDE_DIR}
24 ${PROJECT_BINARY_DIR}/salome_adm
25 ${CMAKE_CURRENT_SOURCE_DIR}/../Basics
26 ${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
27 ${CMAKE_CURRENT_SOURCE_DIR}/../NamingService
28 ${CMAKE_CURRENT_SOURCE_DIR}/../Utils
29 ${PROJECT_BINARY_DIR}/idl
33 # This local variable defines the list of dependent libraries common to all target in this package.
42 SET(ResourcesManager_SOURCES
43 SALOME_ResourcesCatalog_Parser.cxx
44 SALOME_ResourcesCatalog_Handler.cxx
45 SALOME_LoadRateManager.cxx
49 ADD_DEFINITIONS(${OMNIORB_DEFINITIONS} ${LIBXML2_DEFINITIONS})
51 ADD_LIBRARY(ResourcesManager ${ResourcesManager_SOURCES})
52 TARGET_LINK_LIBRARIES(ResourcesManager SALOMEBasics ${LIBXML2_LIBRARIES})
53 INSTALL(TARGETS ResourcesManager EXPORT ${PROJECT_NAME}TargetGroup
54 DESTINATION ${SALOME_INSTALL_LIBS})
56 SET(SalomeResourcesManager_SOURCES
57 SALOME_ResourcesManager.cxx
58 SALOME_ResourcesManager_Client.cxx
59 SALOME_ResourcesManager_Common.cxx
61 ADD_LIBRARY(SalomeResourcesManager ${SalomeResourcesManager_SOURCES})
62 TARGET_LINK_LIBRARIES(SalomeResourcesManager ResourcesManager ${COMMON_LIBS})
63 INSTALL(TARGETS SalomeResourcesManager EXPORT ${PROJECT_NAME}TargetGroup
64 DESTINATION ${SALOME_INSTALL_LIBS})
66 SET(COMMON_HEADERS_HXX
68 ResourcesManager_Defs.hxx
69 SALOME_LoadRateManager.hxx
70 SALOME_ResourcesCatalog_Parser.hxx
71 SALOME_ResourcesManager.hxx
72 SALOME_ResourcesManager_Client.hxx
73 SALOME_ResourcesManager_Common.hxx
75 INSTALL(FILES ${COMMON_HEADERS_HXX} DESTINATION ${SALOME_INSTALL_HEADERS})