Salome HOME
Merge branch 'master' of newgeom:newgeom
[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_PluginManager.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_Events.h
18     Model_Update.h
19     Model_Validator.h
20     Model_ResultBody.h
21     Model_ResultConstruction.h
22     Model_ResultPart.h
23         Model_ResultValidators.h
24         Model_FeatureValidator.h
25 )
26
27 SET(PROJECT_SOURCES
28     Model_Application.cpp
29     Model_Document.cpp
30     Model_PluginManager.cpp
31     Model_Data.cpp
32     Model_AttributeDouble.cpp
33     Model_AttributeDocRef.cpp
34     Model_AttributeReference.cpp
35     Model_AttributeRefAttr.cpp
36     Model_AttributeRefList.cpp
37     Model_AttributeBoolean.cpp
38     Model_AttributeString.cpp
39     Model_AttributeInteger.cpp
40     Model_Events.cpp
41     Model_Update.cpp
42     Model_Validator.cpp
43     Model_ResultBody.cpp
44     Model_ResultConstruction.cpp
45     Model_ResultPart.cpp
46         Model_ResultValidators.cpp
47         Model_FeatureValidator.cpp
48 )
49
50 SET(PROJECT_LIBRARIES
51     ModelAPI 
52     Events 
53     Config 
54     GeomData
55     GeomAPI
56     ${CAS_OCAF}
57     ${CAS_TKCAF}
58 )
59
60
61
62 ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
63 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
64 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES})
65
66 INCLUDE_DIRECTORIES(
67   ../ModelAPI
68   ../Events
69   ../Config
70   ../GeomData
71   ../GeomDataAPI
72   ../GeomAPI
73   ${CAS_INCLUDE_DIRS}
74 )
75
76 INSTALL(TARGETS Model DESTINATION bin)