Re: [CMake] Solution folders

2011-02-21 Thread Robert Bielik
David Cole skrev 2011-02-21 17:28: SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ${BUILD_USE_SOLUTION_FOLDERS}) ARGH! Of course. Thank you. /Rob ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensourc

Re: [CMake] Solution folders

2011-02-21 Thread Robert Bielik
Robert Bielik skrev 2011-02-21 17:20: 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_FOL

Re: [CMake] Solution folders

2011-02-21 Thread David Cole
Use: SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ${BUILD_USE_SOLUTION_FOLDERS}) On Mon, Feb 21, 2011 at 11:20 AM, Robert Bielik 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 st

Re: [CMake] Solution folders

2011-02-21 Thread Robert Bielik
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

Re: [CMake] Solution folders

2011-02-20 Thread Rolf Eike Beer
> Does set_target_properties( ... FOLDER ... ) make source_group > unnecessary? Or are they intended for different uses? (I don't have a > Visual Studio at hand to test) source_group ist for grouping files inside a project, FOLDER groups projects inside the solution. Eike ___

Re: [CMake] Solution folders

2011-02-20 Thread Pau Garcia i Quiles
On Sun, Feb 20, 2011 at 5:55 PM, David Cole wrote: >>> Doesn't seem to work. Where is this documented ? Seems very hinky to have >>> a FOLDER target property, and then >>> have it globally disabled ? > > Those properties were first introduced in v2.8.3, that's why it didn't > do anything for 2.8.2

Re: [CMake] Solution folders

2011-02-20 Thread Robert Bielik
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... :-) hehe... yeah, well... humpte dumpte dum... ;) /Rob ___ Powered by www.kitware.com Visit other Kitware open-sour

Re: [CMake] Solution folders

2011-02-20 Thread David Cole
On Sun, Feb 20, 2011 at 5:08 AM, Robert Bielik wrote: > Robert Bielik skrev 2011-02-20 10:54: >> >> John Drescher skrev 2011-02-19 17:33: >>> >>> #Use solution folders. >>> set_property(GLOBAL PROPERTY USE_FOLDERS ON) >> >> Doesn't seem to work. Where is this documented ? Seems very hinky to have

Re: [CMake] Solution folders

2011-02-20 Thread Robert Bielik
Robert Bielik skrev 2011-02-20 10:54: John Drescher skrev 2011-02-19 17:33: #Use solution folders. set_property(GLOBAL PROPERTY USE_FOLDERS ON) Doesn't seem to work. Where is this documented ? Seems very hinky to have a FOLDER target property, and then have it globally disabled ? My bad. Up

Re: [CMake] Solution folders

2011-02-20 Thread Robert Bielik
John Drescher skrev 2011-02-19 17:33: #Use solution folders. set_property(GLOBAL PROPERTY USE_FOLDERS ON) Doesn't seem to work. Where is this documented ? Seems very hinky to have a FOLDER target property, and then have it globally disabled ? /Rob

Re: [CMake] Solution folders

2011-02-19 Thread John Drescher
On Sat, Feb 19, 2011 at 11:22 AM, Robert Bielik wrote: > 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 >  PROPERTIE

[CMake] Solution folders

2011-02-19 Thread Robert Bielik
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_prop

Re: [CMake] Solution Folders

2006-09-22 Thread Brad King
Jacob Foshee wrote: Visual Studio has "Solution Folders" for grouping projects. Does CMake support this yet? I suppose the appropriate command would be PROJECT_GROUP. No, but it would be a great feature. Please submit a request here: http://www.cmake.org/Bug and send me the bug number. Th

[CMake] Solution Folders

2006-09-22 Thread Jacob Foshee
Visual Studio has "Solution Folders" for grouping projects.  Does CMake support this yet?  I suppose the appropriate command would be PROJECT_GROUP.-Jacob ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake