boinc/clientgui/mac/MacGUI.pch

76 lines
2.4 KiB
Plaintext

// Berkeley Open Infrastructure for Network Computing
// http://boinc.berkeley.edu
// Copyright (C) 2005 University of California
//
// This is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation;
// either version 2.1 of the License, or (at your option) any later version.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU Lesser General Public License for more details.
//
// To view the GNU Lesser General Public License visit
// http://www.gnu.org/copyleft/lesser.html
// or write to the Free Software Foundation, Inc.,
// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
// HTTP_OP represents an HTTP operation.
// There are variants for GET and POST,
// and for the data source/sink (see below).
#ifndef _MACGUI_H_
#define _MACGUI_H_
/*
* MacGUI.pch
* BOINCManager precompiled headers file for Mac
*/
// To use the Development (Debug) build of wxMac (allows stepping into wxMac
// source code, enables debug, trace, Asserts, etc.):
// (1) Set USE_DEBUG_WXMAC to 1
// (2) Select Development build configuration
// (3) Select mgr_boinc target
// (4) In Xcode's View menu, set "Groups & Files Column > Target Membership" on
// (5) In the XCode project's Groups and Files column:
// uncheck "External Frameworks and Libraries/libwx_mac_static.a"
// (6) In the XCode project's Groups and Files column:
// check "External Frameworks and Libraries/wxMac-BOINC.xcodeproj/libwx_mac_static.a"
//
// This will have no effect on the BOINC Manager Deployment build, which will still
// use the wxMac Deployment build.
//
// To use the wxMac Deployment build even in BOINC Manager Development builds, reverse
// the above steps (setting USE_DEBUG_WXMAC to 0, etc.)
#define USE_DEBUG_WXMAC 0
#define WX_PRECOMP
#define HAVE_SSIZE_T
#if (defined(_DEBUG) && (! USE_DEBUG_WXMAC))
#undef _DEBUG // so we can link with Deployment Wx libs
#undef __WXDEBUG__
#include "stdwx.h"
#define _DEBUG // Redefine _DEBUG for the rest of the code
#define __WXDEBUG__
#else // ! (defined(_DEBUG) && (! USE_DEBUG_WXMAC))
#include "stdwx.h"
#endif // ! (defined(_DEBUG) && (! USE_DEBUG_WXMAC))
#include "config.h"
// Prototypes for Mac_GUI.cpp
Boolean Mac_Authorize(void);
#endif