d3d10.h

Go to the documentation of this file.
00001 /*
00002 **  ClanLib SDK
00003 **  Copyright (c) 1997-2011 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 "D3D10/d3d10_target.h"
00040 #include "D3D10/setup_d3d10.h"
00041 
00042 #ifdef __cplusplus_cli
00043 #pragma managed(pop)
00044 #endif
00045 
00046 #if defined (_MSC_VER)
00047         #if !defined (UNICODE)
00048                 #if defined (CL_DLL)
00049                         #if !defined (_DEBUG)
00050                                 #pragma comment(lib, "clanD3D10-dll.lib")
00051                         #else
00052                                 #pragma comment(lib, "clanD3D10-dll-debug.lib")
00053                         #endif
00054                 #elif defined (_DLL)
00055                         #if !defined (_DEBUG)
00056                                 #pragma comment(lib, "clanD3D10-static-mtdll.lib")
00057                         #else
00058                                 #pragma comment(lib, "clanD3D10-static-mtdll-debug.lib")
00059                         #endif
00060                         #pragma comment(lib, "winmm.lib")
00061                         #pragma comment(lib, "dinput8.lib")
00062                         #pragma comment(lib, "dxguid.lib")
00063                 #else
00064                         #if !defined (_DEBUG)
00065                                 #pragma comment(lib, "clanD3D10-static-mt.lib")
00066                         #else
00067                                 #pragma comment(lib, "clanD3D10-static-mt-debug.lib")
00068                         #endif
00069                         #pragma comment(lib, "winmm.lib")
00070                         #pragma comment(lib, "dinput8.lib")
00071                         #pragma comment(lib, "dxguid.lib")
00072                 #endif
00073         #else
00074                 #if defined (CL_DLL)
00075                         #if !defined (_DEBUG)
00076                                 #pragma comment(lib, "clanD3D10-dll-uc.lib")
00077                         #else
00078                                 #pragma comment(lib, "clanD3D10-dll-uc-debug.lib")
00079                         #endif
00080                 #elif defined (_DLL)
00081                         #if !defined (_DEBUG)
00082                                 #pragma comment(lib, "clanD3D10-static-mtdll-uc.lib")
00083                         #else
00084                                 #pragma comment(lib, "clanD3D10-static-mtdll-uc-debug.lib")
00085                         #endif
00086                         #pragma comment(lib, "winmm.lib")
00087                         #pragma comment(lib, "dinput8.lib")
00088                         #pragma comment(lib, "dxguid.lib")
00089                 #else
00090                         #if !defined (_DEBUG)
00091                                 #pragma comment(lib, "clanD3D10-static-mt-uc.lib")
00092                         #else
00093                                 #pragma comment(lib, "clanD3D10-static-mt-uc-debug.lib")
00094                         #endif
00095                         #pragma comment(lib, "winmm.lib")
00096                         #pragma comment(lib, "dinput8.lib")
00097                         #pragma comment(lib, "dxguid.lib")
00098                 #endif
00099         #endif
00100 #endif
00101