| VRS - The Virtual Rendering System |
| version 3.3 |
00001 /****************************************************************************** 00002 * VRS - The Virtual Rendering System 00003 * Copyright (C) 2003 Computer Graphics Systems Group at the 00004 * Hasso-Plattner-Institute (HPI), Potsdam, Germany. 00005 * 00006 * This library is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU Lesser General Public License as published by 00008 * the Free Software Foundation; either version 2.1 of the License, or (at 00009 * your option) any later version. This library is distributed in the hope 00010 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 00011 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Lesser General Public License for more details. You should have received 00013 * a copy of the GNU Lesser+ General Public License along with this library; if 00014 * not, write to the FreeSoftware Foundation, Inc., 59 Temple Place, Suite 330, 00015 * Boston, MA, 02111-1307, USA. 00016 ******************************************************************************/ 00017 00018 // $Id: config.h 6533 2008-10-28 13:28:32Z Konstantin_Baumann $ 00019 // $Date: 2008-10-28 14:28:32 +0100 (Tue, 28 Oct 2008) $ 00020 // $Revision: 6533 $ 00021 // $State$ 00022 // $Author: Konstantin_Baumann $ 00023 // 00024 // $Log$ 00025 // Revision 1.7 2004/03/19 12:59:13 grabs 00026 // - introduced build configuration Debug_Optimized 00027 // - replaced NDEBUG and _DEBUG by VRS_VERSION_DEBUG, VRS_VERSION_DEBUG_OPTIMIZED and VRS_VERSION_RELEASE 00028 // 00029 // Revision 1.6 2003/10/02 14:08:32 baumann 00030 // VS-7.1 is now default compiler 00031 // 00032 // Revision 1.5 2003/06/20 07:10:44 baumann 00033 // changed include path of glut.h for APPLE 00034 // 00035 // Revision 1.4 2002/09/10 11:22:13 skirsch 00036 // changed output file names for the visual studio >7.0 00037 // 00038 // Revision 1.3 2002/08/22 09:19:24 kirsch 00039 // included openglconfig.h 00040 // 00041 // Revision 1.2 2002/04/08 20:05:23 kirsch 00042 // unix oompile fixes 00043 // 00044 // Revision 1.1 2002/04/08 08:35:50 baumann 00045 // VRS_GLUT_API and VRS_GLUT_EXPORTS added 00046 // 00047 00048 #ifndef VRS_GLUT_CONFIG_H 00049 #define VRS_GLUT_CONFIG_H 00050 00051 #include <vrs/opengl/openglconfig.h> 00052 00053 #ifdef __APPLE__ 00054 # include <GLUT/glut.h> 00055 #else // __APPLE__ 00056 # include <GL/glut.h> 00057 #endif // __APPLE__ 00058 00059 #ifndef WIN32 00060 #define VRS_GLUT_API 00061 #else // WIN32 00062 00063 // dll import/export 00064 # ifdef VRS_GLUT_EXPORTS 00065 # define VRS_GLUT_API __declspec(dllexport) 00066 # else // VRS_GLUT_EXPORTS 00067 # define VRS_GLUT_API __declspec(dllimport) 00068 # endif // VRS_GLUT_EXPORTS 00069 #endif // WIN32 00070 00071 // automatic linkage with release- or debug-lib 00072 #ifdef WIN32 00073 # ifndef VRS_GLUT_EXPORTS 00074 # ifdef NDEBUG 00075 # pragma comment(lib, "vrs_glut.lib") 00076 # else // NDEBUG 00077 # pragma comment(lib, "vrs_glut_debug.lib") 00078 # endif // NDEBUG 00079 # endif // VRS_GLUT_EXPORTS 00080 #endif // WIN32 00081 00082 #ifdef WIN32 00083 # pragma comment(lib, "freeglut.lib") /* link with free glut lib */ 00084 #endif 00085 00086 #endif // VRS_GLUT_CONFIG_H