Incbin when debug is off only

BlitzMax Forums/BlitzMax Programming/Incbin when debug is off only

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Right now I am doing this:

'Import "incbins.bmx" 'uncomment when debug is off

Global IncString:String="incbin::"
?debug
incstring=""
?



Notice that I have to uncomment the incbins when switching to release mode. Is this the best way to do it? What do people normally do to IncBin only when debug is off?

Its not a big deal since I rarely want to incbin, it just seemed odd what I am doing.