[Sketch] App: improve PreCompiled.h handling

This commit is contained in:
Uwe
2022-12-08 01:02:52 +01:00
parent 2ef00dc9f2
commit b4bb7c42b3
5 changed files with 19 additions and 43 deletions

View File

@@ -177,6 +177,7 @@
#include <BRepOffsetAPI_MakePipe.hxx>
#include <BRepOffsetAPI_MakePipeShell.hxx>
#include <BRepOffsetAPI_MakeThickSolid.hxx>
#include <BRepOffsetAPI_NormalProjection.hxx>
#include <BRepOffsetAPI_ThruSections.hxx>
#include <BRepPrimAPI_MakeBox.hxx>
@@ -297,6 +298,7 @@
#include <GeomConvert.hxx>
#include <GeomConvert_ApproxCurve.hxx>
#include <GeomConvert_ApproxSurface.hxx>
#include <GeomConvert_BSplineCurveKnotSplitting.hxx>
#include <GeomConvert_BSplineCurveToBezierCurve.hxx>
#include <GeomConvert_CompCurveToBSplineCurve.hxx>
#include <GeomFill.hxx>

View File

@@ -20,17 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <boost/uuid/uuid_io.hpp>
#endif
#include "ExternalGeometryFacade.h"
#include <Base/Console.h> // Only for Debug - To be removed
#include <Base/Exception.h>
#include <boost/uuid/uuid_io.hpp>
#include "ExternalGeometryFacadePy.h"

View File

@@ -20,17 +20,16 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <boost/uuid/uuid_io.hpp>
#endif
#include "GeometryFacade.h"
//#include <Base/Console.h> // Only for Debug, when/if necessary
#include <Base/Exception.h>
#include <boost/uuid/uuid_io.hpp>
#include "GeometryFacadePy.h"

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#ifndef __PRECOMPILED__
#define __PRECOMPILED__
@@ -29,53 +28,33 @@
#ifdef _PreComp_
// standard
#include <iostream>
#include <sstream>
#include <cstdio>
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cassert>
#include <string>
#include <map>
#include <memory>
#include <vector>
#include <iostream>
#include <set>
#include <bitset>
#include <cmath>
#include <algorithm>
#include <sstream>
#include <string>
#include <vector>
// QT
#include <QDateTime>
// Boost
#include <boost/bind/bind.hpp>
#include <boost/format.hpp>
#include <boost/uuid/uuid_io.hpp>
// Opencascade
#include <Mod/Part/App/OpenCascadeAll.h>
// Other needed opencascade
# include <ShapeFix_Wire.hxx>
# include <BRepOffsetAPI_NormalProjection.hxx>
# include <GeomConvert_BSplineCurveKnotSplitting.hxx>
# include <TopoDS.hxx>
# include <TopoDS_Edge.hxx>
# include <BRepBuilderAPI_MakeWire.hxx>
#include <BRep_Tool.hxx>
#include <gp_Pnt.hxx>
#include <Precision.hxx>
#include <TopTools_IndexedMapOfShape.hxx>
#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Vertex.hxx>
#elif defined(FC_OS_WIN32)
#ifndef NOMINMAX
#define NOMINMAX
# define NOMINMAX
#endif
#include <windows.h>
# include <windows.h>
#endif // _PreComp_
#endif
#endif

View File

@@ -20,14 +20,11 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <boost/format.hpp>
#endif // #ifndef _PreComp_
#include <boost/format.hpp>
#include <Base/Exception.h>
#include <Mod/Part/App/Geometry.h>