X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FCMakeLists.txt;h=379fc69afe1c6f9f664f729f6b77b5fb352b33e3;hb=ecec337d46d54cb79cbca6233fb93449513603af;hp=48a70e9acdf6be457d8f1e9fb1c49110c516390b;hpb=3a272fa1aff115d8ff8744d54a09bc7f2d5576b4;p=modules%2Fshaper.git diff --git a/src/Model/CMakeLists.txt b/src/Model/CMakeLists.txt index 48a70e9ac..379fc69af 100644 --- a/src/Model/CMakeLists.txt +++ b/src/Model/CMakeLists.txt @@ -1,39 +1,85 @@ -CMAKE_MINIMUM_REQUIRED(VERSION 2.8.11) +## 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_Session.h Model_Data.h - Model_Iterator.h Model_AttributeDouble.h Model_AttributeDocRef.h + Model_AttributeReference.h + Model_AttributeRefAttr.h + Model_AttributeRefList.h + Model_AttributeBoolean.h + Model_AttributeString.h + Model_AttributeInteger.h + Model_AttributeSelection.h + Model_AttributeSelectionList.h Model_Events.h + Model_Update.h + Model_Validator.h + Model_ResultBody.h + Model_ResultConstruction.h + Model_ResultPart.h + Model_ResultGroup.h + Model_FeatureValidator.h ) SET(PROJECT_SOURCES - Model_Application.cxx - Model_Document.cxx - Model_PluginManager.cxx - Model_Data.cxx - Model_Iterator.cxx - Model_AttributeDouble.cxx - Model_AttributeDocRef.cxx - Model_Events.cxx + Model_Application.cpp + Model_Document.cpp + Model_Session.cpp + Model_Data.cpp + Model_AttributeDouble.cpp + Model_AttributeDocRef.cpp + Model_AttributeReference.cpp + Model_AttributeRefAttr.cpp + Model_AttributeRefList.cpp + Model_AttributeBoolean.cpp + Model_AttributeString.cpp + Model_AttributeInteger.cpp + Model_AttributeSelection.cpp + Model_AttributeSelectionList.cpp + Model_Events.cpp + Model_Update.cpp + Model_Validator.cpp + Model_ResultBody.cpp + Model_ResultConstruction.cpp + Model_ResultPart.cpp + Model_ResultGroup.cpp + Model_FeatureValidator.cpp ) +SET(PROJECT_LIBRARIES + ModelAPI + Events + Config + GeomData + GeomAPI + GeomAlgoAPI + ${CAS_OCAF} + ${CAS_TKCAF} + ${CAS_SHAPE} + ${CAS_TKBO} +) + + + ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS}) -ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}) -TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES} ${CAS_OCAF} ModelAPI Event Config) +ADD_LIBRARY(Model MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS}) +TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES}) INCLUDE_DIRECTORIES( ../ModelAPI - ../Event + ../Events ../Config + ../GeomData + ../GeomDataAPI + ../GeomAlgoAPI + ../GeomAPI ${CAS_INCLUDE_DIRS} )