public static string GetCompilerOptions( bool debug )
{
StringBuilder sb = null;
if( !debug )
AppendCompilerOption( ref sb, "/optimize" );
//These two defines are legacy, ie, depreciated.
if( Core.Is64Bit )
AppendCompilerOption( ref sb, "/d:x64" );
AppendCompilerOption( ref sb, "/d:Framework_4_0" );
return (sb == null ? null : sb.ToString());
}