Base: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following: "Targets should build successfully with or without compiler support for precompiled headers. It should be considered an optimization, not a requirement. In particular, do not explicitly include a precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically generated precompile header on the compiler command line instead. This is more portable across the major compilers and is likely to be easier to maintain. It will also avoid warnings being generated from certain code checking tools like iwyu (include what you use)." Therefore, removed the "#include <PreCompiled.h>" from sources, also there is no need for the "#ifdef _PreComp_" anymore
This commit is contained in:
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "Axis.h"
|
#include "Axis.h"
|
||||||
#include "Placement.h"
|
#include "Placement.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
|
|
||||||
// generated out of Axis.pyi
|
// generated out of Axis.pyi
|
||||||
|
|||||||
@@ -28,11 +28,8 @@ rather than returning a new string for each call.
|
|||||||
These modifications are Copyright (c) 2019 Zheng Lei (realthunder.dev@gmail.com)
|
These modifications are Copyright (c) 2019 Zheng Lei (realthunder.dev@gmail.com)
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Base64.h"
|
#include "Base64.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,12 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "BaseClass.h"
|
#include "BaseClass.h"
|
||||||
#include "PyObjectBase.h"
|
#include "PyObjectBase.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "Type.h"
|
#include "Type.h"
|
||||||
|
|
||||||
// generated out of BaseClass.pyi
|
// generated out of BaseClass.pyi
|
||||||
|
|||||||
@@ -20,11 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "BindingManager.h"
|
#include "BindingManager.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
|
|
||||||
// generated out of BoundBox.pyi
|
// generated out of BoundBox.pyi
|
||||||
|
|||||||
@@ -21,9 +21,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
@@ -31,7 +28,6 @@
|
|||||||
#include <boost/algorithm/string/predicate.hpp>
|
#include <boost/algorithm/string/predicate.hpp>
|
||||||
#include <boost/lexical_cast.hpp>
|
#include <boost/lexical_cast.hpp>
|
||||||
#include <boost/tokenizer.hpp>
|
#include <boost/tokenizer.hpp>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Builder3D.h"
|
#include "Builder3D.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|||||||
@@ -314,7 +314,6 @@ SET(FreeCADBase_SRCS
|
|||||||
${FreeCADBase_UNITAPI_SRCS}
|
${FreeCADBase_UNITAPI_SRCS}
|
||||||
PyTools.c
|
PyTools.c
|
||||||
PyTools.h
|
PyTools.h
|
||||||
PreCompiled.cpp
|
|
||||||
PreCompiled.h
|
PreCompiled.h
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -334,8 +333,9 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(FREECAD_USE_PCH)
|
if(FREECAD_USE_PCH)
|
||||||
add_definitions(-D_PreComp_)
|
target_precompile_headers(FreeCADBase PRIVATE
|
||||||
ADD_MSVC_PRECOMPILED_HEADER(FreeCADBase PreCompiled.h PreCompiled.cpp FreeCADBase_CPP_SRCS)
|
$<$<COMPILE_LANGUAGE:CXX>:"${CMAKE_CURRENT_LIST_DIR}/PreCompiled.h">
|
||||||
|
)
|
||||||
endif(FREECAD_USE_PCH)
|
endif(FREECAD_USE_PCH)
|
||||||
|
|
||||||
target_sources(FreeCADBase PRIVATE ${FreeCADBase_SRCS})
|
target_sources(FreeCADBase PRIVATE ${FreeCADBase_SRCS})
|
||||||
|
|||||||
@@ -20,13 +20,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Color.h"
|
#include "Color.h"
|
||||||
|
|
||||||
|
|||||||
@@ -21,9 +21,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#if defined(FC_OS_WIN32)
|
#if defined(FC_OS_WIN32)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#elif defined(FC_OS_LINUX) || defined(FC_OS_MACOSX)
|
#elif defined(FC_OS_LINUX) || defined(FC_OS_MACOSX)
|
||||||
@@ -31,7 +30,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "PyObjectBase.h"
|
#include "PyObjectBase.h"
|
||||||
|
|||||||
@@ -21,15 +21,13 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#ifdef FC_OS_WIN32
|
#ifdef FC_OS_WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <frameobject.h>
|
#include <frameobject.h>
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "CoordinateSystem.h"
|
#include "CoordinateSystem.h"
|
||||||
#include "Exception.h"
|
#include "Exception.h"
|
||||||
#include "Matrix.h"
|
#include "Matrix.h"
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,12 +20,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
#include <QEvent>
|
#include <QEvent>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Debugger.h"
|
#include "Debugger.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include "DualQuaternion.h"
|
#include "DualQuaternion.h"
|
||||||
|
|
||||||
|
|||||||
@@ -21,10 +21,9 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#endif
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
#include "PyObjectBase.h"
|
#include "PyObjectBase.h"
|
||||||
|
|||||||
@@ -24,6 +24,8 @@
|
|||||||
#ifndef BASE_EXCEPTION_H
|
#ifndef BASE_EXCEPTION_H
|
||||||
#define BASE_EXCEPTION_H
|
#define BASE_EXCEPTION_H
|
||||||
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#include <csignal>
|
#include <csignal>
|
||||||
#include <source_location>
|
#include <source_location>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "ExceptionFactory.h"
|
#include "ExceptionFactory.h"
|
||||||
#include <CXX/Objects.hxx>
|
#include <CXX/Objects.hxx>
|
||||||
|
|||||||
@@ -21,12 +21,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <list>
|
#include <list>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Factory.h"
|
#include "Factory.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|||||||
@@ -21,9 +21,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
@@ -34,7 +33,6 @@
|
|||||||
#else
|
#else
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "FileInfo.h"
|
#include "FileInfo.h"
|
||||||
#include "Exception.h"
|
#include "Exception.h"
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "FutureWatcherProgress.h"
|
#include "FutureWatcherProgress.h"
|
||||||
|
|
||||||
using namespace Base;
|
using namespace Base;
|
||||||
|
|||||||
@@ -20,11 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
#include "VectorPy.h"
|
#include "VectorPy.h"
|
||||||
|
|||||||
@@ -21,13 +21,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <QAtomicInt>
|
#include <QAtomicInt>
|
||||||
|
|
||||||
|
|||||||
@@ -20,9 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include <istream>
|
#include <istream>
|
||||||
|
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
|||||||
@@ -21,13 +21,10 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <boost/regex.hpp>
|
#include <boost/regex.hpp>
|
||||||
#endif
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#include "Interpreter.h"
|
#include "Interpreter.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|||||||
@@ -31,6 +31,8 @@
|
|||||||
#undef _XOPEN_SOURCE
|
#undef _XOPEN_SOURCE
|
||||||
#endif // (re-)defined in pyconfig.h
|
#endif // (re-)defined in pyconfig.h
|
||||||
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifdef FC_OS_MACOSX
|
#ifdef FC_OS_MACOSX
|
||||||
#undef toupper
|
#undef toupper
|
||||||
#undef tolower
|
#undef tolower
|
||||||
|
|||||||
@@ -21,11 +21,8 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Matrix.h"
|
#include "Matrix.h"
|
||||||
#include "Converter.h"
|
#include "Converter.h"
|
||||||
|
|||||||
@@ -20,10 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "Observer.h"
|
#include "Observer.h"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,9 +22,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@@ -40,12 +37,13 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
#include <QLockFile>
|
#include <QLockFile>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifdef FC_OS_LINUX
|
#ifdef FC_OS_LINUX
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -35,6 +35,8 @@
|
|||||||
// Python stuff
|
// Python stuff
|
||||||
using PyObject = struct _object;
|
using PyObject = struct _object;
|
||||||
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifdef FC_OS_MACOSX
|
#ifdef FC_OS_MACOSX
|
||||||
#undef toupper
|
#undef toupper
|
||||||
#undef tolower
|
#undef tolower
|
||||||
|
|||||||
@@ -21,10 +21,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#ifdef FC_OS_WIN32
|
#ifdef FC_OS_WIN32
|
||||||
#include <xercesc/sax/SAXParseException.hpp>
|
#include <xercesc/sax/SAXParseException.hpp>
|
||||||
#endif
|
#endif
|
||||||
@@ -32,7 +30,6 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef FC_OS_LINUX
|
#ifdef FC_OS_LINUX
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|||||||
@@ -20,16 +20,11 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <zipios++/zipinputstream.h>
|
#include <zipios++/zipinputstream.h>
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include <boost/iostreams/stream.hpp>
|
#include <boost/iostreams/stream.hpp>
|
||||||
|
|
||||||
#include "Persistence.h"
|
#include "Persistence.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
|
||||||
#include "Placement.h"
|
#include "Placement.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
#include "Matrix.h"
|
#include "Matrix.h"
|
||||||
#include "PyWrapParseTupleAndKeywords.h"
|
#include "PyWrapParseTupleAndKeywords.h"
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
/***************************************************************************
|
|
||||||
* Copyright (c) 2002 Jürgen Riegel <juergen.riegel@web.de> *
|
|
||||||
* *
|
|
||||||
* This file is part of the FreeCAD CAx development system. *
|
|
||||||
* *
|
|
||||||
* This library is free software; you can redistribute it and/or *
|
|
||||||
* modify it under the terms of the GNU Library General Public *
|
|
||||||
* License as published by the Free Software Foundation; either *
|
|
||||||
* version 2 of the License, or (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
* This library is distributed in the hope that it will be useful, *
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
||||||
* GNU Library General Public License for more details. *
|
|
||||||
* *
|
|
||||||
* You should have received a copy of the GNU Library General Public *
|
|
||||||
* License along with this library; see the file COPYING.LIB. If not, *
|
|
||||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
|
||||||
* Suite 330, Boston, MA 02111-1307, USA *
|
|
||||||
* *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
@@ -26,8 +26,6 @@
|
|||||||
|
|
||||||
#include <FCConfig.h>
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifdef _PreComp_
|
|
||||||
|
|
||||||
// Python
|
// Python
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
@@ -136,7 +134,4 @@
|
|||||||
#include <QTimeZone>
|
#include <QTimeZone>
|
||||||
#include <QUuid>
|
#include <QUuid>
|
||||||
|
|
||||||
|
|
||||||
#endif //_PreComp_
|
|
||||||
|
|
||||||
#endif // BASE_PRECOMPILED_H
|
#endif // BASE_PRECOMPILED_H
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
// generated out of Precision.pyi
|
// generated out of Precision.pyi
|
||||||
#include "PrecisionPy.h"
|
#include "PrecisionPy.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "ProgressIndicator.h"
|
#include "ProgressIndicator.h"
|
||||||
|
|
||||||
namespace Base
|
namespace Base
|
||||||
|
|||||||
@@ -20,9 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "Exception.h"
|
#include "Exception.h"
|
||||||
#include "ProgressIndicatorPy.h"
|
#include "ProgressIndicatorPy.h"
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,6 @@
|
|||||||
* \date $Date: 2006/01/24 14:26:42 $
|
* \date $Date: 2006/01/24 14:26:42 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
|
|
||||||
#include "PyExport.h"
|
#include "PyExport.h"
|
||||||
|
|
||||||
|
|||||||
@@ -40,6 +40,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
|
#include <FCConfig.h>
|
||||||
|
|
||||||
#ifdef FC_OS_MACOSX
|
#ifdef FC_OS_MACOSX
|
||||||
#undef toupper
|
#undef toupper
|
||||||
#undef tolower
|
#undef tolower
|
||||||
|
|||||||
@@ -20,12 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "PyObjectBase.h"
|
#include "PyObjectBase.h"
|
||||||
#include "Console.h"
|
#include "Console.h"
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
* *
|
* *
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#include <CXX/Extensions.hxx>
|
#include <CXX/Extensions.hxx>
|
||||||
|
|
||||||
#include <Base/PythonTypeExt.h>
|
#include <Base/PythonTypeExt.h>
|
||||||
|
|||||||
@@ -20,15 +20,12 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <numbers>
|
#include <numbers>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
|
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
@@ -29,7 +27,6 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Unit.h"
|
#include "Unit.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,17 +20,12 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <xercesc/sax2/XMLReaderFactory.hpp>
|
#include <xercesc/sax2/XMLReaderFactory.hpp>
|
||||||
#include <xercesc/sax2/Attributes.hpp>
|
#include <xercesc/sax2/Attributes.hpp>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|
||||||
|
|||||||
@@ -20,12 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <boost/algorithm/string/predicate.hpp>
|
#include <boost/algorithm/string/predicate.hpp>
|
||||||
#include "Base/Exception.h"
|
#include "Base/Exception.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
#include "PyWrapParseTupleAndKeywords.h"
|
#include "PyWrapParseTupleAndKeywords.h"
|
||||||
#include "Tools.h"
|
#include "Tools.h"
|
||||||
|
|||||||
@@ -20,15 +20,10 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Sequencer.h"
|
#include "Sequencer.h"
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "ServiceProvider.h"
|
#include "ServiceProvider.h"
|
||||||
|
|
||||||
|
|||||||
@@ -21,10 +21,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "SmartPtrPy.h"
|
#include "SmartPtrPy.h"
|
||||||
#include "Interpreter.h"
|
#include "Interpreter.h"
|
||||||
#include <CXX/Objects.hxx>
|
#include <CXX/Objects.hxx>
|
||||||
|
|||||||
@@ -84,7 +84,6 @@
|
|||||||
*
|
*
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#include <PreCompiled.h>
|
|
||||||
#include "StackWalker.h"
|
#include "StackWalker.h"
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -20,16 +20,11 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <QBuffer>
|
#include <QBuffer>
|
||||||
#include <QIODevice>
|
#include <QIODevice>
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Stream.h"
|
#include "Stream.h"
|
||||||
#include "Swap.h"
|
#include "Swap.h"
|
||||||
|
|||||||
@@ -20,9 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "Swap.h"
|
#include "Swap.h"
|
||||||
|
|
||||||
unsigned short Base::SwapOrder()
|
unsigned short Base::SwapOrder()
|
||||||
|
|||||||
@@ -20,9 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <unicode/unistr.h>
|
#include <unicode/unistr.h>
|
||||||
#include <unicode/uchar.h>
|
#include <unicode/uchar.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@@ -30,7 +27,6 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <QDateTime>
|
#include <QDateTime>
|
||||||
#include <QTimeZone>
|
#include <QTimeZone>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "PyExport.h"
|
#include "PyExport.h"
|
||||||
#include "Interpreter.h"
|
#include "Interpreter.h"
|
||||||
|
|||||||
@@ -20,14 +20,9 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <set>
|
#include <set>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Tools2D.h"
|
#include "Tools2D.h"
|
||||||
#include "Vector3D.h"
|
#include "Vector3D.h"
|
||||||
|
|||||||
@@ -20,9 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "BoundBox.h"
|
#include "BoundBox.h"
|
||||||
#include "Placement.h"
|
#include "Placement.h"
|
||||||
#include "Tools3D.h"
|
#include "Tools3D.h"
|
||||||
|
|||||||
@@ -20,7 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "Translate.h"
|
#include "Translate.h"
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
|
|||||||
@@ -20,11 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Type.h"
|
#include "Type.h"
|
||||||
#include "Interpreter.h"
|
#include "Interpreter.h"
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "Type.h"
|
#include "Type.h"
|
||||||
#include "BindingManager.h"
|
#include "BindingManager.h"
|
||||||
|
|
||||||
|
|||||||
@@ -19,15 +19,12 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <tuple>
|
#include <tuple>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <set>
|
#include <set>
|
||||||
#endif
|
|
||||||
#include "UniqueNameManager.h"
|
#include "UniqueNameManager.h"
|
||||||
|
|
||||||
std::tuple<std::string, std::string, unsigned int, Base::UnlimitedUnsigned>
|
std::tuple<std::string, std::string, unsigned int, Base::UnlimitedUnsigned>
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
@@ -28,7 +26,6 @@
|
|||||||
#include <limits>
|
#include <limits>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <fmt/format.h>
|
#include <fmt/format.h>
|
||||||
#include <fmt/ranges.h>
|
#include <fmt/ranges.h>
|
||||||
|
|||||||
@@ -20,11 +20,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Unit.h"
|
#include "Unit.h"
|
||||||
|
|
||||||
|
|||||||
@@ -20,10 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <CXX/WrapPython.h>
|
#include <CXX/WrapPython.h>
|
||||||
|
|
||||||
|
|||||||
@@ -20,10 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <CXX/Objects.hxx>
|
#include <CXX/Objects.hxx>
|
||||||
|
|
||||||
|
|||||||
@@ -19,8 +19,6 @@
|
|||||||
* *
|
* *
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
@@ -21,11 +21,7 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <QUuid>
|
#include <QUuid>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
|
|||||||
@@ -20,14 +20,9 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <limits>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
#include <boost/math/special_functions/fpclassify.hpp>
|
#include <boost/math/special_functions/fpclassify.hpp>
|
||||||
|
|
||||||
#include "Vector3D.h"
|
#include "Vector3D.h"
|
||||||
|
|||||||
@@ -20,10 +20,7 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "GeometryPyCXX.h"
|
#include "GeometryPyCXX.h"
|
||||||
#include "Vector3D.h"
|
#include "Vector3D.h"
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#include "ViewProj.h"
|
#include "ViewProj.h"
|
||||||
|
|
||||||
using namespace Base;
|
using namespace Base;
|
||||||
|
|||||||
@@ -21,13 +21,10 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <set>
|
#include <set>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|||||||
@@ -20,13 +20,8 @@
|
|||||||
* *
|
* *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#ifndef _PreComp_
|
|
||||||
#include <xercesc/framework/MemoryManager.hpp>
|
#include <xercesc/framework/MemoryManager.hpp>
|
||||||
#include <xercesc/util/OutOfMemoryException.hpp>
|
#include <xercesc/util/OutOfMemoryException.hpp>
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "Exception.h"
|
#include "Exception.h"
|
||||||
#include "XMLTools.h"
|
#include "XMLTools.h"
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
|
|
||||||
#include "ZipHeader.h"
|
#include "ZipHeader.h"
|
||||||
#include <zipios++/backbuffer.h>
|
#include <zipios++/backbuffer.h>
|
||||||
#include <zipios++/zipinputstream.h>
|
#include <zipios++/zipinputstream.h>
|
||||||
|
|||||||
@@ -21,7 +21,6 @@
|
|||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#include "PreCompiled.h"
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
|
#if (defined(HAVE_SWIG) && (HAVE_SWIG == 1))
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
#include <QString>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma warning(disable : 4996)
|
#pragma warning(disable : 4996)
|
||||||
#pragma warning(disable : 4305)
|
#pragma warning(disable : 4305)
|
||||||
@@ -16,7 +18,6 @@
|
|||||||
#include <random>
|
#include <random>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <xercesc/util/PlatformUtils.hpp>
|
#include <xercesc/util/PlatformUtils.hpp>
|
||||||
#include <QString>
|
|
||||||
|
|
||||||
namespace fs = std::filesystem;
|
namespace fs = std::filesystem;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user