[Robot] remove Python.h and Xerces
This commit is contained in:
@@ -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>
|
||||
{
|
||||
|
||||
@@ -15,7 +15,6 @@ include_directories(
|
||||
${EIGEN3_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
)
|
||||
link_directories(${OCC_LIBRARY_DIR})
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -16,7 +16,6 @@ include_directories(
|
||||
${OCC_INCLUDE_DIR}
|
||||
${EIGEN3_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
)
|
||||
link_directories(${OCC_LIBRARY_DIR})
|
||||
|
||||
|
||||
@@ -48,9 +48,6 @@
|
||||
|
||||
#ifdef _PreComp_
|
||||
|
||||
// Python
|
||||
#include <Python.h>
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
|
||||
Reference in New Issue
Block a user