Salome HOME
List of references attribute and usage of it in the sketch
[modules/shaper.git] / src / Model / CMakeLists.txt
1 INCLUDE(Common)
2 INCLUDE(FindCAS)
3
4 SET(PROJECT_HEADERS
5     Model.h
6     Model_Application.h
7     Model_Document.h
8     Model_PluginManager.h
9     Model_Data.h
10     Model_AttributeDouble.h
11     Model_AttributeDocRef.h
12     Model_AttributeReference.h
13     Model_AttributeRefAttr.h
14     Model_AttributeRefList.h
15     Model_Events.h
16 )
17
18 SET(PROJECT_SOURCES
19     Model_Application.cpp
20     Model_Document.cpp
21     Model_PluginManager.cpp
22     Model_Data.cpp
23     Model_AttributeDouble.cpp
24     Model_AttributeDocRef.cpp
25     Model_AttributeReference.cpp
26     Model_AttributeRefAttr.cpp
27     Model_AttributeRefList.cpp
28     Model_Events.cpp
29 )
30
31 ADD_DEFINITIONS(-DMODEL_EXPORTS ${CAS_DEFINITIONS} ${BOOST_DEFINITIONS})
32 ADD_LIBRARY(Model SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
33 TARGET_LINK_LIBRARIES(Model ${PROJECT_LIBRARIES} ${CAS_OCAF} ModelAPI Events Config GeomData)
34
35 INCLUDE_DIRECTORIES(
36   ../ModelAPI
37   ../Events
38   ../Config
39   ../GeomData
40   ../GeomDataAPI
41   ${CAS_INCLUDE_DIRS}
42 )
43
44 INSTALL(TARGETS Model DESTINATION bin)