Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move color tags to the base geometrical object class.
[modules/hydro.git]
/
src
/
HYDROData
/
CMakeLists.txt
diff --git
a/src/HYDROData/CMakeLists.txt
b/src/HYDROData/CMakeLists.txt
index fb5bb5eb5a4a466082a917ac62260b461a5b3c8e..d0356ae57c3afef61750948607af654049c1cea7 100644
(file)
--- a/
src/HYDROData/CMakeLists.txt
+++ b/
src/HYDROData/CMakeLists.txt
@@
-1,94
+1,131
@@
-include(../../CMake/Common.cmake)
+
#
include(../../CMake/Common.cmake)
-set(PROJECT_HEADERS
+set(PROJECT_HEADERS
HYDROData.h
HYDROData.h
+ HYDROData_AltitudeObject.h
HYDROData_Application.h
HYDROData_Application.h
+ HYDROData_ArtificialObject.h
HYDROData_Bathymetry.h
HYDROData_Bathymetry.h
- HYDROData_Calculation.h
+ HYDROData_BSplineOperation.h
+ HYDROData_CalculationCase.h
+ HYDROData_Channel.h
+ HYDROData_Confluence.h
+ HYDROData_Digue.h
HYDROData_Document.h
HYDROData_Document.h
- HYDROData_
Domain
.h
- HYDROData_
Lambert93
.h
+ HYDROData_
Entity
.h
+ HYDROData_
IAltitudeObject
.h
HYDROData_Image.h
HYDROData_Image.h
+ HYDROData_ImmersibleZone.h
+ HYDROData_IPolyline.h
HYDROData_Iterator.h
HYDROData_Iterator.h
+ HYDROData_Lambert93.h
+ HYDROData_NaturalObject.h
HYDROData_Object.h
HYDROData_Object.h
+ HYDROData_Obstacle.h
+ HYDROData_OperationsFactory.h
HYDROData_Polyline.h
HYDROData_Polyline.h
- HYDROData_VisualState.h
+ HYDROData_PolylineXY.h
+ HYDROData_Profile.h
+ HYDROData_ProfileUZ.h
HYDROData_Region.h
HYDROData_Region.h
+ HYDROData_River.h
+ HYDROData_SplitToZonesTool.h
+ HYDROData_Stream.h
HYDROData_Tool.h
HYDROData_Tool.h
+ HYDROData_VisualState.h
HYDROData_Zone.h
HYDROData_Zone.h
- HYDROOperations_Factory.h
- HYDROOperations_BSpline.h
)
set(PROJECT_SOURCES
)
set(PROJECT_SOURCES
+ HYDROData_AltitudeObject.cxx
HYDROData_Application.cxx
HYDROData_Application.cxx
+ HYDROData_ArtificialObject.cxx
HYDROData_Bathymetry.cxx
HYDROData_Bathymetry.cxx
- HYDROData_Calculation.cxx
+ HYDROData_BSplineOperation.cxx
+ HYDROData_CalculationCase.cxx
+ HYDROData_Channel.cxx
+ HYDROData_Confluence.cxx
+ HYDROData_Digue.cxx
HYDROData_Document.cxx
HYDROData_Document.cxx
- HYDROData_Domain.cxx
+ HYDROData_Entity.cxx
+ HYDROData_IAltitudeObject.cxx
HYDROData_Image.cxx
HYDROData_Image.cxx
+ HYDROData_ImmersibleZone.cxx
+ HYDROData_IPolyline.cxx
HYDROData_Iterator.cxx
HYDROData_Lambert93.cxx
HYDROData_Iterator.cxx
HYDROData_Lambert93.cxx
+ HYDROData_NaturalObject.cxx
HYDROData_Object.cxx
HYDROData_Object.cxx
+ HYDROData_Obstacle.cxx
+ HYDROData_OperationsFactory.cxx
HYDROData_Polyline.cxx
HYDROData_Polyline.cxx
- HYDROData_VisualState.cxx
+ HYDROData_PolylineXY.cxx
+ HYDROData_Profile.cxx
+ HYDROData_ProfileUZ.cxx
HYDROData_Region.cxx
HYDROData_Region.cxx
+ HYDROData_River.cxx
+ HYDROData_SplitToZonesTool.cxx
+ HYDROData_Stream.cxx
HYDROData_Tool.cxx
HYDROData_Tool.cxx
+ HYDROData_VisualState.cxx
HYDROData_Zone.cxx
HYDROData_Zone.cxx
- HYDROOperations_Factory.cxx
- HYDROOperations_BSpline.cxx
)
add_definitions(
-DHYDRODATA_EXPORTS
${CAS_DEFINITIONS}
${QT_DEFINITIONS}
)
add_definitions(
-DHYDRODATA_EXPORTS
${CAS_DEFINITIONS}
${QT_DEFINITIONS}
- ${GUI_CXXFLAGS}
+# ${GUI_CXXFLAGS}
+ ${GUI_DEFINITIONS}
)
include_directories(
${CAS_INCLUDE_DIRS}
${QT_INCLUDES}
${CMAKE_CURRENT_SOURCE_DIR}
)
include_directories(
${CAS_INCLUDE_DIRS}
${QT_INCLUDES}
${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/../HYDROCurveCreator
+# ${GUI_ROOT_DIR}/include/salome
+ ${GUI_INCLUDE_DIRS}
)
add_library(HYDROData SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
)
add_library(HYDROData SHARED ${PROJECT_SOURCES} ${PROJECT_HEADERS})
-target_link_libraries(HYDROData ${CAS_OCAF} ${QT_LIBRARIES} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${ImageComposer})
+target_link_libraries(HYDROData HYDROCurveCreator ${CAS_OCAF} ${CAS_OCAFVIS} ${CAS_TKG3d} ${CAS_TKGeomBase} ${CAS_TKGeomAlgo} ${CAS_TKBrep} ${CAS_TKIGES} ${CAS_TKSTEP} ${CAS_TKTopAlgo} ${CAS_TKBO} ${QT_LIBRARIES} ${GUI_ImageComposer})
+INSTALL(TARGETS HYDROData EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
set(PROJECT_LIBRARIES HYDROData)
# tests
set(PROJECT_LIBRARIES HYDROData)
# tests
-if(
CPPUNIT_IS_OK
)
+if(
SALOME_BUILD_TESTS
)
set(TEST_HEADERS
set(TEST_HEADERS
+ test_HYDROData_Bathymetry.h
+ test_HYDROData_BSplineOperation.h
+ test_HYDROData_CalculationCase.h
test_HYDROData_Document.h
test_HYDROData_Document.h
- test_HYDROData_Object.h
- test_HYDROData_Iterator.h
+ test_HYDROData_Entity.h
test_HYDROData_Image.h
test_HYDROData_Image.h
+ test_HYDROData_Iterator.h
+ test_HYDROData_OperationsFactory.h
test_HYDROData_Polyline.h
test_HYDROData_Polyline.h
- test_HYDROData_Bathymetry.h
- test_HYDROData_Calculation.h
- test_HYDROOperations_BSpline.h
- test_HYDROOperations_Factory.h
)
set(TEST_SOURCES
test_HYDROData_Main.cxx
)
set(TEST_SOURCES
test_HYDROData_Main.cxx
+ test_HYDROData_Bathymetry.cxx
+ test_HYDROData_BSplineOperation.cxx
+ test_HYDROData_CalculationCase.cxx
test_HYDROData_Document.cxx
test_HYDROData_Document.cxx
- test_HYDROData_Object.cxx
- test_HYDROData_Iterator.cxx
+ test_HYDROData_Entity.cxx
test_HYDROData_Image.cxx
test_HYDROData_Image.cxx
+ test_HYDROData_Iterator.cxx
+ test_HYDROData_OperationsFactory.cxx
test_HYDROData_Polyline.cxx
test_HYDROData_Polyline.cxx
- test_HYDROData_Bathymetry.cxx
- test_HYDROData_Calculation.cxx
- test_HYDROOperations_BSpline.cxx
- test_HYDROOperations_Factory.cxx
)
set(TEST_EXE test_HYDROData)
include(../../CMake/CPPUnitTests.cmake)
)
set(TEST_EXE test_HYDROData)
include(../../CMake/CPPUnitTests.cmake)
- target_link_libraries(test_HYDROData ${CAS_OCAF} ${CAS_MODELER} ${QT_LIBRARIES} ${CPPUNIT_LIBS} HYDROData)
-
-endif(
CPPUNIT_IS_OK
)
+ target_link_libraries(test_HYDROData ${CAS_OCAF} ${CAS_MODELER} ${QT_LIBRARIES} ${CPPUNIT_LIB
RARIE
S} HYDROData)
+
+endif(
SALOME_BUILD_TESTS
)
-include(../../CMake/CommonInstall.cmake)
+
#
include(../../CMake/CommonInstall.cmake)