Salome HOME
Increment version: 7.7.0
[modules/yacs.git] / SalomeYACSConfig.cmake.in
index c700229160d26410a2bba3b034ede10ba31fe88d..2243e3c500a8b5da265cbcd57ec239f727c7e4e6 100644 (file)
@@ -5,28 +5,25 @@
 #
 
 ###############################################################
-#  Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2015  CEA/DEN, EDF R&D
 #
-#  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
-#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+# 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, or (at your option) any later version.
 #
-#  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.
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
 #
-#  This library is distributed in the hope that it will be useful,
-#  but WITHOUT ANY WARRANTY; without even the implied warranty of
-#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-#  Lesser General Public License for more details.
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 #
-#  You should have received a copy of the GNU Lesser General Public
-#  License along with this library; if not, write to the Free Software
-#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
-#  See http://www.salome-platform.org/ or
-#  email : webmaster.salome@opencascade.com
-###############################################################
+
 #TODO
 ### Initialisation performed by CONFIGURE_PACKAGE_CONFIG_FILE:
 @PACKAGE_INIT@
@@ -44,7 +41,7 @@ SET_AND_CHECK(YACS_ROOT_DIR_EXP "@PACKAGE_CMAKE_INSTALL_PREFIX@")
 # Include directories
 SET_AND_CHECK(YACS_INCLUDE_DIRS "${YACS_ROOT_DIR_EXP}/@SALOME_INSTALL_HEADERS@")
 SET(YACS_INCLUDE_DIRS "${YACS_INCLUDE_DIRS};@_SalomeYACS_EXTRA_HEADERS@")
-SET(YACS_DEFINITIONS)
+SET(YACS_DEFINITIONS "-DYACS_PTHREAD")
 
 # Package specific environment variables
 @_SalomeYACS_EXTRA_ENV_FULL@
@@ -59,12 +56,9 @@ SET(SALOME_YACS_BUILD_TESTS    @SALOME_BUILD_TESTS@)
 SET(SALOME_YACS_BUILD_GUI      @SALOME_BUILD_GUI@)
 SET(SALOME_YACS_USE_KERNEL     @SALOME_YACS_USE_KERNEL@)
 SET(SALOME_YACS_USE_DSC        @SALOME_YACS_USE_DSC@)
-SET(SALOME_YACS_USE_QSCINTILLA @SALOME_YACS_USE_QSCINTILLA@)
+SET(SALOME_YACS_USE_PYEDITOR   @SALOME_YACS_USE_PYEDITOR@)
 SET(SALOME_YACS_USE_SWIG       @SALOME_YACS_USE_SWIG@)
 
-# Level 1 prerequisites:
-SET_AND_CHECK(EXPAT_ROOT_DIR_EXP "@PACKAGE_EXPAT_ROOT_DIR@")
-
 # Optional level 1 prerequisites:
 IF(SALOME_YACS_USE_KERNEL)
   SET_AND_CHECK(KERNEL_ROOT_DIR_EXP "@PACKAGE_KERNEL_ROOT_DIR@")
@@ -86,9 +80,6 @@ ENDIF()
 IF(SALOME_YACS_BUILD_GUI)
   SET_AND_CHECK(GUI_ROOT_DIR_EXP "@PACKAGE_GUI_ROOT_DIR@")
   LIST(APPEND YACS_DEFINITIONS "@GUI_DEFINITIONS@")
-  IF(SALOME_YACS_USE_QSCINTILLA)
-    SET_AND_CHECK(QSCINTILLA_ROOT_DIR_EXP "@PACKAGE_QSCINTILLA_ROOT_DIR@")
-  ENDIF()
 ENDIF()
 
 # For all prerequisites, load the corresponding targets if the package was used 
@@ -166,3 +157,4 @@ SET(YACS_HMI HMI)
 SET(YACS_GenericGui GenericGui)
 SET(YACS_YACS YACS)
 SET(YACS_SalomeWrap SalomeWrap)
+SET(YACS_yacsloader_echo yacsloader_echo)