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
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
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
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
> 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
___
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo