Salome HOME
Issue #83: renamed PluginManager to Session
[modules/shaper.git] / src / Model / CMakeLists.txt
1 INCLUDE(Common)
2
3 SET(PROJECT_HEADERS
4     Model.h
5     Model_Application.h
6     Model_Document.h
7     Model_Session.h
8     Model_Data.h
9     Model_AttributeDouble.h
10     Model_AttributeDocRef.h
11     Model_AttributeReference.h
12     Model_AttributeRefAttr.h
13     Model_AttributeRefList.h
14     Model_AttributeBoolean.h
15     Model_AttributeString.h
16     Model_AttributeInteger.h
17     Model_Events.h
18     Model_Update.h
19     Model_Validator.h
20     Model_ResultBody.h
21     Model_ResultConstruction.h
22     Model_ResultPart.h
23     Model_FeatureValidator.h
24 )
25
26 SET(PROJECT_SOURCES
27     Model_Application.cpp
28     Model_Document.cpp
29     Model_Session.cpp
30     Model_Data.cpp
31     Model_AttributeDouble.cpp
32     Model_AttributeDocRef.cpp
33     Model_AttributeReference.cpp
34     Model_AttributeRefAttr.cpp
35     Model_AttributeRefList.cpp
36     Model_AttributeBoolean.cpp
37     Model_AttributeString.cpp
38     Model_AttributeInteger.cpp
39     Model_Events.cpp
40     Model_Update.cpp
41     Model_Validator.cpp
42     Model_ResultBody.cpp
43     Model_ResultConstruction.cpp
44     Model_ResultPart.cpp
45     Model_FeatureValidator.cpp
46 )
47
48 SET(PROJECT_LIBRARIES
49     ModelAPI 
50     Events 
51     Config 
52     GeomData
53     GeomAPI
54     ${CAS_OCAF}
55     ${CAS_TKCAF}
56 )
57
58
59
60 ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
61 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
62 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
63
64 INCLUDE_DIRECTORIES(
65   ../ModelAPI
66   ../Events
67   ../Config
68   ../GeomData
69   ../GeomDataAPI
70   ../GeomAPI
71   ${CAS_INCLUDE_DIRS}
72 )
73
74 INSTALL(TARGETS Model DESTINATION bin)