${CMAKE_CURRENT_BINARY_DIR}
)
+IF(WINDOWS)
+ ADD_DEFINITIONS(-DNOGDI)
+ENDIF(WINDOWS)
+
+
SET(SalomeIDLGEOM_IDLSOURCES
GEOM_Gen.idl
GEOM_Superv.idl
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
)
# additional preprocessor / compiler flags
# additional include directories
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
+ ${PTHREAD_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/GEOMImpl
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
)
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
)
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
)
# libraries to link to
SET(_link_LIBRARIES
${CAS_KERNEL}
- ${CAS_TKOffset} ${CAS_TKBool} ${CAS_BO}
+ ${CAS_TKOffset} ${CAS_TKBool} ${CAS_TKBO}
+ ${CAS_TKShHealing}
${KERNEL_SALOMELocalTrace}
)
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/SKETCHER
${CMAKE_CURRENT_SOURCE_DIR}
# libraries to link to
SET(_link_LIBRARIES
${CAS_OCAFVIS}
+ ${CAS_TKLCAF}
+ ${CAS_TKCDF}
+ ${CAS_TKG3d}
${KERNEL_SALOMELocalTrace}
GEOMSketcher
)
# libraries to link to
SET(_link_LIBRARIES
- ${CAS_KERNEL} ${CAS_TKBool} ${CAS_BO} ${CAS_TKMesh}
+ ${CAS_KERNEL} ${CAS_TKBool} ${CAS_TKBO} ${CAS_TKMesh}
${KERNEL_SALOMELocalTrace}
)
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
+ ${PTHREAD_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${GUI_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
${PYTHON_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/ShHealOper
# libraries to link to
SET(_link_LIBRARIES
${CAS_TKFeat}
+ ${CAS_TKFillet}
${PYTHON_LIBRARIES}
ShHealOper GEOMbasic BlockFix GEOMAlgo GEOMUtils GEOMSketcher GEOMArchimede
${KERNEL_SALOMELocalTrace}
#define _GEOM_GEOMImpl_HXX_
#ifdef WNT
- #if defined GEOMIMPL_EXPORTS || defined GEOMimpl_EXPORTS
+ #if defined GEOMIMPL_EXPORTS || defined GEOMImpl_EXPORTS
#if defined WIN32
#define GEOMIMPL_EXPORT __declspec( dllexport )
#else
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}
)
# libraries to link to
SET(_link_LIBRARIES
${CAS_TKBRep} ${CAS_TKShHealing} ${CAS_TKMesh}
+ ${CAS_TKTopAlgo}
+ ${CAS_TKG2d}
+ ${CAS_TKG3d}
${KERNEL_SALOMELocalTrace}
)
#ifndef _GEOMUtils_HXX_
#define _GEOMUtils_HXX_
+#include <Standard_Macro.hxx>
#include <TopoDS_Shape.hxx>
#include <TopoDS_Vertex.hxx>
# additional include directories
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
+ ${PTHREAD_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/GEOMImpl
${OMNIORB_DEFINITIONS}
)
+
# libraries to link to
SET(_link_LIBRARIES
GEOMImpl
if (theObject.IsNull()) return GO._retn();
TCollection_AsciiString anEntry;
TDF_Tool::Entry(theObject->GetEntry(), anEntry);
- GO = _engine->GetObject(theObject->GetDocID(), anEntry.ToCString());
+ GO = _engine->GetObject(theObject->GetDocID(), (char*) anEntry.ToCString());
return GO._retn();
}
#ifndef _GEOM_IShapesOperations_i_HeaderFile
#define _GEOM_IShapesOperations_i_HeaderFile
+#include "GEOM_GEOM_I.hxx"
#include "GEOMImpl_Gen.hxx"
#include <SALOMEconfig.h>
Handle(GEOM_Object) anObj = Handle(GEOM_Object)::DownCast(aSeq->Value(i));
if (anObj.IsNull()) continue;
TDF_Tool::Entry(anObj->GetEntry(), anEntry);
- GEOM::GEOM_Object_var obj = _engine->GetObject(anObj->GetDocID(), anEntry.ToCString());
+ GEOM::GEOM_Object_var obj = _engine->GetObject(anObj->GetDocID(), (char*) anEntry.ToCString());
aList[i-1] = obj;
}
# additional include directories
INCLUDE_DIRECTORIES(
${OMNIORB_INCLUDE_DIR}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
${PROJECT_BINARY_DIR}/idl
${CMAKE_CURRENT_SOURCE_DIR}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
)
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
)
# libraries to link to
SET(_link_LIBRARIES
${CAS_TKIGES} ${CAS_TKCAF}
+ ${CAS_TKLCAF}
${KERNEL_SALOMELocalTrace}
)
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${VTK_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${QT_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
vtkFiltersCore
${CAS_KERNEL}
${CAS_TKMesh} ${CAS_TKTopAlgo}
- ${KERNEL_SALOMELocalTrace}
+ ${CAS_MODELER}
+ ${KERNEL_SALOMELocalTrace}
)
# --- headers ---
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
${KERNEL_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
)
# additional preprocessor / compiler flags
SET(_link_LIBRARIES
${CAS_KERNEL}
${CAS_TKGeomAlgo} ${CAS_TKTopAlgo}
+ ${CAS_TKBRep}
+ ${CAS_TKG2d}
${KERNEL_SALOMELocalTrace}
)
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
)
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
)
# libraries to link to
SET(_link_LIBRARIES
${CAS_TKSTEP} ${CAS_TKCAF}
+ ${CAS_TKLCAF}
+ ${CAS_TKSTEPBase}
${KERNEL_SALOMELocalTrace}
)
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
)
# additional include directories
INCLUDE_DIRECTORIES(
${QT_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${VTK_INCLUDE_DIRS}
${OMNIORB_INCLUDE_DIR}
${CAS_INCLUDE_DIRS}
# additional include directories
INCLUDE_DIRECTORIES(
${CAS_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
${KERNEL_INCLUDE_DIRS}
${VTK_INCLUDE_DIRS}
${PROJECT_SOURCE_DIR}/src/OCC2VTK