Salome HOME
Changed install paths for SALOME module
[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_AttributeDocRef.h
14     Model_AttributeReference.h
15     Model_AttributeRefAttr.h
16     Model_AttributeRefList.h
17     Model_AttributeRefAttrList.h
18     Model_AttributeBoolean.h
19     Model_AttributeIntArray.h
20     Model_AttributeString.h
21     Model_AttributeInteger.h
22     Model_AttributeSelection.h
23     Model_AttributeSelectionList.h
24     Model_BodyBuilder.h
25     Model_Events.h
26     Model_Expression.h
27     Model_Update.h
28     Model_Validator.h
29     Model_ResultBody.h
30     Model_ResultCompSolid.h
31     Model_ResultConstruction.h
32     Model_ResultPart.h
33     Model_ResultGroup.h
34     Model_ResultParameter.h
35     Model_FeatureValidator.h
36     Model_AttributeValidator.h
37     Model_SelectionNaming.h
38 )
39
40 SET(PROJECT_SOURCES
41     Model_Application.cpp
42     Model_Document.cpp
43     Model_Objects.cpp
44     Model_Session.cpp
45     Model_Data.cpp
46     Model_AttributeDouble.cpp
47     Model_AttributeDocRef.cpp
48     Model_AttributeReference.cpp
49     Model_AttributeRefAttr.cpp
50     Model_AttributeRefList.cpp
51     Model_AttributeRefAttrList.cpp
52     Model_AttributeBoolean.cpp
53     Model_AttributeIntArray.cpp
54     Model_AttributeString.cpp
55     Model_AttributeInteger.cpp
56     Model_AttributeSelection.cpp
57     Model_AttributeSelectionList.cpp
58     Model_BodyBuilder.cpp
59     Model_Events.cpp
60     Model_Expression.cpp
61     Model_Update.cpp
62     Model_Validator.cpp
63     Model_ResultBody.cpp
64     Model_ResultCompSolid.cpp
65     Model_ResultConstruction.cpp
66     Model_ResultPart.cpp
67     Model_ResultGroup.cpp
68     Model_ResultParameter.cpp
69     Model_FeatureValidator.cpp
70     Model_AttributeValidator.cpp
71     Model_SelectionNaming.cpp
72 )
73
74 SET(PROJECT_LIBRARIES
75     ModelAPI
76     Events
77     Config
78     GeomData
79     GeomAPI
80     GeomAlgoAPI
81     ${CAS_OCAF}
82     ${CAS_TKCAF}
83     ${CAS_SHAPE}
84     ${CAS_TKBO}
85 )
86
87
88
89 ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS})
90 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
91 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
92
93 INCLUDE_DIRECTORIES(
94   ../ModelAPI
95   ../Events
96   ../Config
97   ../GeomData
98   ../GeomDataAPI
99   ../GeomAlgoAPI
100   ../GeomAPI
101   ${CAS_INCLUDE_DIRS}
102 )
103
104 INSTALL(TARGETS Model DESTINATION ${SHAPER_INSTALL_BIN})