[CMake] How to USE_FOLDERS correctly?

Oliver Buchtala oliver.buchtala at jku.at
Fri Mar 18 13:55:30 EDT 2011


Am 18.03.2011 18:51, schrieb David Cole:
> On Fri, Mar 18, 2011 at 1:15 PM, Oliver Buchtala <oliver.buchtala at jku.at> wrote:
>> Hello,
>>
>> I have problems using the project folder feature described in the
>> documentation for CMake 2.8.4
>> (http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_global:USE_FOLDERS)
>>
>> The very first command in my configuration is
>>    set(GLOBAL PROPERTY USE_FOLDERS ON)
> Typo... you mean:
> set_property(GLOBAL PROPERTY USE_FOLDERS ON)
>
> (You're setting a CMake variable named "GLOBAL" there, not a global property...)
>
>
> Cheers,
> David
>
Hi David,

that's it!

Thanks,
Oliver



More information about the CMake mailing list