X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomValidators%2FCMakeLists.txt;h=71d098704cce957b0b4e13484b02570a7d7a8380;hb=91e256f2c81a2bb26bef21ad008d7d02f31d0e38;hp=2450cf38c23ba42dea837b6a252aedc2ac02f9e6;hpb=020e7187ee88afbd18286f149536cdef61d9f61e;p=modules%2Fshaper.git diff --git a/src/GeomValidators/CMakeLists.txt b/src/GeomValidators/CMakeLists.txt index 2450cf38c..71d098704 100644 --- a/src/GeomValidators/CMakeLists.txt +++ b/src/GeomValidators/CMakeLists.txt @@ -1,54 +1,83 @@ -## Copyright (C) 2014-20xx CEA/DEN, EDF R&D +# 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 +# INCLUDE(Common) SET(PROJECT_HEADERS GeomValidators.h - GeomValidators_BooleanArguments.h + GeomValidators_BodyShapes.h GeomValidators_ConstructionComposite.h GeomValidators_DifferentShapes.h GeomValidators_Face.h + GeomValidators_FeatureKind.h GeomValidators_Finite.h - GeomValidators_PartitionArguments.h + GeomValidators_Plugin.h GeomValidators_Positive.h GeomValidators_ShapeType.h GeomValidators_Tools.h GeomValidators_ZeroOffset.h GeomValidators_Different.h + GeomValidators_MinObjectsSelected.h + GeomValidators_ValueOrder.h + GeomValidators_Intersected.h + GeomValidators_NotSelfIntersected.h + GeomValidators_GlobalSelection.h ) SET(PROJECT_SOURCES - GeomValidators_BooleanArguments.cpp + GeomValidators_BodyShapes.cpp GeomValidators_ConstructionComposite.cpp GeomValidators_DifferentShapes.cpp GeomValidators_Face.cpp + GeomValidators_FeatureKind.cpp GeomValidators_Finite.cpp - GeomValidators_PartitionArguments.cpp + GeomValidators_Plugin.cpp GeomValidators_Positive.cpp GeomValidators_ShapeType.cpp GeomValidators_Tools.cpp GeomValidators_ZeroOffset.cpp GeomValidators_Different.cpp + GeomValidators_MinObjectsSelected.cpp + GeomValidators_ValueOrder.cpp + GeomValidators_Intersected.cpp + GeomValidators_NotSelfIntersected.cpp + GeomValidators_GlobalSelection.cpp ) SET(PROJECT_LIBRARIES - ModelAPI + ModelAPI Events + Config GeomAPI ) - - -ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${CAS_DEFINITIONS}) +ADD_DEFINITIONS(-DGEOMVALIDATORS_EXPORTS ${OpenCASCADE_DEFINITIONS}) ADD_LIBRARY(GeomValidators SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}) TARGET_LINK_LIBRARIES(GeomValidators ${PROJECT_LIBRARIES}) INCLUDE_DIRECTORIES( - ${CAS_INCLUDE_DIRS} - ${CMAKE_SOURCE_DIR}/src/ModelAPI - ${CMAKE_SOURCE_DIR}/src/Events - ${CMAKE_SOURCE_DIR}/src/GeomAPI - ${CMAKE_SOURCE_DIR}/src/GeomDataAPI + ${OpenCASCADE_INCLUDE_DIR} + ${PROJECT_SOURCE_DIR}/src/ModelAPI + ${PROJECT_SOURCE_DIR}/src/Config + ${PROJECT_SOURCE_DIR}/src/Events + ${PROJECT_SOURCE_DIR}/src/GeomAPI + ${PROJECT_SOURCE_DIR}/src/GeomDataAPI ) -INSTALL(TARGETS GeomValidators DESTINATION plugins) +INSTALL(TARGETS GeomValidators DESTINATION ${SHAPER_INSTALL_PLUGIN_FILES})