1{ 2 *************************************************************************** 3 * * 4 * This source is free software; you can redistribute it and/or modify * 5 * it under the terms of the GNU General Public License as published by * 6 * the Free Software Foundation; either version 2 of the License, or * 7 * (at your option) any later version. * 8 * * 9 * This code is distributed in the hope that it will be useful, but * 10 * WITHOUT ANY WARRANTY; without even the implied warranty of * 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 12 * General Public License for more details. * 13 * * 14 * A copy of the GNU General Public License is available on the World * 15 * Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also * 16 * obtain it by writing to the Free Software Foundation, * 17 * Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1335, USA. * 18 * * 19 *************************************************************************** 20} 21 22// !!! if you change any of these flags, you have to make cleanide !!! 23{$inline on} 24 25{ $DEFINE IDE_VERBOSE} 26 27{ $DEFINE IDE_MEM_CHECK} 28 29{ $DEFINE IDE_DEBUG} 30 31{ $DEFINE VerboseIDEMultiForm} 32 33{off $apptype console} 34 35// debug form load/save 36{ $DEFINE VerboseJITForms} 37{ $DEFINE VerboseFormEditor} 38 39// TODO: Test on all platforms 40{$IFNDEF DisableAsyncProcess} 41 {$IFDEF Linux} 42 {$IFDEF CPUI386} 43 {off $DEFINE UseAsyncProcess} 44 {$ENDIF} 45 {$ENDIF} 46 {$IFDEF windows} 47 {$DEFINE UseAsyncProcess} 48 {$ENDIF} 49{$ENDIF} 50 51{$IF FPC_FULLVERSION<20700} 52// fpc 2.6.2 and 2.6.3 have a bug with -O2 and for..in 53// see http://bugs.freepascal.org/view.php?id=25588 54 {$OPTIMIZATION NOSTACKFRAME} 55{$ENDIF} 56 57{$IF defined(Windows) and defined(HEAPTRC_WINDOW) and (FPC_FULLVERSION>=20701)} 58 {$DEFINE EnableRedirectStdErr} 59{$ENDIF} 60 61// end. 62 63