[CMake] PREDEFINED_TARGETS_FOLDER and ALL_BUILD Target

aaron.meadows at thomsonreuters.com aaron.meadows at thomsonreuters.com
Fri Mar 4 12:25:25 EST 2011


> It is (forced by backwards compatibility requirements) by design.

> 

> Here is the source code where I wanted to assign it to the
CMakePredefinedTargetsFolder:

> 

> #if 0

>       // Can't activate this code because we want ALL_BUILD

>       // selected as the default "startup project" when first

>       // opened in Visual Studio... And if it's nested in a

>       // folder, then that doesn't happen.

>       //

>       // Organize in the "predefined targets" folder:

>       //

>       if (this->UseFolderProperty())

>         {

>         allBuild->SetProperty("FOLDER",
this->GetPredefinedTargetsFolder());

>         }

> #endif

> 

> 

> Sorry,

> David

 

Is there some reason that couldn't be a property as well?  Or possibly a
Policy?  I'm not sure I understand 1) why ALL_BUILD couldn't be the
default project from within a folder, and 2) why it needs to be the
default project (beyond backward compatibility.).



This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110304/3fc5f1d5/attachment-0001.htm>


More information about the CMake mailing list