On Saturday, 10 August 2013 19:00:34 CEST, Pali Rohár wrote:
What about to have two options OFF and AUTO? And write status if feature will be compiled or not (depending on find_package)?

Kitware talks about something similar at [1]. I've tried to apply that and the result is available at [2]. It can even show a nice combobox in cmake-gui :). It's rather verbose, though -- a macro for wrapping this might be a good idea (until we introduce the dependant options...).

Suggestions welcome.

[1] http://www.kitware.com/blog/home/post/82
[2] http://repo.or.cz/w/trojita.git/patch/f2a2ef5350b9fdfded33b2b15c78acb6c3e67995

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/

Reply via email to