gl.h

Go to the documentation of this file.
00001 /*
00002 **  ClanLib SDK
00003 **  Copyright (c) 1997-2009 The ClanLib Team
00004 **
00005 **  This software is provided 'as-is', without any express or implied
00006 **  warranty.  In no event will the authors be held liable for any damages
00007 **  arising from the use of this software.
00008 **
00009 **  Permission is granted to anyone to use this software for any purpose,
00010 **  including commercial applications, and to alter it and redistribute it
00011 **  freely, subject to the following restrictions:
00012 **
00013 **  1. The origin of this software must not be misrepresented; you must not
00014 **     claim that you wrote the original software. If you use this software
00015 **     in a product, an acknowledgment in the product documentation would be
00016 **     appreciated but is not required.
00017 **  2. Altered source versions must be plainly marked as such, and must not be
00018 **     misrepresented as being the original software.
00019 **  3. This notice may not be removed or altered from any source distribution.
00020 **
00021 **  Note: Some of the libraries ClanLib may link to may have additional
00022 **  requirements or restrictions.
00023 **
00024 **  File Author(s):
00025 **
00026 **    Magnus Norddahl
00027 **    Kenneth Gangstoe
00028 */
00029 
00032 
00033 #pragma once
00034 
00035 #ifdef __cplusplus_cli
00036 #pragma managed(push, off)
00037 #endif
00038 
00039 #include "GL/opengl.h"
00040 #include "GL/opengl_defines.h"
00041 #include "GL/opengl_target.h"
00042 #include "GL/opengl_window_description.h"
00043 #include "GL/opengl_wrap.h"
00044 #include "GL/setup_gl.h"
00045 #include "GL/opengl_graphic_context.h"
00046 
00047 #ifdef __cplusplus_cli
00048 #pragma managed(pop)
00049 #endif
00050 
00051 #if defined (_MSC_VER)
00052         #if !defined (UNICODE)
00053                 #if defined (CL_DLL)
00054                         #if !defined (_DEBUG)
00055                                 #if defined(_M_X64)
00056                                         #pragma comment(lib, "clanGL-x64-dll.lib")
00057                                 #else
00058                                         #pragma comment(lib, "clanGL-dll.lib")
00059                                 #endif
00060                         #else
00061                                 #if defined(_M_X64)
00062                                         #pragma comment(lib, "clanGL-x64-dll-debug.lib")
00063                                 #else
00064                                         #pragma comment(lib, "clanGL-dll-debug.lib")
00065                                 #endif
00066                         #endif
00067                 #elif defined (_DLL)
00068                         #if !defined (_DEBUG)
00069                                 #if defined(_M_X64)
00070                                         #pragma comment(lib, "clanGL-x64-static-mtdll.lib")
00071                                 #else
00072                                         #pragma comment(lib, "clanGL-static-mtdll.lib")
00073                                 #endif
00074                         #else
00075                                 #if defined(_M_X64)
00076                                         #pragma comment(lib, "clanGL-x64-static-mtdll-debug.lib")
00077                                 #else
00078                                         #pragma comment(lib, "clanGL-static-mtdll-debug.lib")
00079                                 #endif
00080                         #endif
00081                         #pragma comment(lib, "winmm.lib")
00082                         #pragma comment(lib, "dinput8.lib")
00083                         #pragma comment(lib, "dxguid.lib")
00084                         #pragma comment(lib, "OpenGL32.lib")
00085                         #pragma comment(lib, "GLU32.lib")
00086                 #else
00087                         #if !defined (_DEBUG)
00088                                 #if defined(_M_X64)
00089                                         #pragma comment(lib, "clanGL-x64-static-mt.lib")
00090                                 #else
00091                                         #pragma comment(lib, "clanGL-static-mt.lib")
00092                                 #endif
00093                         #else
00094                                 #if defined(_M_X64)
00095                                         #pragma comment(lib, "clanGL-x64-static-mt-debug.lib")
00096                                 #else
00097                                         #pragma comment(lib, "clanGL-static-mt-debug.lib")
00098                                 #endif
00099                         #endif
00100                         #pragma comment(lib, "winmm.lib")
00101                         #pragma comment(lib, "dinput8.lib")
00102                         #pragma comment(lib, "dxguid.lib")
00103                         #pragma comment(lib, "OpenGL32.lib")
00104                         #pragma comment(lib, "GLU32.lib")
00105                 #endif
00106         #else
00107                 #if defined (CL_DLL)
00108                         #if !defined (_DEBUG)
00109                                 #if defined(_M_X64)
00110                                         #pragma comment(lib, "clanGL-x64-dll-uc.lib")
00111                                 #else
00112                                         #pragma comment(lib, "clanGL-dll-uc.lib")
00113                                 #endif
00114                         #else
00115                                 #if defined(_M_X64)
00116                                         #pragma comment(lib, "clanGL-x64-dll-uc-debug.lib")
00117                                 #else
00118                                         #pragma comment(lib, "clanGL-dll-uc-debug.lib")
00119                                 #endif
00120                         #endif
00121                 #elif defined (_DLL)
00122                         #if !defined (_DEBUG)
00123                                 #if defined(_M_X64)
00124                                         #pragma comment(lib, "clanGL-x64-static-mtdll-uc.lib")
00125                                 #else
00126                                         #pragma comment(lib, "clanGL-static-mtdll-uc.lib")
00127                                 #endif
00128                         #else
00129                                 #if defined(_M_X64)
00130                                         #pragma comment(lib, "clanGL-x64-static-mtdll-uc-debug.lib")
00131                                 #else
00132                                         #pragma comment(lib, "clanGL-static-mtdll-uc-debug.lib")
00133                                 #endif
00134                         #endif
00135                         #pragma comment(lib, "winmm.lib")
00136                         #pragma comment(lib, "dinput8.lib")
00137                         #pragma comment(lib, "dxguid.lib")
00138                         #pragma comment(lib, "OpenGL32.lib")
00139                         #pragma comment(lib, "GLU32.lib")
00140                 #else
00141                         #if !defined (_DEBUG)
00142                                 #if defined(_M_X64)
00143                                         #pragma comment(lib, "clanGL-x64-static-mt-uc.lib")
00144                                 #else
00145                                         #pragma comment(lib, "clanGL-static-mt-uc.lib")
00146                                 #endif
00147                         #else
00148                                 #if defined(_M_X64)
00149                                         #pragma comment(lib, "clanGL-x64-static-mt-uc-debug.lib")
00150                                 #else
00151                                         #pragma comment(lib, "clanGL-static-mt-uc-debug.lib")
00152                                 #endif
00153                         #endif
00154                         #pragma comment(lib, "winmm.lib")
00155                         #pragma comment(lib, "dinput8.lib")
00156                         #pragma comment(lib, "dxguid.lib")
00157                         #pragma comment(lib, "OpenGL32.lib")
00158                         #pragma comment(lib, "GLU32.lib")
00159                 #endif
00160         #endif
00161 #endif
00162 

Generated on Thu Dec 3 02:39:29 2009 for ClanLib by  doxygen 1.4.6