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