C1.push_back(theTable->Get( *it, DefValue ));
double Val;
if (UseMax)
- Val = *(std::max_element(std::begin(C1), std::end(C1)));
+ Val = *(std::max_element( C1.begin(), C1.end() ) );
else
- Val = *(std::min_element(std::begin(C1), std::end(C1)));
+ Val = *(std::min_element( C1.begin(), C1.end() ) );
theCoeffs[i] = Val;
}
}
)
add_definitions(
- -DLIGHT_MODE -DHYDRODATA_STATIC -DHYDROGUI_STATIC -D__WIN32__ -D__x86__ -D_WIN64 -D_WIN32_WINNT=0x0400 -D__NT__ -D__OSVERSION__=4
-)
+ -DLIGHT_MODE -DHYDRODATA_STATIC -DHYDROGUI_STATIC )
IF( ${WIN32} )
- add_definitions( -DWNT )
+ add_definitions( -DWNT -D__WIN32__ -D__x86__ -D_WIN64 -D_WIN32_WINNT=0x0400 -D__NT__ -D__OSVERSION__=4 )
ENDIF()
SET( CPPUNIT_INCLUDES $ENV{CPPUNIT_ROOT_DIR}/include )
SET( CAS_INCLUDES $ENV{CASROOT}/inc )
-SET( QT_INCLUDES $ENV{QT_ROOT_DIR}/include $ENV{QT_ROOT_DIR}/include/QtCore $ENV{QT_ROOT_DIR}/include/QtGui $ENV{QT_ROOT_DIR}/include/QtTest )
+SET( QT_INCLUDES $ENV{QT4_ROOT_DIR}/include $ENV{QT4_ROOT_DIR}/include/QtCore $ENV{QT4_ROOT_DIR}/include/QtGui $ENV{QT4_ROOT_DIR}/include/QtTest )
SET( KERNEL_INCLUDES $ENV{KERNEL_ROOT_DIR}/include/salome )
SET( GUI_INCLUDES $ENV{GUI_ROOT_DIR}/include/salome )
SET( GEOM_INCLUDES $ENV{GEOM_ROOT_DIR}/include/salome )
ENDIF()
SET( CAS_LIBRARIES TKernel TKLCAF TKCAF TKCDF TKMath TKG2d TKG3d TKBRep TKGeomBase TKTopAlgo TKGeomAlgo TKBool TKShHealing TKXSBase TKOffset TKHLR TKBO TKV3d TKService TKMesh )
-link_directories( $ENV{QT_ROOT_DIR}/lib )
+link_directories( $ENV{QT4_ROOT_DIR}/lib )
IF( ${WIN32} )
SET( QT_LIBRARIES QtCored4 QtGuid4 QtTestd4 )
ELSE()
link_directories( $ENV{KERNEL_ROOT_DIR}/lib/salome $ENV{GUI_ROOT_DIR}/lib/salome $ENV{GEOM_ROOT_DIR}/lib/salome )
SET( GUI_LIBRARIES ImageComposer qtx suit LightApp CAM OCCViewer )
-SET( GEOM_LIBRARIES CurveCreator GeomUtils )
+SET( GEOM_LIBRARIES CurveCreator GEOMUtils )
include_directories(
${CAS_INCLUDES}
# add_custom_command( TARGET HYDROData_tests POST_BUILD COMMAND $(TargetPath) COMMENT "Running tests" )
#ENDIF()
-INSTALL(TARGETS HYDROData_tests EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${SALOME_INSTALL_BINS})
+SET( INSTALL_BINS $ENV{HYDRO_ROOT_DIR}/bin/salome )
+INSTALL(TARGETS HYDROData_tests EXPORT ${PROJECT_NAME}TargetGroup DESTINATION ${INSTALL_BINS})
../HYDROData/HYDROData_SinusX.cxx
../HYDROData/HYDROData_ShapeFile.cxx
../HYDROData/HYDROData_LandCoverMap.cxx
- ../HYDROData/HYDROData_QuadTree.cxx
- ../HYDROData/HYDROData_QuadTreeNode.cxx
+ ../HYDROData/HYDROData_Quadtree.cxx
+ ../HYDROData/HYDROData_QuadtreeNode.cxx
../HYDROData/HYDROData_LCM_FaceClassifier.cxx
../HYDROData/HYDROData_DTM.cxx