]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix compilation problem with -DSALOME_BUILD_GUI=OFF mode.
authorinv <inv@opencascade.com>
Thu, 31 Oct 2013 07:58:25 +0000 (07:58 +0000)
committerinv <inv@opencascade.com>
Thu, 31 Oct 2013 07:58:25 +0000 (07:58 +0000)
src/CMakeLists.txt
src/CurveCreator/CMakeLists.txt
src/CurveCreator/CurveCreator_Curve.hxx
src/CurveCreator/CurveCreator_ICurve.hxx
src/CurveCreator/CurveCreator_Operation.cxx

index 1e808f43ce4ad5ade0b660bc48dab5a612d2fd19..ddce7c14f7f858b2d7567288d2e44c0c0de8f785 100755 (executable)
@@ -24,7 +24,7 @@ SET(SUBDIRS_COMMON
   ARCHIMEDE BlockFix GEOMAlgo SKETCHER GEOM BREPExport
   BREPImport IGESExport IGESImport STEPExport STEPImport STLExport
   ShHealOper GEOMUtils XAO XAO_Swig GEOMImpl GEOM_I GEOMClient GEOM_I_Superv GEOM_SWIG GEOM_PY
-  AdvancedEngine OCC2VTK VTKExport
+  AdvancedEngine OCC2VTK VTKExport CurveCreator
   )
 
 ##
@@ -45,7 +45,7 @@ IF(SALOME_BUILD_GUI)
     GEOMBase GEOMToolsGUI DisplayGUI BasicGUI PrimitiveGUI GenerationGUI
     EntityGUI BuildGUI BooleanGUI TransformationGUI OperationGUI
     RepairGUI MeasureGUI GroupGUI BlocksGUI AdvancedGUI ImportExportGUI
-    CurveCreator GEOM_SWIG_WITHIHM
+    GEOM_SWIG_WITHIHM
     )
 ENDIF()
 
index d11021f4d8de4bbceb1b0590c04fdb8d7589fc0a..35aef854ac85ccb11e93b7647032351b5e16df39 100644 (file)
@@ -17,7 +17,9 @@
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
 
-INCLUDE(${QT_USE_FILE})
+IF(SALOME_BUILD_GUI)
+  INCLUDE(${QT_USE_FILE})
+ENDIF(SALOME_BUILD_GUI)
 
 # --- options ---
 
index 36eeab826a14c86e651c3371bb16a88fbf2ec748..2cf48c2ecdfd98b5691b24626d6d355e72cba458 100644 (file)
@@ -28,8 +28,6 @@
 #include "CurveCreator_Macro.hxx"
 #include "CurveCreator_Operation.hxx"
 
-#include <QString>
-
 class CurveCreator_Section;
 class CurveCreator_Listener;
 
index 7d0cac83bbd86b802a6faf9946ab312584afcc4c..f85258d57ea793c7a0f110c34b4bd5bc9e22c6d4 100644 (file)
@@ -27,8 +27,6 @@
 #include "CurveCreator_Macro.hxx"
 #include "CurveCreator_Operation.hxx"
 
-#include <QString>
-
 class CurveCreator_Section;
 class CurveCreator_Listener;
 
index 2019475d1a687392475556209479132131fe6ff2..aac7c4741e263e335fc54c135d6bf00cbc6512c0 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <string>
 #include <stdlib.h>
+#include <string.h>
 
 //=======================================================================
 // function: Constructor