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