]> SALOME platform Git repositories - modules/hydro.git/blob - src/HYDROData/CMakeLists.txt
Salome HOME
global misprinting in the word "splitted" is replaced by "split"
[modules/hydro.git] / src / HYDROData / CMakeLists.txt
1 include(../../CMake/Common.cmake)
2
3 set(PROJECT_HEADERS
4     HYDROData.h
5     HYDROData_AltitudeObject.h
6     HYDROData_Application.h
7     HYDROData_ArtificialObject.h
8     HYDROData_Bathymetry.h
9     HYDROData_BSplineOperation.h
10     HYDROData_CalculationCase.h
11     HYDROData_Channel.h
12     HYDROData_Confluence.h
13     HYDROData_Digue.h
14     HYDROData_Document.h
15     HYDROData_DummyObject3D.h
16     HYDROData_Entity.h
17     HYDROData_IAltitudeObject.h
18     HYDROData_IInterpolator.h
19     HYDROData_Image.h
20     HYDROData_ImmersibleZone.h
21     HYDROData_IPolyline.h
22     HYDROData_Iterator.h
23     HYDROData_Lambert93.h
24     HYDROData_NaturalObject.h
25     HYDROData_Object.h
26     HYDROData_Obstacle.h
27     HYDROData_ObstacleAltitude.h
28     HYDROData_OperationsFactory.h
29     HYDROData_PolylineOperator.h
30     HYDROData_PolylineXY.h
31     HYDROData_Polyline3D.h
32     HYDROData_PriorityQueue.h
33     HYDROData_Profile.h
34     HYDROData_ProfileUZ.h
35     HYDROData_Projection.h
36     HYDROData_Region.h
37     HYDROData_River.h
38     HYDROData_ShapesGroup.h
39     HYDROData_ShapesTool.h
40     HYDROData_SplitShapesGroup.h
41     HYDROData_SplitToZonesTool.h
42     HYDROData_Stream.h
43     HYDROData_StreamAltitude.h
44     HYDROData_StricklerTable.h
45     HYDROData_Tool.h
46     HYDROData_TopoCurve.h
47     HYDROData_Transform.h
48     HYDROData_VisualState.h
49     HYDROData_Warning.h
50     HYDROData_Zone.h
51     HYDROData_GeomTool.h
52     HYDROData_IProfilesInterpolator.h
53     HYDROData_LinearInterpolator.h
54     HYDROData_InterpolatorsFactory.h
55     HYDROData_SinusX.h
56     HYDROData_ShapeFile.h
57     HYDROData_LandCoverMap.h
58 )
59
60 set(PROJECT_SOURCES 
61     HYDROData_AltitudeObject.cxx
62     HYDROData_Application.cxx
63     HYDROData_ArtificialObject.cxx
64     HYDROData_Bathymetry.cxx
65     HYDROData_BSplineOperation.cxx
66     HYDROData_CalculationCase.cxx
67     HYDROData_Channel.cxx
68     HYDROData_Confluence.cxx
69     HYDROData_Digue.cxx
70     HYDROData_Document.cxx
71     HYDROData_DummyObject3D.cxx
72     HYDROData_Entity.cxx
73     HYDROData_IAltitudeObject.cxx
74     HYDROData_IInterpolator.cxx
75     HYDROData_Image.cxx
76     HYDROData_ImmersibleZone.cxx
77     HYDROData_IPolyline.cxx
78     HYDROData_Iterator.cxx
79     HYDROData_Lambert93.cxx
80     HYDROData_NaturalObject.cxx
81     HYDROData_Object.cxx
82     HYDROData_Obstacle.cxx
83     HYDROData_ObstacleAltitude.cxx
84     HYDROData_OperationsFactory.cxx
85     HYDROData_PolylineOperator.cxx
86     HYDROData_PolylineXY.cxx
87     HYDROData_Polyline3D.cxx
88     HYDROData_PriorityQueue.cxx
89     HYDROData_Profile.cxx
90     HYDROData_ProfileUZ.cxx
91     HYDROData_Projection.cxx
92     HYDROData_Region.cxx
93     HYDROData_River.cxx
94     HYDROData_ShapesGroup.cxx
95     HYDROData_ShapesTool.cxx
96     HYDROData_SplitShapesGroup.cxx
97     HYDROData_SplitToZonesTool.cxx
98     HYDROData_Stream.cxx
99     HYDROData_StreamAltitude.cxx
100     HYDROData_StricklerTable.cxx
101     HYDROData_Tool.cxx
102     HYDROData_TopoCurve.cxx
103     HYDROData_Transform.cxx
104     HYDROData_VisualState.cxx
105     HYDROData_Zone.cxx
106     HYDROData_GeomTool.cxx
107     HYDROData_IProfilesInterpolator.cxx
108     HYDROData_LinearInterpolator.cxx
109     HYDROData_InterpolatorsFactory.cxx
110     HYDROData_SinusX.cxx
111     HYDROData_ShapeFile.cxx
112     HYDROData_LandCoverMap.cxx
113  )
114
115 add_definitions(
116   -DHYDRODATA_EXPORTS
117   ${CAS_DEFINITIONS}
118   ${OMNIORB_DEFINITIONS}
119   ${QT_DEFINITIONS}
120 #  ${GUI_CXXFLAGS}
121   ${GUI_DEFINITIONS}
122   ${GEOM_DEFINITIONS}
123 )
124
125 include_directories(
126   ${CAS_INCLUDE_DIRS}
127   ${QT_INCLUDES}
128   ${GUI_INCLUDE_DIRS}
129   ${CMAKE_CURRENT_SOURCE_DIR}/../shapelib
130 )
131
132 add_library(HYDROData SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
133 target_link_libraries(HYDROData shapelib ${GEOM_GEOMUtils} ${CAS_OCAF} ${CAS_OCAFVIS} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo}
134                       ${CAS_TKBrep} ${CAS_TKIGES} ${CAS_TKSTEP} ${CAS_TKTopAlgo} ${CAS_TKBO} ${CAS_TKBool} ${CAS_TKOffset}
135                       ${QT_LIBRARIES} ${GUI_ImageComposer} ${CAS_TKHLR} ${GEOM_GEOM} ${GEOM_GEOMBase} ${GEOM_CurveCreator} )
136 INSTALL(TARGETS HYDROData EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
137
138 set(PROJECT_LIBRARIES shapelib HYDROData)
139
140 #include(../../CMake/CommonInstall.cmake)