-# Copyright (C) 2012-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2012-2023 CEA/DEN, EDF R&D
#
# 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
IF(SALOME_BUILD_TESTS)
ADD_SUBDIRECTORY(Test)
- ADD_SUBDIRECTORY(pmml)
+ ADD_SUBDIRECTORY(pmml)
ENDIF(SALOME_BUILD_TESTS)
# --- options ---
ADD_DEFINITIONS(${KERNEL_DEFINITIONS})
SET(SALOME_LIBS
- ${KERNEL_DEFINITIONS}
${KERNEL_SalomeLifeCycleCORBA}
${KERNEL_SalomeIDLKernel}
${KERNEL_SalomeNS}
# additional include directories
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
- ${EXPAT_INCLUDE_DIR}
+ ${OMNIORBPY_INCLUDE_DIR}
${PYTHON_INCLUDE_DIR}
+ ${LIBXML2_INCLUDE_DIR}
${PROJECT_SOURCE_DIR}/src/bases
${PROJECT_SOURCE_DIR}/src/engine
${PROJECT_SOURCE_DIR}/src/runtime
${PYTHON_DEFINITIONS}
${OMNIORB_DEFINITIONS}
)
-IF(WIN32)
- ADD_DEFINITIONS(-DNOGDI)
-ENDIF(WIN32)
SET(_exec_DEFINITIONS
-g
)
# libraries to link to
SET(YACSloader_LIBRARIES
${OMNIORB_LIBRARIES}
- ${EXPAT_LIBRARIES}
+ ${LIBXML2_LIBRARIES}
YACSlibEngine
+ YACSRuntimeSALOME
)
SET(_link_LIBRARIES
YACSloader
SET(debugger_SOURCES
debugger.cxx
)
+SET(ExampleOfObserversPluginForDriver_SOURCES
+ ExampleOfObserversPluginForDriver.cxx
+ )
# --- rules ---
TARGET_LINK_LIBRARIES(YACSloader ${YACSloader_LIBRARIES})
INSTALL(TARGETS YACSloader EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
+ADD_LIBRARY(ExampleOfObserversPluginForDriver ${ExampleOfObserversPluginForDriver_SOURCES})
+TARGET_LINK_LIBRARIES(ExampleOfObserversPluginForDriver ${_link_LIBRARIES})
+INSTALL(TARGETS ExampleOfObserversPluginForDriver DESTINATION ${SALOME_INSTALL_LIBS})
+
ADD_EXECUTABLE(driver ${driver_SOURCES})
TARGET_LINK_LIBRARIES(driver ${_link_LIBRARIES})