X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FCMakeLists.txt;h=fdfb04ccf2ed7cc77bbac2f32f32d58fb3ea0dc5;hb=e4e9446cd26b23a5b5d58a1a6de2f7bd4fa0c865;hp=53f1ec956eef3537a14856c1f92268ea24832ef6;hpb=9fb117423f35d7271d96badbe4b8ec320641bc6e;p=modules%2Fshaper.git diff --git a/src/Model/CMakeLists.txt b/src/Model/CMakeLists.txt index 53f1ec956..fdfb04ccf 100644 --- a/src/Model/CMakeLists.txt +++ b/src/Model/CMakeLists.txt @@ -1,5 +1,4 @@ INCLUDE(Common) -INCLUDE(FindCAS) SET(PROJECT_HEADERS Model.h @@ -7,31 +6,62 @@ SET(PROJECT_HEADERS Model_Document.h Model_PluginManager.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_Events.h + Model_Update.h + Model_Validator.h + Model_ResultBody.h + Model_ResultConstruction.h + Model_ResultPart.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_PluginManager.cpp + Model_Data.cpp + Model_AttributeDouble.cpp + Model_AttributeDocRef.cpp + Model_AttributeReference.cpp + Model_AttributeRefAttr.cpp + Model_AttributeRefList.cpp + Model_AttributeBoolean.cpp + Model_Events.cpp + Model_Update.cpp + Model_Validator.cpp + Model_ResultBody.cpp + Model_ResultConstruction.cpp + Model_ResultPart.cpp ) +SET(PROJECT_LIBRARIES + ModelAPI + Events + Config + GeomData + GeomAPI + ${CAS_OCAF} + ${CAS_TKCAF} +) + + + ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS}) ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS}) -TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES} ${CAS_OCAF} ModelAPI Event Config) +TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES}) INCLUDE_DIRECTORIES( ../ModelAPI - ../Event + ../Events ../Config + ../GeomData + ../GeomDataAPI + ../GeomAPI ${CAS_INCLUDE_DIRS} )