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