View unanswered posts | View active topics

Reply to topic  [ 2 posts ] 
Debug vs Release compiler options - how to? 
Author Message

Joined: Tue Sep 13, 2011 5:30 pm
Posts: 5
Reply with quote
How can I configure my as3 air project to have different compiler options in the debug and release mode? For example, enable "inline functions" in release mode only.

Mon Apr 11, 2016 7:36 pm

Joined: Sat Oct 10, 2015 4:25 am
Posts: 34
Location: New Zealand
Reply with quote
In Project Properties > Compiler Options, there is a property called Additional Compiler Options.

Add a line:
RELEASE: -inline=true

The conditional keywords are "RELEASE:" and "DEBUG:". You can use this to any other compiler arguments.

Sun Jun 05, 2016 7:20 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.