App: Optimize includes to reduce compile time
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
||||
#include "ComplexGeoData.h"
|
||||
#include <Base/BoundBox.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Rotation.h>
|
||||
|
||||
|
||||
using namespace Data;
|
||||
|
||||
@@ -24,18 +24,23 @@
|
||||
#ifndef _AppComplexGeoData_h_
|
||||
#define _AppComplexGeoData_h_
|
||||
|
||||
#include <Base/BoundBox.h>
|
||||
#include <Base/Handle.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Persistence.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Rotation.h>
|
||||
|
||||
#ifdef __GNUC__
|
||||
# include <stdint.h>
|
||||
#endif
|
||||
|
||||
|
||||
namespace Base
|
||||
{
|
||||
class Placement;
|
||||
class Rotation;
|
||||
template <class _Precision> class BoundBox3;
|
||||
typedef BoundBox3<double> BoundBox3d;
|
||||
}
|
||||
|
||||
namespace Data
|
||||
{
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@ recompute path. Also, it enables more complicated dependencies beyond trees.
|
||||
|
||||
#ifndef _PreComp_
|
||||
# include <bitset>
|
||||
# include <stack>
|
||||
# include <boost/filesystem.hpp>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
#include "PropertyStandard.h"
|
||||
|
||||
#include <map>
|
||||
#include <stack>
|
||||
#include <vector>
|
||||
|
||||
namespace Base {
|
||||
|
||||
@@ -23,13 +23,18 @@
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
#include <stack>
|
||||
#endif
|
||||
|
||||
#include <App/DocumentObjectPy.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include "Application.h"
|
||||
#include "ComplexGeoData.h"
|
||||
#include "Document.h"
|
||||
#include "DocumentObject.h"
|
||||
#include "DocumentObjectExtension.h"
|
||||
|
||||
@@ -29,12 +29,16 @@
|
||||
#include <App/PropertyExpressionEngine.h>
|
||||
#include <App/PropertyLinks.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <Base/Matrix.h>
|
||||
#include <Base/SmartPtrPy.h>
|
||||
|
||||
#include <bitset>
|
||||
#include <unordered_map>
|
||||
|
||||
namespace Base
|
||||
{
|
||||
class Matrix4D;
|
||||
}
|
||||
|
||||
namespace App
|
||||
{
|
||||
class Document;
|
||||
|
||||
@@ -32,13 +32,12 @@
|
||||
#include <App/Range.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/BaseClass.h>
|
||||
#include <Base/Quantity.h>
|
||||
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic push
|
||||
# pragma clang diagnostic ignored "-Woverloaded-virtual"
|
||||
#endif
|
||||
namespace Base
|
||||
{
|
||||
class Quantity;
|
||||
}
|
||||
|
||||
namespace App {
|
||||
|
||||
@@ -224,8 +223,4 @@ public:
|
||||
|
||||
}
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic pop
|
||||
#endif
|
||||
|
||||
#endif // EXPRESSION_H
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#define EXPRESSION_PARSER_H
|
||||
|
||||
#include "Expression.h"
|
||||
#include <Base/Quantity.h>
|
||||
|
||||
namespace App {
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@
|
||||
#ifndef APP_FEATURECUSTOM_H
|
||||
#define APP_FEATURECUSTOM_H
|
||||
|
||||
#include <App/DocumentObject.h>
|
||||
|
||||
|
||||
namespace App
|
||||
{
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "GeoFeature.h"
|
||||
#include "GeoFeatureGroupExtension.h"
|
||||
#include "ComplexGeoData.h"
|
||||
|
||||
|
||||
using namespace App;
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#ifndef APP_GeoFeatureGroup_H
|
||||
#define APP_GeoFeatureGroup_H
|
||||
|
||||
#include "DocumentObject.h"
|
||||
#include "GroupExtension.h"
|
||||
#include "PropertyGeo.h"
|
||||
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#ifndef _AppPlacement_h_
|
||||
#define _AppPlacement_h_
|
||||
|
||||
#include <Base/Placement.h>
|
||||
#include "FeaturePython.h"
|
||||
|
||||
namespace App
|
||||
|
||||
@@ -30,8 +30,6 @@
|
||||
#include <Base/Unit.h>
|
||||
#include <Base/Vector3D.h>
|
||||
|
||||
#include "Property.h"
|
||||
#include "ComplexGeoData.h"
|
||||
#include "PropertyLinks.h"
|
||||
#include <FCGlobal.h>
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#endif
|
||||
|
||||
#include <App/Application.h>
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/Link.h>
|
||||
#include <Base/Exception.h>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#endif
|
||||
|
||||
#include <App/AutoTransaction.h>
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <App/DocumentObject.h>
|
||||
#include <App/DocumentObjectGroup.h>
|
||||
#include <App/Transactions.h>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <QSignalMapper>
|
||||
#endif
|
||||
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/GeoFeature.h>
|
||||
#include <Base/Console.h>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
# include <QVBoxLayout>
|
||||
#endif
|
||||
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/GeoFeature.h>
|
||||
|
||||
|
||||
@@ -194,9 +194,11 @@
|
||||
|
||||
#include <boost/algorithm/string/predicate.hpp>
|
||||
|
||||
#include <Base/BoundBox.h>
|
||||
#include <Base/Builder3D.h>
|
||||
#include <Base/FileInfo.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Tools.h>
|
||||
#include <Base/Console.h>
|
||||
#include <App/Material.h>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#define PART_TOPOSHAPE_H
|
||||
|
||||
#include <iosfwd>
|
||||
#include <list>
|
||||
#include <TopoDS_Compound.hxx>
|
||||
#include <TopoDS_Wire.hxx>
|
||||
#include <TopTools_ListOfShape.hxx>
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <Base/Reader.h>
|
||||
#include <Base/Writer.h>
|
||||
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <App/PropertyStandard.h>
|
||||
#include <App/PropertyGeo.h>
|
||||
#include <Mod/Points/PointsGlobal.h>
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <Base/Converter.h>
|
||||
#include <Base/CoordinateSystem.h>
|
||||
#include <App/Application.h>
|
||||
#include <App/ComplexGeoData.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/Placement.h>
|
||||
#include <Mod/Mesh/App/Core/Approximation.h>
|
||||
|
||||
Reference in New Issue
Block a user