One thing with cmake that would be good is a list of options.
All should be disabled by default, like samelian says, but there should be the option to enable all dependencies (not just -DBUILD_ALL) and a way to see what options are available.
Agreed?
No. When important features like HAL or SASL are disabled by default, various apps in the package are rendered useless. Any app needing authentication with SASL, for example, which includes the staple app of KMail, is no longer functional. Likewise with HAL.
I disagree with disabling everything. We as the upstream providers need to test everything. The downstream packagers decide what to disable for their distros or personal usage.
Darrell