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 Makefile
"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....

-t

_______________________________________________
Boost-cmake mailing list
Boost-cmake@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-cmake

Reply via email to