[Measure] : remove unused headers

This commit is contained in:
Uwe
2022-12-14 03:36:07 +01:00
parent 4d06111699
commit 561bb7f747
3 changed files with 12 additions and 21 deletions

View File

@@ -40,7 +40,6 @@ SET(MeasureModule_SRCS
SOURCE_GROUP("Module" FILES ${MeasureModule_SRCS})
SET(Measure_SRCS
${MeasureModule_SRCS}
${Python_SRCS}
@@ -83,5 +82,4 @@ fc_target_copy_resource_flat(Measure
SET_BIN_DIR(Measure Measure /Mod/Measure)
SET_PYTHON_PREFIX_SUFFIX(Measure)
INSTALL(TARGETS Measure DESTINATION ${CMAKE_INSTALL_LIBDIR})

View File

@@ -29,12 +29,11 @@
#include <App/Document.h>
#include <Base/GeometryPyCXX.h>
#include "Measurement.h"
// inclusion of the generated files (generated out of SketchObjectSFPy.xml)
#include "MeasurementPy.h"
#include "MeasurementPy.cpp"
using namespace Measure;
// returns a string which represents the object e.g. when printed in python

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#ifndef __PRECOMPILED__
#define __PRECOMPILED__
@@ -29,33 +28,28 @@
#ifdef FC_OS_WIN32
#define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
#define NOMINMAX
# define NOMINMAX
#endif
#endif
#ifdef _PreComp_
// standard
#include <iostream>
#include <sstream>
#include <cstdio>
#include <cassert>
#include <string>
#include <map>
#include <vector>
#include <set>
#include <bitset>
#include <Mod/Part/App/OpenCascadeAll.h>
#include <BRep_Builder.hxx>
#include <TopoDS_Compound.hxx>
#include <GCPnts_AbscissaPoint.hxx>
#include <BRep_Tool.hxx>
#include <BRepAdaptor_Curve.hxx>
#include <BRepExtrema_DistShapeShape.hxx>
#include <GProp_GProps.hxx>
#include <GeomAPI_ExtremaCurveCurve.hxx>
#include <BRepGProp.hxx>
#include <GCPnts_AbscissaPoint.hxx>
#include <gp_Circ.hxx>
#include <gp_Lin.hxx>
#include <GProp_GProps.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Shape.hxx>
#elif defined(FC_OS_WIN32)
#include <windows.h>
# include <windows.h>
#endif // _PreComp_
#endif