2004-12-12 05:33:03 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: msvc/wx/msw/setup.h
|
|
|
|
// Purpose: wrapper around the real wx/setup.h for Visual C++
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2004-12-12
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2004 Vadim Zeitlin <vadim@wxwindows.org>
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
// VC++ IDE predefines _DEBUG and _UNICODE for the new projects itself, but
|
|
|
|
// the other symbols (WXUSINGDLL, __WXUNIVERSAL__, ...) should be defined
|
2005-05-31 05:20:43 -04:00
|
|
|
// explicitly!
|
2004-12-12 05:33:03 -05:00
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#ifdef _UNICODE
|
|
|
|
#ifdef WXUSINGDLL
|
|
|
|
#ifdef _DEBUG
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_dll/mswud/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#else
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_dll/mswu/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#ifdef _DEBUG
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_lib/mswud/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#else
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_lib/mswu/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29ud")
|
|
|
|
#pragma comment(lib,"wxbase29ud_net")
|
|
|
|
#pragma comment(lib,"wxbase29ud_xml")
|
2005-08-05 18:39:57 -04:00
|
|
|
#if wxUSE_REGEX
|
2006-11-27 10:03:59 -05:00
|
|
|
#pragma comment(lib,"wxregexud")
|
2005-08-05 18:39:57 -04:00
|
|
|
#endif
|
2006-11-27 10:03:59 -05:00
|
|
|
|
|
|
|
#if wxUSE_GUI
|
|
|
|
#if wxUSE_XML
|
|
|
|
#pragma comment(lib,"wxexpatd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBJPEG
|
|
|
|
#pragma comment(lib,"wxjpegd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBPNG
|
|
|
|
#pragma comment(lib,"wxpngd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBTIFF
|
|
|
|
#pragma comment(lib,"wxtiffd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_ZLIB
|
|
|
|
#pragma comment(lib,"wxzlibd")
|
|
|
|
#endif
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29ud_adv")
|
|
|
|
#pragma comment(lib,"wxmsw29ud_core")
|
|
|
|
#pragma comment(lib,"wxmsw29ud_html")
|
2006-11-27 10:03:59 -05:00
|
|
|
#if wxUSE_GLCANVAS
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29ud_gl")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_DEBUGREPORT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29ud_qa")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_XRC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29ud_xrc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_AUI
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29ud_aui")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_RICHTEXT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29ud_richtext")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_MEDIACTRL
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29ud_media")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_ODBC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29ud_odbc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#endif // wxUSE_GUI
|
|
|
|
#else // release
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29u")
|
|
|
|
#pragma comment(lib,"wxbase29u_net")
|
|
|
|
#pragma comment(lib,"wxbase29u_xml")
|
2006-11-27 10:03:59 -05:00
|
|
|
#if wxUSE_REGEX
|
|
|
|
#pragma comment(lib,"wxregexu")
|
2006-03-30 19:05:02 -05:00
|
|
|
#endif
|
2006-11-27 10:03:59 -05:00
|
|
|
|
|
|
|
#if wxUSE_GUI
|
|
|
|
#if wxUSE_XML
|
|
|
|
#pragma comment(lib,"wxexpat")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBJPEG
|
|
|
|
#pragma comment(lib,"wxjpeg")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBPNG
|
|
|
|
#pragma comment(lib,"wxpng")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBTIFF
|
|
|
|
#pragma comment(lib,"wxtiff")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_ZLIB
|
|
|
|
#pragma comment(lib,"wxzlib")
|
|
|
|
#endif
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29u_adv")
|
|
|
|
#pragma comment(lib,"wxmsw29u_core")
|
|
|
|
#pragma comment(lib,"wxmsw29u_html")
|
2006-11-27 10:03:59 -05:00
|
|
|
#if wxUSE_GLCANVAS
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29u_gl")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_DEBUGREPORT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29u_qa")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_XRC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29u_xrc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_AUI
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29u_aui")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_RICHTEXT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29u_richtext")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_MEDIACTRL
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29u_media")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_ODBC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29u_odbc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#endif // wxUSE_GUI
|
2004-12-12 05:33:03 -05:00
|
|
|
#endif // debug/release
|
|
|
|
#else // !_UNICODE
|
|
|
|
#ifdef WXUSINGDLL
|
|
|
|
#ifdef _DEBUG
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_dll/mswd/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#else
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_dll/msw/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#endif
|
|
|
|
#else // static lib
|
|
|
|
#ifdef _DEBUG
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_lib/mswd/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#else
|
2005-03-10 20:15:47 -05:00
|
|
|
#include "../../../lib/vc_lib/msw/wx/setup.h"
|
2004-12-12 05:33:03 -05:00
|
|
|
#endif
|
|
|
|
#endif // shared/static
|
|
|
|
|
|
|
|
#ifdef _DEBUG
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29d")
|
|
|
|
#pragma comment(lib,"wxbase29d_net")
|
|
|
|
#pragma comment(lib,"wxbase29d_xml")
|
2005-08-05 18:39:57 -04:00
|
|
|
#if wxUSE_REGEX
|
2006-11-27 10:03:59 -05:00
|
|
|
#pragma comment(lib,"wxregexd")
|
2005-08-05 18:39:57 -04:00
|
|
|
#endif
|
2006-11-27 10:03:59 -05:00
|
|
|
|
|
|
|
#if wxUSE_GUI
|
|
|
|
#if wxUSE_XML
|
|
|
|
#pragma comment(lib,"wxexpatd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBJPEG
|
|
|
|
#pragma comment(lib,"wxjpegd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBPNG
|
|
|
|
#pragma comment(lib,"wxpngd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBTIFF
|
|
|
|
#pragma comment(lib,"wxtiffd")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_ZLIB
|
|
|
|
#pragma comment(lib,"wxzlibd")
|
|
|
|
#endif
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29d_adv")
|
|
|
|
#pragma comment(lib,"wxmsw29d_core")
|
|
|
|
#pragma comment(lib,"wxmsw29d_html")
|
2006-11-27 10:03:59 -05:00
|
|
|
#if wxUSE_GLCANVAS
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29d_gl")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_DEBUGREPORT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29d_qa")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_XRC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29d_xrc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_AUI
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29d_aui")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_RICHTEXT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29d_richtext")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_MEDIACTRL
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29d_media")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_ODBC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29d_odbc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#endif // wxUSE_GUI
|
|
|
|
#else // release
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29")
|
|
|
|
#pragma comment(lib,"wxbase29_net")
|
|
|
|
#pragma comment(lib,"wxbase29_xml")
|
2006-11-27 10:03:59 -05:00
|
|
|
#if wxUSE_REGEX
|
|
|
|
#pragma comment(lib,"wxregex")
|
2006-03-30 19:05:02 -05:00
|
|
|
#endif
|
2006-11-27 10:03:59 -05:00
|
|
|
|
|
|
|
#if wxUSE_GUI
|
|
|
|
#if wxUSE_XML
|
|
|
|
#pragma comment(lib,"wxexpat")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBJPEG
|
|
|
|
#pragma comment(lib,"wxjpeg")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBPNG
|
|
|
|
#pragma comment(lib,"wxpng")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_LIBTIFF
|
|
|
|
#pragma comment(lib,"wxtiff")
|
|
|
|
#endif
|
|
|
|
#if wxUSE_ZLIB
|
|
|
|
#pragma comment(lib,"wxzlib")
|
|
|
|
#endif
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29_adv")
|
|
|
|
#pragma comment(lib,"wxmsw29_core")
|
|
|
|
#pragma comment(lib,"wxmsw29_html")
|
2006-11-27 10:03:59 -05:00
|
|
|
#if wxUSE_GLCANVAS
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29_gl")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_DEBUGREPORT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29_qa")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_XRC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29_xrc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_AUI
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29_aui")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_RICHTEXT
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29_richtext")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_MEDIACTRL
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxmsw29_media")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#if wxUSE_ODBC
|
2007-02-10 18:50:43 -05:00
|
|
|
#pragma comment(lib,"wxbase29_odbc")
|
2006-11-27 10:03:59 -05:00
|
|
|
#endif
|
|
|
|
#endif // wxUSE_GUI
|
2004-12-12 05:33:03 -05:00
|
|
|
#endif // debug/release
|
|
|
|
#endif // _UNICODE/!_UNICODE
|
|
|
|
#else
|
|
|
|
#error "This file should only be included when using Microsoft Visual C++"
|
|
|
|
#endif
|
|
|
|
|