]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
external files list is moved into the separate cmake file
authorasl <asl@opencascade.com>
Tue, 13 Oct 2015 10:41:19 +0000 (13:41 +0300)
committerasl <asl@opencascade.com>
Tue, 13 Oct 2015 10:41:19 +0000 (13:41 +0300)
src/HYDRO_tests/CMakeLists.txt
src/HYDRO_tests/ExternalFiles.cmake [new file with mode: 0644]

index 7a9943cd3bf6df0cecd92c01ba3b462582ac9b81..48e7df71f76612559011d0b741976fe96d0167e5 100644 (file)
@@ -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 (file)
index 0000000..48d1d12
--- /dev/null
@@ -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
+)