[CMake] How to USE_FOLDERS correctly?
David Cole
david.cole at kitware.com
Fri Mar 18 13:51:26 EDT 2011
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
> later, I define target properties, as so
> set_property(TARGET myCore PROPERTY FOLDER "Core")
> I am using
> >cmake --version
> cmake version 2.8.4
> under Windows with generator 'Visual Studio 9 2008'. I am working with
> a VS Professional version (not Express).
>
> Everything is generated without errors or warnings, but the generated
> solution does not contain anything like solution folders.
> What could be my problem?
>
> Bye,
> Oliver
>
> _______________________________________________
> 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
>
More information about the CMake
mailing list