Boost Interest :
Subject: Re: [Boost-cmake] [wtf] /build /all modularizes your code on windows?
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-05-25 10:09:48
Brad King wrote:
> troy d. straszheim wrote:
>> Juergen Hunold just mentioned on IRC that he'd used the commandline
>> interface on windows to make '/build /all', and his code got
>> 'modularized' (a word I'm beginning to hate) and significantly damaged.
> The problem is that "/all" builds all targets in the Visual Studio solution
> file. CMake's equivalent to the Makefile "all" target in VS is ALL_BUILD.
> It is a target that depends on the same targets that would be in the
> "all" target. Building the solution with "/all" bypasses this and builds
> everything, which ignores the EXCLUDE_FROM_ALL properties in CMake. There
> is no way CMake can prevent this, so just tell users not to do it.
Okay, thanks, good information. I think I'll turn off the automatic
generation of the modularize target on windows....