Salome HOME
Merge branch 'master' of newgeom:newgeom.git into BR_PYTHON_PLUGIN
[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_AttributeSelection.h
18     Model_AttributeSelectionList.h
19     Model_Events.h
20     Model_Update.h
21     Model_Validator.h
22     Model_ResultBody.h
23     Model_ResultConstruction.h
24     Model_ResultPart.h
25     Model_ResultGroup.h
26     Model_FeatureValidator.h
27 )
28
29 SET(PROJECT_SOURCES
30     Model_Application.cpp
31     Model_Document.cpp
32     Model_Session.cpp
33     Model_Data.cpp
34     Model_AttributeDouble.cpp
35     Model_AttributeDocRef.cpp
36     Model_AttributeReference.cpp
37     Model_AttributeRefAttr.cpp
38     Model_AttributeRefList.cpp
39     Model_AttributeBoolean.cpp
40     Model_AttributeString.cpp
41     Model_AttributeInteger.cpp
42     Model_AttributeSelection.cpp
43     Model_AttributeSelectionList.cpp
44     Model_Events.cpp
45     Model_Update.cpp
46     Model_Validator.cpp
47     Model_ResultBody.cpp
48     Model_ResultConstruction.cpp
49     Model_ResultPart.cpp
50     Model_ResultGroup.cpp
51     Model_FeatureValidator.cpp
52 )
53
54 SET(PROJECT_LIBRARIES
55     ModelAPI 
56     Events 
57     Config 
58     GeomData
59     GeomAPI
60     GeomAlgoAPI
61     ${CAS_OCAF}
62     ${CAS_TKCAF}
63     ${CAS_SHAPE}
64     ${CAS_TKBO}
65 )
66
67
68
69 ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
70 ADD_LIBRARY(Model MODULE ${PROJECT_SOURCES} ${PROJECT_HEADERS})
71 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
72
73 INCLUDE_DIRECTORIES(
74   ../ModelAPI
75   ../Events
76   ../Config
77   ../GeomData
78   ../GeomDataAPI
79   ../GeomAlgoAPI
80   ../GeomAPI
81   ${CAS_INCLUDE_DIRS}
82 )
83
84 INSTALL(TARGETS Model DESTINATION bin)