| 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 #ifndef VRS_OPENGL_GL2_US_CONFIG_H 00019 #define VRS_OPENGL_GL2_US_CONFIG_H 00020 00021 00022 00026 00027 // dll import/export 00028 #ifdef VRS_US_EXPORTS 00029 # define VRS_US_API __declspec(dllexport) 00030 #else // VRS_CORE_EXPORTS 00031 # define VRS_US_API __declspec(dllimport) 00032 #endif // VRS_CORE_EXPORTS 00033 00037 00038 // automatic linkage with release- or debug-lib 00039 #ifndef VRS_US_EXPORTS 00040 # if defined(_MSC_VER) && (_MSC_VER >= 1300) // visual studio >= 7.0 00041 # ifdef VRS_VERSION_RELEASE 00042 # pragma comment(lib, "vrs_us.lib") /* link with vrs lib */ 00043 # elif defined VRS_VERSION_DEBUG 00044 # pragma comment(lib, "vrs_us_debug.lib") /* link with vrs lib in debug mode */ 00045 # elif defined VRS_VERSION_DEBUG_OPTIMIZED 00046 # pragma comment(lib, "vrs_us_debug_optimized.lib") 00047 # else 00048 # error "the build configuration macro is missing" 00049 # endif //VRS_VERSION_* 00050 # else // visual studio < 7.0 00051 # ifdef NDEBUG 00052 # pragma comment(lib, "vrs_vc60.lib") /* link with vrs lib */ 00053 # else // NDEBUG 00054 # pragma comment(lib, "vrs_vc60_debug.lib") /* link with vrs lib in debug mode */ 00055 # endif // NDEBUG 00056 # endif // visual studio >= 7.0 00057 #endif // VRS_US_EXPORTS 00058 00059 #endif // VRS_OPENGL_GL2_US_CONFIG_H