Re: [Vala] Conditionally compiling from FAQ



The FAQ says I should add '-D COND' to the valac command line but doing so
just tells me 'unknown option -D', has the syntax changed or am I reading
the example wrong?

I believe that valac no longer supports the -D option.
You can pass defines through to the C compiler with -X or -Xcc=, but I
don't know if/how this works with vala's conditional compilation.

-- 
http://homes.eff.org/~barlow/EconomyOfIdeas.html
http://www.dreamsongs.com/MobSoftware.html
http://www.gnu.org/philosophy/shouldbefree.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]