From: asl Date: Tue, 13 Oct 2015 10:41:19 +0000 (+0300) Subject: external files list is moved into the separate cmake file X-Git-Tag: v1.5~138 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b417c5a170b20a9c5d86cc030ee19464126a5253;p=modules%2Fhydro.git external files list is moved into the separate cmake file --- diff --git a/src/HYDRO_tests/CMakeLists.txt b/src/HYDRO_tests/CMakeLists.txt index 7a9943cd..48e7df71 100644 --- a/src/HYDRO_tests/CMakeLists.txt +++ b/src/HYDRO_tests/CMakeLists.txt @@ -1,4 +1,4 @@ -#include(../../CMake/Common.cmake) +include(ExternalFiles.cmake) set(PROJECT_HEADERS operators.h @@ -27,63 +27,7 @@ set(PROJECT_SOURCES test_HYDROData_StricklerTable.cxx test_HYDROGUI_ListModel.cxx - ../HYDROData/HYDROData_AltitudeObject.cxx - ../HYDROData/HYDROData_Application.cxx - ../HYDROData/HYDROData_ArtificialObject.cxx - ../HYDROData/HYDROData_Bathymetry.cxx - ../HYDROData/HYDROData_BSplineOperation.cxx - ../HYDROData/HYDROData_CalculationCase.cxx - ../HYDROData/HYDROData_Channel.cxx - ../HYDROData/HYDROData_Confluence.cxx - ../HYDROData/HYDROData_Digue.cxx - ../HYDROData/HYDROData_Document.cxx - ../HYDROData/HYDROData_DummyObject3D.cxx - ../HYDROData/HYDROData_Entity.cxx - ../HYDROData/HYDROData_IAltitudeObject.cxx - ../HYDROData/HYDROData_IInterpolator.cxx - ../HYDROData/HYDROData_Image.cxx - ../HYDROData/HYDROData_ImmersibleZone.cxx - ../HYDROData/HYDROData_IPolyline.cxx - ../HYDROData/HYDROData_Iterator.cxx - ../HYDROData/HYDROData_Lambert93.cxx - ../HYDROData/HYDROData_NaturalObject.cxx - ../HYDROData/HYDROData_Object.cxx - ../HYDROData/HYDROData_Obstacle.cxx - ../HYDROData/HYDROData_ObstacleAltitude.cxx - ../HYDROData/HYDROData_OperationsFactory.cxx - ../HYDROData/HYDROData_Pipes.cxx - ../HYDROData/HYDROData_PolylineOperator.cxx - ../HYDROData/HYDROData_PolylineXY.cxx - ../HYDROData/HYDROData_Polyline3D.cxx - ../HYDROData/HYDROData_PriorityQueue.cxx - ../HYDROData/HYDROData_Profile.cxx - ../HYDROData/HYDROData_ProfileUZ.cxx - ../HYDROData/HYDROData_Projection.cxx - ../HYDROData/HYDROData_Region.cxx - ../HYDROData/HYDROData_River.cxx - ../HYDROData/HYDROData_ShapesGroup.cxx - ../HYDROData/HYDROData_ShapesTool.cxx - ../HYDROData/HYDROData_SplittedShapesGroup.cxx - ../HYDROData/HYDROData_SplitToZonesTool.cxx - ../HYDROData/HYDROData_Stream.cxx - ../HYDROData/HYDROData_StreamAltitude.cxx - ../HYDROData/HYDROData_StricklerTable.cxx - ../HYDROData/HYDROData_LandCover.cxx - ../HYDROData/HYDROData_Tool.cxx - ../HYDROData/HYDROData_TopoCurve.cxx - ../HYDROData/HYDROData_Transform.cxx - ../HYDROData/HYDROData_VisualState.cxx - ../HYDROData/HYDROData_Zone.cxx - ../HYDROData/HYDROData_GeomTool.cxx - ../HYDROData/HYDROData_IProfilesInterpolator.cxx - ../HYDROData/HYDROData_LinearInterpolator.cxx - ../HYDROData/HYDROData_InterpolatorsFactory.cxx - ../HYDROData/HYDROData_SinusX.cxx - ../HYDROData/HYDROData_ShapeFile.cxx - ../HYDROData/HYDROData_LandCoverMap.cxx - - ../HYDROGUI/HYDROGUI_ListModel.cxx - ../HYDROGUI/HYDROGUI_DataObject.cxx + ${EXTERNAL_FILES} ) add_definitions( diff --git a/src/HYDRO_tests/ExternalFiles.cmake b/src/HYDRO_tests/ExternalFiles.cmake new file mode 100644 index 00000000..48d1d12a --- /dev/null +++ b/src/HYDRO_tests/ExternalFiles.cmake @@ -0,0 +1,60 @@ + +set( EXTERNAL_FILES + ../HYDROData/HYDROData_AltitudeObject.cxx + ../HYDROData/HYDROData_Application.cxx + ../HYDROData/HYDROData_ArtificialObject.cxx + ../HYDROData/HYDROData_Bathymetry.cxx + ../HYDROData/HYDROData_BSplineOperation.cxx + ../HYDROData/HYDROData_CalculationCase.cxx + ../HYDROData/HYDROData_Channel.cxx + ../HYDROData/HYDROData_Confluence.cxx + ../HYDROData/HYDROData_Digue.cxx + ../HYDROData/HYDROData_Document.cxx + ../HYDROData/HYDROData_DummyObject3D.cxx + ../HYDROData/HYDROData_Entity.cxx + ../HYDROData/HYDROData_IAltitudeObject.cxx + ../HYDROData/HYDROData_IInterpolator.cxx + ../HYDROData/HYDROData_Image.cxx + ../HYDROData/HYDROData_ImmersibleZone.cxx + ../HYDROData/HYDROData_IPolyline.cxx + ../HYDROData/HYDROData_Iterator.cxx + ../HYDROData/HYDROData_Lambert93.cxx + ../HYDROData/HYDROData_NaturalObject.cxx + ../HYDROData/HYDROData_Object.cxx + ../HYDROData/HYDROData_Obstacle.cxx + ../HYDROData/HYDROData_ObstacleAltitude.cxx + ../HYDROData/HYDROData_OperationsFactory.cxx + ../HYDROData/HYDROData_Pipes.cxx + ../HYDROData/HYDROData_PolylineOperator.cxx + ../HYDROData/HYDROData_PolylineXY.cxx + ../HYDROData/HYDROData_Polyline3D.cxx + ../HYDROData/HYDROData_PriorityQueue.cxx + ../HYDROData/HYDROData_Profile.cxx + ../HYDROData/HYDROData_ProfileUZ.cxx + ../HYDROData/HYDROData_Projection.cxx + ../HYDROData/HYDROData_Region.cxx + ../HYDROData/HYDROData_River.cxx + ../HYDROData/HYDROData_ShapesGroup.cxx + ../HYDROData/HYDROData_ShapesTool.cxx + ../HYDROData/HYDROData_SplittedShapesGroup.cxx + ../HYDROData/HYDROData_SplitToZonesTool.cxx + ../HYDROData/HYDROData_Stream.cxx + ../HYDROData/HYDROData_StreamAltitude.cxx + ../HYDROData/HYDROData_StricklerTable.cxx + ../HYDROData/HYDROData_LandCover.cxx + ../HYDROData/HYDROData_Tool.cxx + ../HYDROData/HYDROData_TopoCurve.cxx + ../HYDROData/HYDROData_Transform.cxx + ../HYDROData/HYDROData_VisualState.cxx + ../HYDROData/HYDROData_Zone.cxx + ../HYDROData/HYDROData_GeomTool.cxx + ../HYDROData/HYDROData_IProfilesInterpolator.cxx + ../HYDROData/HYDROData_LinearInterpolator.cxx + ../HYDROData/HYDROData_InterpolatorsFactory.cxx + ../HYDROData/HYDROData_SinusX.cxx + ../HYDROData/HYDROData_ShapeFile.cxx + ../HYDROData/HYDROData_LandCoverMap.cxx + + ../HYDROGUI/HYDROGUI_ListModel.cxx + ../HYDROGUI/HYDROGUI_DataObject.cxx +)