Use: SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ${BUILD_USE_SOLUTION_FOLDERS})
On Mon, Feb 21, 2011 at 11:20 AM, Robert Bielik <robert.bie...@xponaut.se> wrote: > David Cole skrev 2011-02-20 17:55: >> >> Those properties were first introduced in v2.8.3, that's why it didn't >> do anything for 2.8.2... >> > > Now next fun stuff. Since not everybody use VS2008 Pro (the express version > doesn't support solution folders :( ) I need to make this > an option: > > OPTION(BUILD_USE_SOLUTION_FOLDERS "Enable grouping of projects in VS" OFF) > > SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS BUILD_USE_SOLUTION_FOLDERS) > > But this doesn't work!! Whatever I set BUILD_USE_SOLUTION_FOLDERS to, ON or > OFF, no solution folders are generated, period!! WTF !? > > /Rob > > > > _______________________________________________ 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