Re: [CMake] Excluding targets from a solution config in a Visual Studio build

2013-04-23 Thread Petr Kmoch
Hi Alessio. There is a target property EXCLUDE_FROM_DEFAULT_BUILD. If you set this on a target to true, the target will be removed from Build Solution. 2.8.11 should introduce a per-config variant of this property, EXCLUDE_FROM_DEFAULT_BUILD_CONFIG. Petr On Mon, Apr 22, 2013 at 7:15 PM,

[CMake] Excluding targets from a solution config in a Visual Studio build

2013-04-22 Thread Alessio
Hi there Is there a way to tell the Visual Studio generators that a target should not be included in “whole solution” builds? With the following sequence A will be excluded from all solution configurations, but B will be included. add_custom_target(A) add_custom_target(B COMMAND echo This is