trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] cmake options

From: Serghei Amelian <serghei@...>
Date: Sat, 7 Jan 2012 20:38:40 +0200
On Saturday 07 January 2012 20:01:26 Timothy Pearson wrote:
[...]

> In TDE most modules have a -DBUILD_ALL flag that enables the "default"
> build options without having to manually specify all of the individual
> submodules to build.
>
> It might be a good idea to add a -DBUILD_AUTO flag that causes any failing
> checks to simply disable the associated functionality as Autotools does.
> If you want to see this please file an enhancement bug report.

I strongly disagree. In my opinion, this is a bad approach. Current 
implementation did exactly what you want, not what cmake build system think 
that is good for you (e.g. skipping/building modules based on existence/non 
existence of a dependency; these dependencies can be missing because a 
mistake).

> Thanks!
>
> Tim

-- 
Serghei