[Sketch] remove Python.h and Xerces
seems not to be necessary anymore
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>
|
||||
@@ -47,7 +43,6 @@
|
||||
#include "PropertyConstraintList.h"
|
||||
|
||||
|
||||
|
||||
namespace Sketcher {
|
||||
extern PyObject* initModule();
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ include_directories(
|
||||
${OCC_INCLUDE_DIR}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
${EIGEN3_INCLUDE_DIR}
|
||||
)
|
||||
link_directories(${OCC_LIBRARY_DIR})
|
||||
|
||||
@@ -83,7 +83,6 @@
|
||||
#include <TopoDS_Edge.hxx>
|
||||
#include <TopoDS_Vertex.hxx>
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
#elif defined(FC_OS_WIN32)
|
||||
#ifndef NOMINMAX
|
||||
|
||||
@@ -20,11 +20,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
#endif
|
||||
|
||||
#include <CXX/Extensions.hxx>
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
@@ -14,7 +14,6 @@ include_directories(
|
||||
${COIN3D_INCLUDE_DIRS}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
${EIGEN3_INCLUDE_DIR}
|
||||
)
|
||||
link_directories(${OCC_LIBRARY_DIR})
|
||||
|
||||
@@ -126,9 +126,6 @@
|
||||
#include <Inventor/nodes/SoInfo.h>
|
||||
#include <Inventor/SbTime.h>
|
||||
|
||||
// Python
|
||||
#include <Python.h>
|
||||
|
||||
|
||||
#endif //_PreComp_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user