Salome HOME
bos #26594 Failed KERNEL test: fix typemap for swig 4x
[modules/yacs.git] / src / yacsloader / CMakeLists.txt
index 77ac92086a29364c781bd71ac931b49ea1ceeff4..cee1b9e6c6d94d25c9da69ff8f2f9a8d9a0ba92c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2012-2016  CEA/DEN, EDF R&D
+# Copyright (C) 2012-2021  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
@@ -51,7 +51,9 @@ ENDIF(SALOME_YACS_USE_KERNEL)
 # additional include directories
 INCLUDE_DIRECTORIES(
   ${OMNIORB_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
@@ -73,6 +75,7 @@ SET(YACSloader_LIBRARIES
   ${OMNIORB_LIBRARIES}
   ${LIBXML2_LIBRARIES}
   YACSlibEngine
+  YACSRuntimeSALOME
   )
 SET(_link_LIBRARIES
   YACSloader
@@ -144,6 +147,9 @@ SET(resume_SOURCES
 SET(debugger_SOURCES
   debugger.cxx
   )
+SET(ExampleOfObserversPluginForDriver_SOURCES
+  ExampleOfObserversPluginForDriver.cxx
+  )
 
 # --- rules ---
 
@@ -151,6 +157,10 @@ ADD_LIBRARY(YACSloader ${YACSloader_SOURCES})
 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})