Salome HOME
Merge branch 'master' of newgeom:newgeom.git into BR_PYTHON_PLUGIN
[modules/shaper.git] / src / Model / CMakeLists.txt
1 INCLUDE(Common)
2
3 SET(PROJECT_HEADERS
4     Model.h
5     Model_Application.h
6     Model_Document.h
7     Model_Session.h
8     Model_Data.h
9     Model_AttributeDouble.h
10     Model_AttributeDocRef.h
11     Model_AttributeReference.h
12     Model_AttributeRefAttr.h
13     Model_AttributeRefList.h
14     Model_AttributeBoolean.h
15     Model_AttributeString.h
16     Model_AttributeInteger.h
17     Model_AttributeSelection.h
18     Model_AttributeSelectionList.h
19     Model_Events.h
20     Model_Update.h
21     Model_Validator.h
22     Model_ResultBody.h
23     Model_ResultConstruction.h
24     Model_ResultPart.h
25     Model_FeatureValidator.h
26 )
27
28 SET(PROJECT_SOURCES
29     Model_Application.cpp
30     Model_Document.cpp
31     Model_Session.cpp
32     Model_Data.cpp
33     Model_AttributeDouble.cpp
34     Model_AttributeDocRef.cpp
35     Model_AttributeReference.cpp
36     Model_AttributeRefAttr.cpp
37     Model_AttributeRefList.cpp
38     Model_AttributeBoolean.cpp
39     Model_AttributeString.cpp
40     Model_AttributeInteger.cpp
41     Model_AttributeSelection.cpp
42     Model_AttributeSelectionList.cpp
43     Model_Events.cpp
44     Model_Update.cpp
45     Model_Validator.cpp
46     Model_ResultBody.cpp
47     Model_ResultConstruction.cpp
48     Model_ResultPart.cpp
49     Model_FeatureValidator.cpp
50 )
51
52 SET(PROJECT_LIBRARIES
53     ModelAPI 
54     Events 
55     Config 
56     GeomData
57     GeomAPI
58     GeomAlgoAPI
59     ${CAS_OCAF}
60     ${CAS_TKCAF}
61     ${CAS_SHAPE}
62     ${CAS_TKBO}
63 )
64
65
66
67 ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
68 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
69 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
70
71 INCLUDE_DIRECTORIES(
72   ../ModelAPI
73   ../Events
74   ../Config
75   ../GeomData
76   ../GeomDataAPI
77   ../GeomAlgoAPI
78   ../GeomAPI
79   ${CAS_INCLUDE_DIRS}
80 )
81
82 INSTALL(TARGETS Model DESTINATION bin)