[Path] remove Python.h and Xerces

they are not needed anymore
This commit is contained in:
Uwe
2022-03-20 23:06:56 +01:00
parent d7aac0ed60
commit f23fa31f42
9 changed files with 5 additions and 26 deletions

View File

@@ -20,11 +20,7 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/PyObjectBase.h>
@@ -55,6 +51,7 @@
#include "VoronoiVertex.h"
#include "VoronoiVertexPy.h"
namespace Path {
extern PyObject* initModule();
}

View File

@@ -20,11 +20,7 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
@@ -58,6 +54,7 @@
#include "FeaturePathCompound.h"
#include "Area.h"
#define PATH_CATCH catch (Standard_Failure &e) \
{ \
std::string str; \

View File

@@ -18,7 +18,6 @@ include_directories(
${EIGEN3_INCLUDE_DIR}
${PYTHON_INCLUDE_DIRS}
${ZLIB_INCLUDE_DIR}
${XercesC_INCLUDE_DIRS}
)
link_directories(${OCC_LIBRARY_DIR})

View File

@@ -54,9 +54,6 @@
#include <cinttypes>
#include <iomanip>
// Python
#include <Python.h>
// Boost
#include <boost/version.hpp>
#include <boost/config.hpp>