Tag files for C++ release, even on debug builds, unless -Dlime-debug

This commit is contained in:
Joshua Granick
2016-12-15 21:40:37 -08:00
parent f358c92002
commit bc91351d3e
86 changed files with 461 additions and 3 deletions

View File

@@ -30,6 +30,11 @@ using cpp.NativeArray;
@:autoBuild(lime._macros.AssetsMacro.embedBytes()) // Enable @:bytes embed metadata
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Bytes {
public var length(default,null) : Int;

View File

@@ -9,6 +9,11 @@ import haxe.macro.Compiler;
import haxe.macro.Context;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Lib {

View File

@@ -28,6 +28,11 @@ import lime.ui.Window;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(haxe.Timer)
@:access(lime._backend.native.NativeGLRenderContext)
@:access(lime._backend.native.NativeRenderer)

View File

@@ -8,6 +8,11 @@ import lime.audio.openal.AL;
import lime.audio.openal.ALSource;
import lime.math.Vector4;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.audio.AudioBuffer)

View File

@@ -28,6 +28,11 @@ typedef Float32 = Float;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:allow(lime.ui.Window)

View File

@@ -12,6 +12,11 @@ import lime.net.HTTPRequest;
import lime.net.HTTPRequestMethod;
import lime.system.BackgroundWorker;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class NativeHTTPRequest {

View File

@@ -8,6 +8,11 @@ import lime.ui.Window;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.ui.Window)

View File

@@ -20,6 +20,11 @@ import lime.utils.UInt8Array;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime._backend.native.NativeGLRenderContext)
@:access(lime.graphics.cairo.Cairo)
@:access(lime.graphics.opengl.GL)

View File

@@ -13,6 +13,11 @@ import lime.ui.Window;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.app.Application)
@:access(lime.ui.Window)

View File

@@ -13,6 +13,11 @@ import lime.ui.KeyModifier;
import lime.ui.Touch;
import lime.ui.Window;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
/**
* The Application class forms the foundation for most Lime projects.

View File

@@ -12,6 +12,11 @@ using haxe.macro.Tools;
@:genericBuild(lime._macros.EventMacro.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Event<T> {

View File

@@ -5,6 +5,11 @@ import lime.system.System;
import lime.system.ThreadPool;
import lime.utils.Log;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:allow(lime.app.Promise)
@@ -258,6 +263,12 @@ import lime.utils.Log;
}
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:dox(hide) private class FutureWork {

View File

@@ -13,6 +13,11 @@ import lime.ui.KeyModifier;
import lime.ui.Touch;
import lime.ui.Window;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Module implements IModule {

View File

@@ -21,6 +21,11 @@ import flash.events.ProgressEvent;
import flash.Lib;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Preloader #if flash extends Sprite #end {

View File

@@ -1,6 +1,11 @@
package lime.app;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:allow(lime.app.Future)
#if !js @:generic #end

View File

@@ -6,6 +6,11 @@ import lime.audio.openal.ALBuffer;
import lime.audio.openal.ALSource;
import lime.utils.ArrayBufferView;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class ALAudioContext {

View File

@@ -5,6 +5,11 @@ import lime.audio.openal.ALC;
import lime.audio.openal.ALContext;
import lime.audio.openal.ALDevice;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class ALCAudioContext {

View File

@@ -28,6 +28,11 @@ import lime.audio.fmod.FMODSound;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class AudioBuffer {

View File

@@ -10,6 +10,11 @@ import lime.audio.openal.ALDevice;
import js.Browser;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class AudioManager {

View File

@@ -6,6 +6,11 @@ import lime.audio.openal.AL;
import lime.audio.openal.ALSource;
import lime.math.Vector4;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class AudioSource {

View File

@@ -10,6 +10,11 @@ import cpp.Float32;
typedef Float32 = Float;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
#if !macro
@:build(lime.system.CFFI.build())
#end

View File

@@ -3,6 +3,11 @@ package lime.audio.openal;
import lime.system.CFFIPointer;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
#if !macro
@:build(lime.system.CFFI.build())
#end

View File

@@ -54,6 +54,11 @@ import lime.graphics.console.TextureData;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:autoBuild(lime._macros.AssetsMacro.embedImage())
@:allow(lime.graphics.util.ImageCanvasUtil)
@:allow(lime.graphics.util.ImageDataUtil)

View File

@@ -17,6 +17,11 @@ import lime.graphics.utils.ImageCanvasUtil;
import flash.display.BitmapData;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:allow(lime.graphics.Image)

View File

@@ -5,6 +5,11 @@ import lime.app.Event;
import lime.math.Rectangle;
import lime.ui.Window;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Renderer {

View File

@@ -11,6 +11,11 @@ import lime.text.Glyph;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Cairo {

View File

@@ -1,6 +1,12 @@
package lime.graphics.cairo;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class CairoGlyph {

View File

@@ -5,6 +5,11 @@ import haxe.io.Bytes;
import lime.graphics.Image;
import lime.math.Rectangle;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class BMP {

View File

@@ -18,6 +18,11 @@ import js.Browser;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class JPEG {

View File

@@ -25,6 +25,11 @@ import haxe.io.BytesOutput;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class PNG {

View File

@@ -1,7 +1,15 @@
package lime.graphics.opengl;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class ExtensionAnisotropicFiltering {
public static var TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
public static var MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;

View File

@@ -1,7 +1,16 @@
package lime.graphics.opengl;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class ExtensionBGRA {
public static inline var BGRA_EXT = 0x80E1;
}

View File

@@ -1,7 +1,16 @@
package lime.graphics.opengl;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class ExtensionPackedDepthStencil {
public static inline var DEPTH24_STENCIL8_EXT = 0x88F0;
}

View File

@@ -7,6 +7,11 @@ import lime.utils.Int32Array;
@:allow(lime.ui.Window)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GL {

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
typedef GLActiveInfo = {
size:Int,

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5 || display)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLBuffer extends GLObject {

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
typedef GLContextAttributes = {
alpha:Bool,

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5 || display)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLFramebuffer extends GLObject {

View File

@@ -3,6 +3,11 @@ package lime.graphics.opengl;
import lime.system.CFFIPointer;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLObject {

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5 || display)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLProgram extends GLObject {

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5 || display)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLRenderbuffer extends GLObject {

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5 || display)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLShader extends GLObject {

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5 || display)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
typedef GLShaderPrecisionFormat = {
rangeMin:Int,

View File

@@ -1,6 +1,12 @@
package lime.graphics.opengl; #if (!js || !html5 || display)
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLTexture extends GLObject {

View File

@@ -20,6 +20,11 @@ import lime.utils.UInt8Array;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.graphics.ImageBuffer)
@:access(lime.math.color.RGBA)

View File

@@ -1,6 +1,12 @@
package lime.math;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Matrix3 {

View File

@@ -5,6 +5,11 @@ package lime.math;
import flash.geom.Rectangle in FlashRectangle;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Rectangle {

View File

@@ -5,6 +5,11 @@ package lime.math;
import flash.geom.Point;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Vector2 {

View File

@@ -1,6 +1,12 @@
package lime.math;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Vector4 {

View File

@@ -6,6 +6,11 @@ import lime.app.Event;
import lime.app.Future;
import lime.app.Promise;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
#if display

View File

@@ -1,6 +1,12 @@
package lime.net;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class HTTPRequestHeader {

View File

@@ -1,5 +1,12 @@
package lime.net;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
// Based on http://blog.stevenlevithan.com/archives/parseuri
class URIParser {

View File

@@ -8,6 +8,11 @@ import lime.net.curl.CURL;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class CURLEasy {

View File

@@ -12,6 +12,11 @@ import neko.vm.Deque;
import neko.vm.Thread;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class BackgroundWorker {

View File

@@ -7,6 +7,11 @@ import lime._macros.CFFIMacro;
import sys.io.Process;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class CFFI {

View File

@@ -11,6 +11,11 @@ import js.Browser.document;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Clipboard {

View File

@@ -3,6 +3,11 @@ package lime.system;
import lime.math.Rectangle;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Display {

View File

@@ -3,6 +3,11 @@ package lime.system;
import lime.graphics.PixelFormat;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class DisplayMode {

View File

@@ -5,6 +5,11 @@ package lime.system;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class JNI {

View File

@@ -3,6 +3,11 @@ package lime.system;
import lime.app.Event;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Sensor {

View File

@@ -18,6 +18,11 @@ import js.Browser;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.system.Display)
@:access(lime.system.DisplayMode)

View File

@@ -12,6 +12,11 @@ import neko.vm.Deque;
import neko.vm.Thread;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class ThreadPool {

View File

@@ -25,6 +25,11 @@ import haxe.io.Path;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
#if (!display && !nodejs && !macro)
@:autoBuild(lime._macros.AssetsMacro.embedFont())
#end

View File

@@ -3,6 +3,11 @@ package lime.text;
import lime.math.Vector2;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GlyphMetrics {

View File

@@ -3,6 +3,11 @@ package lime.text;
import lime.math.Vector2;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GlyphPosition {

View File

@@ -9,6 +9,11 @@ import lime.system.System;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.text.Font)

View File

@@ -13,6 +13,11 @@ import sys.io.File;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class FileDialog {

View File

@@ -7,6 +7,11 @@ import lime.app.Event;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.ui.Joystick)

View File

@@ -8,6 +8,11 @@ import lime.utils.Log;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Haptic {

View File

@@ -7,6 +7,11 @@ import lime.app.Event;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Joystick {

View File

@@ -1,6 +1,12 @@
package lime.ui;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Mouse {

View File

@@ -3,6 +3,11 @@ package lime.ui;
import lime.app.Event;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Touch {

View File

@@ -16,6 +16,11 @@ import flash.display.Stage;
typedef Stage = Dynamic;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Window {

View File

@@ -5,7 +5,12 @@ package lime.utils;
typedef ArrayBufferView = js.html.ArrayBufferView;
#else
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class ArrayBufferView {
public var type = TypedArrayType.None;

View File

@@ -5,6 +5,11 @@ import lime._macros.AssetsMacro;
import lime.audio.AudioBuffer;
import lime.graphics.Image;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class AssetCache {

View File

@@ -14,6 +14,11 @@ import flash.display.BitmapData;
import flash.media.Sound;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class AssetLibrary {

View File

@@ -10,6 +10,11 @@ import lime.utils.Bytes;
import haxe.Json;
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class AssetManifest {

View File

@@ -34,6 +34,11 @@ import haxe.Json;
* in the project file.</p>
*/
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
@:access(lime.utils.AssetLibrary)

View File

@@ -103,7 +103,12 @@ import lime.utils.ArrayBufferView;
#else
import lime.utils.ArrayBuffer;
import lime.utils.ArrayBuffer;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class DataView {

View File

@@ -64,7 +64,7 @@ package lime.utils;
abstract Float32Array(ArrayBufferView) from ArrayBufferView to ArrayBufferView {
public inline static var BYTES_PER_ELEMENT : Int = 4;
public static var hello:Int;
public var length (get, never):Int;
@:generic

View File

@@ -6,6 +6,11 @@ import lime.graphics.opengl.GLShader;
import lime.graphics.opengl.GL;
import lime.utils.Log;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GLUtils {

View File

@@ -3,6 +3,11 @@ package lime.utils;
import haxe.PosInfos;
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Log {

View File

@@ -11,6 +11,11 @@ import flash.utils.ByteArray;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Deflate {

View File

@@ -7,6 +7,11 @@ import haxe.io.Bytes;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class GZip {

View File

@@ -12,6 +12,11 @@ import flash.utils.ByteArray;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class LZMA {

View File

@@ -11,6 +11,11 @@ import flash.utils.ByteArray;
@:build(lime.system.CFFI.build())
#end
#if !lime_debug
@:fileXml('tags="haxe,release"')
@:noDebug
#end
class Zlib {