[Start] remove unused headers and Xerces
This commit is contained in:
@@ -20,19 +20,12 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
#endif
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <CXX/Extensions.hxx>
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
#include "StartConfiguration.h"
|
||||
|
||||
namespace Start {
|
||||
class Module : public Py::ExtensionModule<Module>
|
||||
|
||||
@@ -1,29 +1,28 @@
|
||||
include_directories(
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${OCC_INCLUDE_DIR}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(Start_LIBS
|
||||
FreeCADApp
|
||||
)
|
||||
|
||||
SET(Start_SRCS
|
||||
AppStart.cpp
|
||||
PreCompiled.cpp
|
||||
PreCompiled.h
|
||||
StartConfiguration.h
|
||||
)
|
||||
|
||||
|
||||
|
||||
add_library(Start SHARED ${Start_SRCS})
|
||||
target_link_libraries(Start ${Start_LIBS})
|
||||
|
||||
|
||||
SET_BIN_DIR(Start Start /Mod/Start)
|
||||
SET_PYTHON_PREFIX_SUFFIX(Start)
|
||||
|
||||
INSTALL(TARGETS Start DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
include_directories(
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${OCC_INCLUDE_DIR}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(Start_LIBS
|
||||
FreeCADApp
|
||||
)
|
||||
|
||||
SET(Start_SRCS
|
||||
AppStart.cpp
|
||||
PreCompiled.cpp
|
||||
PreCompiled.h
|
||||
StartConfiguration.h
|
||||
)
|
||||
|
||||
|
||||
|
||||
add_library(Start SHARED ${Start_SRCS})
|
||||
target_link_libraries(Start ${Start_LIBS})
|
||||
|
||||
|
||||
SET_BIN_DIR(Start Start /Mod/Start)
|
||||
SET_PYTHON_PREFIX_SUFFIX(Start)
|
||||
|
||||
INSTALL(TARGETS Start DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef START_PRECOMPILED_H
|
||||
#define START_PRECOMPILED_H
|
||||
|
||||
@@ -37,22 +36,4 @@
|
||||
# define MeshExport
|
||||
#endif
|
||||
|
||||
#ifdef _PreComp_
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <set>
|
||||
#include <bitset>
|
||||
|
||||
#include <Python.h>
|
||||
|
||||
|
||||
#endif // _PreComp_
|
||||
#endif
|
||||
|
||||
|
||||
@@ -20,26 +20,17 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <Python.h>
|
||||
#endif
|
||||
|
||||
#include <CXX/Extensions.hxx>
|
||||
#include <CXX/Objects.hxx>
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/PyObjectBase.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/WorkbenchManager.h>
|
||||
#include <Gui/Language/Translator.h>
|
||||
#include "Workbench.h"
|
||||
#include <Gui/WidgetFactory.h>
|
||||
#include "DlgStartPreferencesImp.h"
|
||||
#include <Gui/Language/Translator.h>
|
||||
|
||||
#include <Mod/Start/App/StartConfiguration.h>
|
||||
#include "DlgStartPreferencesImp.h"
|
||||
#include "Workbench.h"
|
||||
|
||||
|
||||
// use a different name to CreateCommand()
|
||||
|
||||
@@ -4,7 +4,6 @@ include_directories(
|
||||
${COIN3D_INCLUDE_DIRS}
|
||||
${ZLIB_INCLUDE_DIR}
|
||||
${PYTHON_INCLUDE_DIRS}
|
||||
${XercesC_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
set(StartGui_LIBS
|
||||
|
||||
@@ -20,17 +20,11 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <QCoreApplication>
|
||||
# include <QTextStream>
|
||||
#endif
|
||||
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/FileDialog.h>
|
||||
|
||||
#include "Workbench.h"
|
||||
|
||||
|
||||
|
||||
@@ -20,14 +20,13 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#include <Gui/Application.h>
|
||||
|
||||
#include "DlgStartPreferencesImp.h"
|
||||
#include "ui_DlgStartPreferences.h"
|
||||
#include <Gui/PrefWidgets.h>
|
||||
#include <Base/Console.h>
|
||||
#include <Gui/Application.h>
|
||||
|
||||
|
||||
using namespace StartGui;
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef STARTGUI_PRECOMPILED_H
|
||||
#define STARTGUI_PRECOMPILED_H
|
||||
|
||||
@@ -35,12 +34,7 @@
|
||||
# define StartGuiExport
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef _PreComp_
|
||||
|
||||
// Python
|
||||
#include <Python.h>
|
||||
|
||||
// standard
|
||||
#include <iostream>
|
||||
#include <assert.h>
|
||||
@@ -61,11 +55,8 @@
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
// Qt Toolkit
|
||||
#ifndef __QtAll__
|
||||
# include <Gui/QtAll.h>
|
||||
#endif
|
||||
#include <QCoreApplication>
|
||||
|
||||
#endif //_PreComp_
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#include "PreCompiled.h"
|
||||
|
||||
#ifndef _PreComp_
|
||||
@@ -28,25 +27,19 @@
|
||||
#endif
|
||||
|
||||
#include "Workbench.h"
|
||||
#include <Gui/ToolBarManager.h>
|
||||
#include <Gui/MenuManager.h>
|
||||
#include <Gui/ToolBarManager.h>
|
||||
#include <Gui/DockWindowManager.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Action.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/Selection.h>
|
||||
#include <Gui/ToolBoxManager.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/MDIView.h>
|
||||
#include <App/Document.h>
|
||||
#include <App/DocumentObject.h>
|
||||
|
||||
#include <Base/Console.h>
|
||||
#include <Base/Exception.h>
|
||||
#include <Base/Interpreter.h>
|
||||
#include <Base/Tools.h>
|
||||
|
||||
#include <Mod/Start/App/StartConfiguration.h>
|
||||
#include <Gui/ToolBarManager.h>
|
||||
#include <Gui/DockWindowManager.h>
|
||||
#include <Gui/Application.h>
|
||||
#include <Gui/Command.h>
|
||||
#include <Gui/MainWindow.h>
|
||||
#include <Gui/MDIView.h>
|
||||
|
||||
|
||||
using namespace StartGui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user