Salome HOME
Issue #1540: Added attribute for array of double.
[modules/shaper.git] / src / Model / CMakeLists.txt
1 ## Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 INCLUDE(Common)
4
5 SET(PROJECT_HEADERS
6     Model.h
7     Model_Application.h
8     Model_Document.h
9     Model_Objects.h
10     Model_Session.h
11     Model_Data.h
12     Model_AttributeDouble.h
13     Model_AttributeDoubleArray.h
14     Model_AttributeDocRef.h
15     Model_AttributeReference.h
16     Model_AttributeRefAttr.h
17     Model_AttributeRefList.h
18     Model_AttributeRefAttrList.h
19     Model_AttributeBoolean.h
20     Model_AttributeIntArray.h
21     Model_AttributeString.h
22     Model_AttributeInteger.h
23     Model_AttributeSelection.h
24     Model_AttributeSelectionList.h
25     Model_BodyBuilder.h
26     Model_Events.h
27     Model_Expression.h
28     Model_Update.h
29     Model_Validator.h
30     Model_ResultBody.h
31     Model_ResultCompSolid.h
32     Model_ResultConstruction.h
33     Model_ResultPart.h
34     Model_ResultGroup.h
35     Model_ResultParameter.h
36     Model_FeatureValidator.h
37     Model_AttributeValidator.h
38     Model_SelectionNaming.h
39 )
40
41 SET(PROJECT_SOURCES
42     Model_Application.cpp
43     Model_Document.cpp
44     Model_Objects.cpp
45     Model_Session.cpp
46     Model_Data.cpp
47     Model_AttributeDouble.cpp
48     Model_AttributeDoubleArray.cpp
49     Model_AttributeDocRef.cpp
50     Model_AttributeReference.cpp
51     Model_AttributeRefAttr.cpp
52     Model_AttributeRefList.cpp
53     Model_AttributeRefAttrList.cpp
54     Model_AttributeBoolean.cpp
55     Model_AttributeIntArray.cpp
56     Model_AttributeString.cpp
57     Model_AttributeInteger.cpp
58     Model_AttributeSelection.cpp
59     Model_AttributeSelectionList.cpp
60     Model_BodyBuilder.cpp
61     Model_Events.cpp
62     Model_Expression.cpp
63     Model_Update.cpp
64     Model_Validator.cpp
65     Model_ResultBody.cpp
66     Model_ResultCompSolid.cpp
67     Model_ResultConstruction.cpp
68     Model_ResultPart.cpp
69     Model_ResultGroup.cpp
70     Model_ResultParameter.cpp
71     Model_FeatureValidator.cpp
72     Model_AttributeValidator.cpp
73     Model_SelectionNaming.cpp
74 )
75
76 SET(PROJECT_LIBRARIES
77     ModelAPI
78     Events
79     Config
80     GeomData
81     GeomAPI
82     GeomAlgoAPI
83     ${CAS_OCAF}
84     ${CAS_TKCAF}
85     ${CAS_SHAPE}
86     ${CAS_TKBO}
87 )
88
89
90
91 ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
92 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
93 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
94
95 INCLUDE_DIRECTORIES(
96   ../ModelAPI
97   ../Events
98   ../Config
99   ../GeomData
100   ../GeomDataAPI
101   ../GeomAlgoAPI
102   ../GeomAPI
103   ${CAS_INCLUDE_DIRS}
104 )
105
106 INSTALL(TARGETS Model DESTINATION ${SHAPER_INSTALL_BIN})