X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=f7e2f9ad464a511d8feb6ead85f8d22ebdf62fd8;hb=97917d3698f5a2f7fc9596e7c755ff8f6751e373;hp=8006e1506143f474a9ba584648acfe20d46f2771;hpb=d6261f7ca28c73e286ded23e54854ddae06caba3;p=modules%2Fshaper.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 8006e1506..f7e2f9ad4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,22 +1,21 @@ -## Copyright (C) 2014-2017 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, 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 -## 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 -## -## See http:##www.salome-platform.org/ or -## email : webmaster.salome@opencascade.com -## +# Copyright (C) 2014-2019 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, 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 +# 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 +# +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com +# CMAKE_MINIMUM_REQUIRED(VERSION 2.8.10) @@ -27,7 +26,7 @@ IF(WIN32) CMAKE_POLICY(SET CMP0020 OLD) # disable automatic linking to qtmain.lib ENDIF(WIN32) -SET (SHAPER_Version 8.5.0) +SET (SHAPER_Version 9.2.0_Jan2019) SET(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeCommon" ${CMAKE_MODULE_PATH}) OPTION(SHAPER_BUILD_DOC "Generate SHAPER documentation" ON) @@ -38,7 +37,6 @@ INCLUDE(FindEclipse) INCLUDE(Common) INCLUDE(FindSalomeQt5) INCLUDE(FindSalome) -INCLUDE(FindCAS) INCLUDE(FindSUIT) INCLUDE(FindTInspector) @@ -64,8 +62,11 @@ IF(${HAVE_SALOME}) FIND_PACKAGE(SalomePythonInterp REQUIRED) FIND_PACKAGE(SalomePythonLibs REQUIRED) + FIND_PACKAGE(SalomeOpenCASCADE REQUIRED) + ELSE(${HAVE_SALOME}) INCLUDE(FindPython) + INCLUDE(FindSalomeOpenCASCADE) ENDIF(${HAVE_SALOME}) # Common CMake macros @@ -99,7 +100,6 @@ IF(${HAVE_SALOME}) SET(SHAPER_INSTALL_GUI_DOC share/doc/salome/gui/SHAPER CACHE INTERNAL "" FORCE) SET(SHAPER_INSTALL_TUI_DOC share/doc/salome/tui/SHAPER CACHE INTERNAL "" FORCE) # without SALOME there is another kind of documentation, separated one - ADD_SUBDIRECTORY (doc) ELSE(${HAVE_SALOME}) SET(SHAPER_INSTALL_ADDONS addons CACHE INTERNAL "" FORCE) SET(SHAPER_INSTALL_BIN bin CACHE INTERNAL "" FORCE) @@ -113,10 +113,11 @@ ELSE(${HAVE_SALOME}) ENDIF(${HAVE_SALOME}) # Sketcher: Change radius of circular edges while dragging a point on the edge -SET(SKETCHER_CHANGE_RADIUS_WHEN_MOVE FALSE) +SET(SKETCHER_CHANGE_RADIUS_WHEN_MOVE TRUE) ADD_SUBDIRECTORY (src/Config) ADD_SUBDIRECTORY (src/Events) +ADD_SUBDIRECTORY (src/Selector) ADD_SUBDIRECTORY (src/Model) ADD_SUBDIRECTORY (src/XAO) ADD_SUBDIRECTORY (src/GeomAPI)