Salome HOME
Updated copyright comment
[modules/shaper.git] / src / Model / CMakeLists.txt
index 181a51e75d304dfdb479911c878f851fa817af1e..06186b763a18592457f32bbe3baea490bd690bfb 100644 (file)
@@ -1,4 +1,21 @@
-## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+# Copyright (C) 2014-2024  CEA, EDF
+#
+# 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)
 
@@ -17,6 +34,7 @@ SET(PROJECT_HEADERS
     Model_AttributeRefList.h
     Model_AttributeRefAttrList.h
     Model_AttributeBoolean.h
+    Model_AttributeImage.h
     Model_AttributeIntArray.h
     Model_AttributeString.h
     Model_AttributeStringArray.h
@@ -24,21 +42,21 @@ SET(PROJECT_HEADERS
     Model_AttributeSelection.h
     Model_AttributeSelectionList.h
     Model_AttributeTables.h
+    Model_AttributeValidator.h
     Model_BodyBuilder.h
     Model_Events.h
     Model_Expression.h
-    Model_Update.h
-    Model_Validator.h
+    Model_FeatureValidator.h
+    Model_FiltersFactory.h
     Model_ResultBody.h
-    Model_ResultCompSolid.h
     Model_ResultConstruction.h
     Model_ResultPart.h
     Model_ResultField.h
     Model_ResultGroup.h
     Model_ResultParameter.h
-    Model_FeatureValidator.h
-    Model_AttributeValidator.h
-    Model_SelectionNaming.h
+    Model_Tools.h
+    Model_Update.h
+    Model_Validator.h
 )
 
 SET(PROJECT_SOURCES
@@ -55,6 +73,7 @@ SET(PROJECT_SOURCES
     Model_AttributeRefList.cpp
     Model_AttributeRefAttrList.cpp
     Model_AttributeBoolean.cpp
+    Model_AttributeImage.cpp
     Model_AttributeIntArray.cpp
     Model_AttributeString.cpp
     Model_AttributeStringArray.cpp
@@ -62,44 +81,48 @@ SET(PROJECT_SOURCES
     Model_AttributeSelection.cpp
     Model_AttributeSelectionList.cpp
     Model_AttributeTables.cpp
+    Model_AttributeValidator.cpp
     Model_BodyBuilder.cpp
     Model_Events.cpp
     Model_Expression.cpp
-    Model_Update.cpp
-    Model_Validator.cpp
+    Model_FeatureValidator.cpp
+    Model_FiltersFactory.cpp
     Model_ResultBody.cpp
-    Model_ResultCompSolid.cpp
     Model_ResultConstruction.cpp
     Model_ResultPart.cpp
     Model_ResultField.cpp
     Model_ResultGroup.cpp
     Model_ResultParameter.cpp
-    Model_FeatureValidator.cpp
-    Model_AttributeValidator.cpp
-    Model_SelectionNaming.cpp
+    Model_Tools.cpp
+    Model_Update.cpp
+    Model_Validator.cpp
 )
 
 SET(PROJECT_LIBRARIES
     ModelAPI
     Events
     Config
+    Selector
     GeomData
     GeomAPI
     GeomAlgoAPI
-    ${CAS_OCAF}
-    ${CAS_TKCAF}
-    ${CAS_SHAPE}
-    ${CAS_TKBO}
+    Locale
+    ModelGeomAlgo
+    ${OpenCASCADE_ApplicationFramework_LIBRARIES}
 )
 SET(PROJECT_INCLUDES
   ../ModelAPI
   ../Events
   ../Config
+  ../Selector
   ../GeomData
   ../GeomDataAPI
   ../GeomAlgoAPI
   ../GeomAPI
-  ${CAS_INCLUDE_DIRS}
+  ../Locale
+  ../ModelGeomAlgo
+  ../ConstructionPlugin
+  ${OpenCASCADE_INCLUDE_DIR}
 )
 
 
@@ -107,7 +130,7 @@ IF(TKTInspector)
     ADD_DEFINITIONS(-DTINSPECTOR)
 ENDIF()
 
-ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
+ADD_DEFINITIONS(-DMODEL_EXPORTS ${OpenCASCADE_DEFINITIONS})
 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})