
On 10/25/06, Brian Smith
Configuration: flag(debug) Name: bar-debug Build-depends: foo-debug || foo
Configuration: !flag(debug) Name: bar Build-depends: foo
After sending this I realized I made a mistake. Try this: Flag: debug Default: False Flag: foo-debug-available Default: available(foo-debug) Configuration: flag(debug) && foo-debug-available Name: bar-debug Build-depends: foo-debug Cpp-Options: -DDEBUG Configuration: flag(debug) && !foo-debug-available Name: bar-debug Build-depends: foo Cpp-Options: -DDEBUG Configuration: !flag(debug) Name: bar Build-depends: foo Unfortunately, this way of requesting "using the debug version if available" does not scale. - Brian