MD quick feature : switch support in Autotools deployment project

Just to let you know that MonoDevelop’s Autotools deployment projects now allow you to add specific switch for the configure script.

Let’s say for instance that you want to enable at compile time a specific feature in your project. Now what you can do is add a switch to your deployment project which will be turned in something like --enable-super-feature on configure side (i.e. you will be able to run configure like ./configure --enable-super-feature).

This will actually define (as in #define) a symbol that you can use with #if … #endif constructs in your code to activate your specific feature.

Since we are at it, here is a little screenie :

md-switch-defines

I will add support asap for simple makefile projects. The UI is also probably a bit rough, if there are any usability expert out of there I will gladly accept any sensible criticism :-) .

Comments 1

  1. cjcollier wrote:

    super awesome

    Posted 26 juin 2009 at 15 h 27 min

Trackbacks & Pingbacks 1

  1. From Miguel de Icaza: Some Cool Mono Announcements | Full-Linux.com on 01 juil 2009 at 6 h 05 min

    [...] got some enhanced support for autoconf [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *