View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009631CMakeCMakeSetuppublic2009-10-01 11:112010-12-13 16:07
ReporterBob Kerr 
Assigned ToAlex Neundorf 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0009631: Would like cmake-gui to include option for generating CDT4_GENERATE_SOURCE_PROJECT=TRUE
DescriptionCurrently, I can generate the CDT4 (eclipse) project for a source tree which is linked to my build tree using the following syntax:
cmake -DECLIPSE_CDT4_GENERATE_SOURCE_PROJECT=TRUE <srcdir>
It would be really handy to have that be an option in cmake-gui, so I don't have to run cmake first, before running cmake-gui.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0017868)
Bill Hoffman (manager)
2009-10-01 11:53

You can add a variable in cmake-gui, click on the add-entry button.

That said, Alex, should this be a default cache variable for this generator, or a default value?
(0017871)
Alex Neundorf (developer)
2009-10-01 13:23

I don't know.
The thing is, Eclipse has issues with out-of-source builds.
With this flag enabled you can force cmake to generate an additional Eclipse project file in the source directory.
Because generating something in the source dir is usually a really bad thing to do, this flag has such a long name.
I wouldn't object making this a default cache variable for this generator, with the default to OFF.

Alex
(0017872)
Alex Neundorf (developer)
2009-10-01 13:24

Miguel, what do you think ?

Alex
(0023934)
Alex Neundorf (developer)
2010-12-13 16:07

I just committed this change to next, it is now an ADVANCED cache variable, so you can simply switch it on using cmake-gui.

 Issue History
Date Modified Username Field Change
2009-10-01 11:11 Bob Kerr New Issue
2009-10-01 11:52 Bill Hoffman Status new => assigned
2009-10-01 11:52 Bill Hoffman Assigned To => Alex Neundorf
2009-10-01 11:53 Bill Hoffman Note Added: 0017868
2009-10-01 13:23 Alex Neundorf Note Added: 0017871
2009-10-01 13:24 Alex Neundorf Note Added: 0017872
2009-10-01 13:24 Alex Neundorf Assigned To Alex Neundorf => Miguel Figueroa
2010-12-12 14:33 Alex Neundorf Assigned To Miguel Figueroa => Alex Neundorf
2010-12-13 16:07 Alex Neundorf Note Added: 0023934
2010-12-13 16:07 Alex Neundorf Status assigned => closed
2010-12-13 16:07 Alex Neundorf Resolution open => fixed
2010-12-13 16:07 Alex Neundorf Fixed in Version => CMake 2.8.4
2010-12-13 16:07 Alex Neundorf Target Version => CMake 2.8.4


Copyright © 2000 - 2018 MantisBT Team