I was able to get the FOLDER working with the following form:

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set_property(TARGET "target" PROPERTY FOLDER "value")

The following construct does not work (in either Visual Studio or Xcode):

set_target_properties(target PROPERTY FOLDER "value")

In Xcode 4, the FOLDER property arranges the list of project folders in the
project browser.   Is there a mechanism for grouping the target names in the
IDE pull down list of build targets?


On Sat, Oct 1, 2011 at 11:57 AM, David Cole <david.c...@kitware.com> wrote:

> On Tue, Sep 27, 2011 at 1:15 PM, Steven Wilson <
> steven.wesley.wil...@gmail.com> wrote:
>
>> Using the Xcode generator, the FOLDER property of targets appears to do
>> nothing.   Is this behavior simply a function a Xcode not supporting
>> groupings of targets or will support be added in 2.8.6?
>
>
> I will have to investigate this... It should work.
>
> This commit, which is included in the CMake 2.8.5 release that is out there
> right now, added the FOLDER support for Xcode:
>
>
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=eeeeca1082a8be5890a6d2096b505ebe584fc2b7
>
> Perhaps more code is needed...
>
> What version of CMake and Xcode are you using?
>
>
> Thx,
> David C.
>
>
--
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to