[Robot] remove Python.h and Xerces

This commit is contained in:
Uwe
2022-03-20 22:37:38 +01:00
parent 752b8018b7
commit 25aba1dd59
6 changed files with 2 additions and 19 deletions

View File

@@ -20,11 +20,7 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <Base/Console.h>
#include <Base/Interpreter.h>
@@ -46,6 +42,7 @@
#include "TrajectoryCompound.h"
#include "TrajectoryDressUpObject.h"
namespace Robot {
class Module : public Py::ExtensionModule<Module>
{

View File

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

View File

@@ -20,7 +20,6 @@
* *
***************************************************************************/
#ifndef ROBOT_PRECOMPILED_H
#define ROBOT_PRECOMPILED_H
@@ -50,11 +49,6 @@
#include <set>
#include <bitset>
#include <Python.h>
#endif // _PreComp_
#endif

View File

@@ -20,11 +20,7 @@
* *
***************************************************************************/
#include "PreCompiled.h"
#ifndef _PreComp_
# include <Python.h>
#endif
#include <CXX/Extensions.hxx>
#include <CXX/Objects.hxx>
@@ -41,6 +37,7 @@
#include "ViewProviderTrajectoryCompound.h"
#include "Workbench.h"
// use a different name to CreateCommand()
void CreateRobotCommands(void);
void CreateRobotCommandsExport(void);

View File

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

View File

@@ -48,9 +48,6 @@
#ifdef _PreComp_
// Python
#include <Python.h>
// standard
#include <iostream>
#include <assert.h>