Mod/Cam/App/PreCompiled.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (c) 2007                                                    *
00003  *   Joachim Zettler <Joachim.Zettler@gmx.de>                              *
00004  *                                                                         *
00005  *   This file is part of the FreeCAD CAx development system.              *
00006  *                                                                         *
00007  *   This library is free software; you can redistribute it and/or         *
00008  *   modify it under the terms of the GNU Library General Public           *
00009  *   License as published by the Free Software Foundation; either          *
00010  *   version 2 of the License, or (at your option) any later version.      *
00011  *                                                                         *
00012  *   This library  is distributed in the hope that it will be useful,      *
00013  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00014  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00015  *   GNU Library General Public License for more details.                  *
00016  *                                                                         *
00017  *   You should have received a copy of the GNU Library General Public     *
00018  *   License along with this library; see the file COPYING.LIB. If not,    *
00019  *   write to the Free Software Foundation, Inc., 59 Temple Place,         *
00020  *   Suite 330, Boston, MA  02111-1307, USA                                *
00021  *                                                                         *
00022  ***************************************************************************/
00023 
00024 
00025 #ifndef __PRECOMPILED__
00026 #define __PRECOMPILED__
00027 
00028 #include <FCConfig.h>
00029 
00030 
00031 // Exporting of App classes
00032 #ifdef FC_OS_WIN32
00033     # define CamExport   __declspec(dllexport)
00034     # define CamExport      __declspec(dllexport)
00035     # define PartExport     __declspec(dllimport)
00036     # define MeshExport     __declspec(dllimport)
00037 #else // for Linux
00038     # define CamExport
00039     # define CamExport
00040     # define PartExport
00041     # define MeshExport
00042 #endif
00043 
00044 #ifdef _MSC_VER
00045     # pragma warning(disable : 4251)
00046     # pragma warning(disable : 4290)
00047     # pragma warning(disable : 4275)
00048     # pragma warning(disable : 4503)
00049     # pragma warning(disable : 4786)
00050     # pragma warning(disable : 4101)
00051 #endif
00052 
00053 #ifdef _PreComp_
00054 
00055     // STL
00056     #include <vector>
00057     #include <list>
00058     #include <map>
00059     #include <string>
00060     #include <set>
00061     #include <algorithm>
00062     #include <stack>
00063     #include <queue>
00064     #include <bitset>
00065 
00066     #include <Python.h>
00067 
00068     #ifdef FC_OS_WIN32
00069         #include <windows.h>
00070     #endif
00071 
00072     // Xerces
00073     #include <xercesc/util/XercesDefs.hpp>
00074 
00075     // OpenCasCade Base
00076     #include <Standard_Failure.hxx>
00077 
00078     // OpenCascade View
00079     #include <Mod/Part/App/OpenCascadeAll.h>
00080 
00081 #endif //_PreComp_
00082 
00083 #endif //__PRECOMPILED__
00084 
00085 

Generated on Wed Nov 23 19:00:29 2011 for FreeCAD by  doxygen 1.6.1