]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
patch for compilation on Windows
authorasl <asl@opencascade.com>
Tue, 19 Sep 2017 08:33:18 +0000 (11:33 +0300)
committerasl <asl@opencascade.com>
Tue, 19 Sep 2017 08:33:18 +0000 (11:33 +0300)
doc/CMakeLists.txt
src/HYDROData/HYDROData_Entity.h
src/HYDROData/HYDROData_IProfilesInterpolator.h
src/HYDRO_tests/CMakeLists.txt

index cedf6566b75e1f5665e6e8aa7eed9af6b57bdba1..fa9c47ddbecd71d08c1664e5aada05487ecf5b06 100644 (file)
@@ -20,4 +20,7 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-ADD_SUBDIRECTORY(salome)
+IF(WIN32)
+ELSE()
+  ADD_SUBDIRECTORY(salome)
+ENDIF()
\ No newline at end of file
index de46bb1273d9d198f0e7b65e310e687eb436e452..7042b8d06db4731f66b1c9ab1a60c16c27a1b02a 100644 (file)
@@ -414,7 +414,7 @@ protected:
 
 public:
 
-   virtual bool CompareLabels(const Handle(HYDROData_Entity)& theOtherObj);
+   HYDRODATA_EXPORT virtual bool CompareLabels(const Handle(HYDROData_Entity)& theOtherObj);
   
 protected:
 
index 1bbc4754a18f5c992d172171680c6d92f2407e31..df09b7c6b69eb5c4359e47ef996b6c6a878ca9aa 100644 (file)
@@ -27,8 +27,8 @@
 #include <string>
 #include <vector>
 #include <map>
+#include <gp_XYZ.hxx>
 
-class gp_XYZ;
 
 
 /**
index ae4abb616fe649774b2e4e3213100b9ee11cdf59..0160bb91429a59cb443975d373de291416adcca0 100644 (file)
@@ -69,28 +69,28 @@ ENDIF()
 
 SET( CPPUNIT_INCLUDES $ENV{CPPUNIT_ROOT}/include )
 SET( CAS_INCLUDES $ENV{CASROOT}/inc )
-SET( QT_INCLUDES $ENV{QTDIR}/include $ENV{QTDIR}/include/QtCore $ENV{QTDIR}/include/QtGui $ENV{QTDIR}/include/QtTest )
+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( 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 )
 
 IF( ${WIN32} )
-  link_directories( $ENV{CASROOT}/win32/libd )
+  link_directories( $ENV{CASROOT}/win64/vc10/lib )
 ELSE()
   link_directories( $ENV{CASROOT}/lib $ENV{TBB_ROOT_DIR}/lib/intel64/gcc4.4 )
 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{QTDIR}/lib )
+link_directories( $ENV{QT_ROOT_DIR}/lib )
 IF( ${WIN32} )
-  SET( QT_LIBRARIES QtCored4 QtGuid4 QtTestd4 )
+  SET( QT_LIBRARIES Qt5Core Qt5Gui Qt5Test )
 ELSE()
   SET( QT_LIBRARIES QtCore QtGui QtTest )
 ENDIF()
 
-link_directories( $ENV{CPPUNIT_ROOT}/lib )
+link_directories( $ENV{CPPUNIT_ROOT_DIR}/lib )
 IF( ${WIN32} )
-  SET( CPPUNIT_LIBRARIES cppunitd )
+  SET( CPPUNIT_LIBRARIES cppunit )
 ELSE()
   SET( CPPUNIT_LIBRARIES cppunit )
 ENDIF()