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