forked from eranif/codelite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed: wrong compilation line was used in some rare cases
- added PCH project to codelite, this project now contains the main pre-compiled header of codelite. You should build this project before building any other project git-svn-id: https://codelite.svn.sourceforge.net/svnroot/codelite/trunk@5002 9da81c78-c036-0410-9e1f-a2b0375e4b5a
- Loading branch information
eranif
committed
Jul 24, 2011
1 parent
a5b60af
commit 1d4cc91
Showing
45 changed files
with
934 additions
and
492 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,86 +1,13 @@ | ||
////////////////////////////////////////////////////////////////////////////// | ||
////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// copyright : (C) 2008 by Eran Ifrah | ||
// file name : precompiled_header.h | ||
// | ||
// ------------------------------------------------------------------------- | ||
// A | ||
// _____ _ _ _ _ | ||
// / __ \ | | | | (_) | | ||
// | / \/ ___ __| | ___| | _| |_ ___ | ||
// | | / _ \ / _ |/ _ \ | | | __/ _ ) | ||
// | \__/\ (_) | (_| | __/ |___| | || __/ | ||
// \____/\___/ \__,_|\___\_____/_|\__\___| | ||
// | ||
// F i l e | ||
// | ||
// This program is free software; you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation; either version 2 of the License, or | ||
// (at your option) any later version. | ||
// | ||
////////////////////////////////////////////////////////////////////////////// | ||
////////////////////////////////////////////////////////////////////////////// | ||
#ifndef CODELITE_PRECOMPILED_HEADER_H | ||
#define CODELITE_PRECOMPILED_HEADER_H | ||
|
||
// Only include the headers we need here | ||
#include <wx/app.h> | ||
#include <wx/frame.h> | ||
#include <wx/string.h> | ||
#include <wx/process.h> | ||
#include <wx/filename.h> | ||
#include <wx/treectrl.h> | ||
#include <wx/string.h> | ||
#include <wx/log.h> | ||
#include <wx/settings.h> | ||
|
||
#include <iostream> | ||
#include <vector> | ||
#include <map> | ||
#include <stack> | ||
#include "readtags.h" | ||
|
||
///////////////////////////////////////////////////////////////////////////// | ||
// Unicode: | ||
// Use the following macros, in the following cases: | ||
// | ||
// 1. If your API requires const char*, wrap wxString with _C() macro | ||
// 2. To convert char* ( not litteral ) use _U() | ||
// 3. To convert literal strings, use _T() | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
#ifdef __APPLE__ | ||
#include <ctype.h> | ||
#undef _C /* _CTYPE_C */ | ||
#undef _U /* _CTYPE_U */ | ||
#endif | ||
|
||
#ifdef wxUSE_UNICODE | ||
#ifndef _U | ||
#define _U(x) wxString((x),wxConvUTF8) | ||
#endif | ||
#ifndef _UU | ||
#define _UU(x,y) wxString((x),y) | ||
#endif | ||
#ifndef _CC | ||
#define _CC(x,y) (x).mb_str((y)) | ||
#endif | ||
#else | ||
#ifndef _U | ||
#define _U(x) (x) | ||
#endif | ||
#ifndef _UU | ||
#define _UU(x,y) (x) | ||
#endif | ||
#ifndef _CC | ||
#define _CC(x,y) (x) | ||
#endif | ||
#endif | ||
|
||
#ifndef _C | ||
#define _C(x) _CC((x),wxConvUTF8) | ||
#endif | ||
|
||
#endif // CODELITE_PRECOMPILED_HEADER_H | ||
#ifndef PRECOMPILED_HEADER_H | ||
#define PRECOMPILED_HEADER_H | ||
|
||
// A proxy to the right PCH file | ||
// we need to so we will get a different flags compiled per file | ||
#ifdef NDEBUG | ||
# include "precompiled_header_release.h" | ||
#else | ||
# include "precompiled_header_dbg.h" | ||
#endif | ||
|
||
#endif | ||
|
Oops, something went wrong.