HYDROGUI_BathymetryBoundsOp.h
HYDROGUI_TranslateObstacleDlg.h
HYDROGUI_TranslateObstacleOp.h
+ HYDROGUI_ZLevelsModel.h
+ HYDROGUI_ZLevelsDlg.h
+ HYDROGUI_ZLevelsOp.h
)
QT4_WRAP_CPP(PROJECT_HEADERS_MOC ${PROJECT_HEADERS})
HYDROGUI_BathymetryBoundsOp.cxx
HYDROGUI_TranslateObstacleDlg.cxx
HYDROGUI_TranslateObstacleOp.cxx
+ HYDROGUI_ZLevelsModel.cxx
+ HYDROGUI_ZLevelsDlg.cxx
+ HYDROGUI_ZLevelsOp.cxx
)
add_definitions(
${GUI_Event} ${GUI_OCCViewer} ${GEOM_GEOM} ${GEOM_GEOMBase}
${VTK_LIBRARIES} ${SVTK} ${SalomeObject} ${SalomePrs}
)
+
INSTALL(TARGETS HYDROGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_LIBS})
set(PROJECT_LIBRARIES HYDROGUI)
SET(GUI_DATA ${GUIPNG_DATA} ${GUIXML_DATA})
INSTALL(FILES ${GUI_DATA} DESTINATION ${SALOME_HYDRO_INSTALL_RES_DATA})
+# tests
+if(SALOME_BUILD_TESTS)
+
+ set(TEST_HEADERS
+ test_HYDROGUI_ZLevelsModel.h
+ )
+
+ set(TEST_SOURCES
+ test_HYDROGUI_Main.cxx
+ test_HYDROGUI_ZLevelsModel.cxx
+ )
+
+ set(TEST_EXE test_HYDROGUI)
+ include(../../CMake/CPPUnitTests.cmake)
+ target_link_libraries(test_HYDROGUI ${CPPUNIT_LIBRARIES} HYDROData HYDROGUI)
+
+ INSTALL(TARGETS test_HYDROGUI EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
+
+endif(SALOME_BUILD_TESTS)
+