From 38d7b77237225cea4b1fc2cb8d42476e5c55c2de Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 20 Mar 2022 17:37:28 +0100 Subject: [PATCH] [Sketch] remove Python.h and Xerces seems not to be necessary anymore --- src/Mod/Sketcher/App/AppSketcher.cpp | 5 ----- src/Mod/Sketcher/App/CMakeLists.txt | 1 - src/Mod/Sketcher/App/PreCompiled.h | 1 - src/Mod/Sketcher/Gui/AppSketcherGui.cpp | 4 ---- src/Mod/Sketcher/Gui/CMakeLists.txt | 1 - src/Mod/Sketcher/Gui/PreCompiled.h | 3 --- 6 files changed, 15 deletions(-) diff --git a/src/Mod/Sketcher/App/AppSketcher.cpp b/src/Mod/Sketcher/App/AppSketcher.cpp index 2fa61fea1f..f10a3fb567 100644 --- a/src/Mod/Sketcher/App/AppSketcher.cpp +++ b/src/Mod/Sketcher/App/AppSketcher.cpp @@ -20,11 +20,7 @@ * * ***************************************************************************/ - #include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif #include #include @@ -47,7 +43,6 @@ #include "PropertyConstraintList.h" - namespace Sketcher { extern PyObject* initModule(); } diff --git a/src/Mod/Sketcher/App/CMakeLists.txt b/src/Mod/Sketcher/App/CMakeLists.txt index 2b3d95d6a4..b916c4c6e2 100644 --- a/src/Mod/Sketcher/App/CMakeLists.txt +++ b/src/Mod/Sketcher/App/CMakeLists.txt @@ -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}) diff --git a/src/Mod/Sketcher/App/PreCompiled.h b/src/Mod/Sketcher/App/PreCompiled.h index 79665e82a5..f8af11c7ec 100644 --- a/src/Mod/Sketcher/App/PreCompiled.h +++ b/src/Mod/Sketcher/App/PreCompiled.h @@ -83,7 +83,6 @@ #include #include -#include #elif defined(FC_OS_WIN32) #ifndef NOMINMAX diff --git a/src/Mod/Sketcher/Gui/AppSketcherGui.cpp b/src/Mod/Sketcher/Gui/AppSketcherGui.cpp index 6006721efc..8433d85b6b 100644 --- a/src/Mod/Sketcher/Gui/AppSketcherGui.cpp +++ b/src/Mod/Sketcher/Gui/AppSketcherGui.cpp @@ -20,11 +20,7 @@ * * ***************************************************************************/ - #include "PreCompiled.h" -#ifndef _PreComp_ -# include -#endif #include #include diff --git a/src/Mod/Sketcher/Gui/CMakeLists.txt b/src/Mod/Sketcher/Gui/CMakeLists.txt index 41c0776310..9c0820afe1 100644 --- a/src/Mod/Sketcher/Gui/CMakeLists.txt +++ b/src/Mod/Sketcher/Gui/CMakeLists.txt @@ -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}) diff --git a/src/Mod/Sketcher/Gui/PreCompiled.h b/src/Mod/Sketcher/Gui/PreCompiled.h index ccb456e7aa..bd7d1cdd11 100644 --- a/src/Mod/Sketcher/Gui/PreCompiled.h +++ b/src/Mod/Sketcher/Gui/PreCompiled.h @@ -126,9 +126,6 @@ #include #include -// Python -#include - #endif //_PreComp_