Salome HOME
Changed install paths for SALOME module
[modules/shaper.git] / src / Model / CMakeLists.txt
index 24bee85be889d3455ad8ed342b4e6271a187f057..11d98c4271efc7bc03f1aad1af71450751bfd98a 100644 (file)
+## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 INCLUDE(Common)
-INCLUDE(FindCAS)
 
 SET(PROJECT_HEADERS
     Model.h
     Model_Application.h
     Model_Document.h
-    Model_PluginManager.h
+    Model_Objects.h
+    Model_Session.h
     Model_Data.h
-    Model_Iterator.h
     Model_AttributeDouble.h
     Model_AttributeDocRef.h
+    Model_AttributeReference.h
+    Model_AttributeRefAttr.h
+    Model_AttributeRefList.h
+    Model_AttributeRefAttrList.h
+    Model_AttributeBoolean.h
+    Model_AttributeIntArray.h
+    Model_AttributeString.h
+    Model_AttributeInteger.h
+    Model_AttributeSelection.h
+    Model_AttributeSelectionList.h
+    Model_BodyBuilder.h
     Model_Events.h
+    Model_Expression.h
+    Model_Update.h
+    Model_Validator.h
+    Model_ResultBody.h
+    Model_ResultCompSolid.h
+    Model_ResultConstruction.h
+    Model_ResultPart.h
+    Model_ResultGroup.h
+    Model_ResultParameter.h
+    Model_FeatureValidator.h
+    Model_AttributeValidator.h
+    Model_SelectionNaming.h
 )
 
 SET(PROJECT_SOURCES
     Model_Application.cpp
     Model_Document.cpp
-    Model_PluginManager.cpp
+    Model_Objects.cpp
+    Model_Session.cpp
     Model_Data.cpp
-    Model_Iterator.cpp
     Model_AttributeDouble.cpp
     Model_AttributeDocRef.cpp
+    Model_AttributeReference.cpp
+    Model_AttributeRefAttr.cpp
+    Model_AttributeRefList.cpp
+    Model_AttributeRefAttrList.cpp
+    Model_AttributeBoolean.cpp
+    Model_AttributeIntArray.cpp
+    Model_AttributeString.cpp
+    Model_AttributeInteger.cpp
+    Model_AttributeSelection.cpp
+    Model_AttributeSelectionList.cpp
+    Model_BodyBuilder.cpp
     Model_Events.cpp
+    Model_Expression.cpp
+    Model_Update.cpp
+    Model_Validator.cpp
+    Model_ResultBody.cpp
+    Model_ResultCompSolid.cpp
+    Model_ResultConstruction.cpp
+    Model_ResultPart.cpp
+    Model_ResultGroup.cpp
+    Model_ResultParameter.cpp
+    Model_FeatureValidator.cpp
+    Model_AttributeValidator.cpp
+    Model_SelectionNaming.cpp
+)
+
+SET(PROJECT_LIBRARIES
+    ModelAPI
+    Events
+    Config
+    GeomData
+    GeomAPI
+    GeomAlgoAPI
+    ${CAS_OCAF}
+    ${CAS_TKCAF}
+    ${CAS_SHAPE}
+    ${CAS_TKBO}
 )
 
-ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
+
+
+ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES} ${CAS_OCAF} ModelAPI Events Config)
+TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
 
 INCLUDE_DIRECTORIES(
   ../ModelAPI
   ../Events
   ../Config
+  ../GeomData
+  ../GeomDataAPI
+  ../GeomAlgoAPI
+  ../GeomAPI
   ${CAS_INCLUDE_DIRS}
 )
 
-INSTALL(TARGETS Model DESTINATION bin)
+INSTALL(TARGETS Model DESTINATION ${SHAPER_INSTALL_BIN})