[mtasc] feature request: conditional compiling

Ricci Adams ricci at musictheory.net
Thu Mar 10 07:51:30 CET 2005


What you really want is to pass your code through a preprocessor first 
and then into mtasc.

Now, having said this, I have never manually set up a preprocessor.  
Anybody here get m4 (http://www.gnu.org/software/m4/) or another macro 
processor to work with mtasc yet?

Ricci Adams

ricci at ricciadams.com
ricci at musictheory.net
AIM: RicciAdams
http://www.ricciadams.com/
http://www.musictheory.net/

On Mar 9, 2005, at 8:08 PM, rsaccon at fastmail.fm wrote:

> Hi all
>
> I started to mess around with AS2 and and because my project runs 
> inside different containers (embedded into an application and also 
> normal flashclips for the web) my sourcefiles for the different 
> targets look a bit different, you can compare the situation to 
> cross-compiling C/C++ for different OS. The perfect solution for me 
> would be to have #ifdef,  #else  and #endif statements in my code. The 
> condition variables  then could be passed to the compiler as 
> arguments, as in C/C++.
>
> regards
> rob
> --
> MTASC : no more coffee break while compiling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2430 bytes
Desc: not available
Url : http://lists.motion-twin.com/pipermail/mtasc/attachments/20050309/66707b86/smime-0006.bin


More information about the mtasc mailing list