Re: Adding default tool
Adriaan de Groot <adridg-FlD2LfDziEhmR6Xm/[email protected]>
| Newsgroups | gmane.comp.tools.aap.devel |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 3 Sep 2003, Bram Moolenaar wrote: > I have wondered if this variable would have to be called > "C_COMPILE_ACTION". But the same variable is used for C++, since it is > usuallly the same compiler. Hmm, perhaps we should use > CXX_COMPILE_ACTION for that, since the tool can set both variables. It probably _should_ set C_ and CXX_COMPILE_ACTION. > Changing this would be incompatible with Aap version 1.0, and I promised > not to make incompatible changes. Opinions? Couldn't you change COMPILE_ACTION to COMPILE_ACTION $= $C_COMPILE_ACTION to preserve compatibility? People that assign to COMPILE_ACTION won't notice the difference, and it shows how to easily change the default compile action from one language to another. -- Adriaan de Groot adridg-FlD2LfDziEhmR6Xm/[email protected] Kamer A6020 024-3652272 GPG Key Fingerprint 934E 31AA 80A7 723F 54F9 50ED 76AC EE01 FEA2 A3FE http://www.cs.kun.nl/~adridg/research/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf