[CMake] Solution folders

Robert Bielik robert.bielik at xponaut.se
Sat Feb 19 11:22:27 EST 2011


Hi all,

Running CMake 2.8.2 and generating build files for VS 9 (2008), I'm trying to "tidy up" the workspace by putting projects in solution folders.
So I do:

add_library(MyLib .....)

set_target_properties(MyLib
   PROPERTIES
   FOLDER "Libraries");

add_executable(MyExe .....)

set_target_properties(MyLib
   PROPERTIES
   FOLDER "Executables");

But nothing happens. All projects are still top level as usual. Ideas ?
TIA
/Rob


More information about the CMake mailing list