MantisBT - CMake
View Issue Details
0014204CMakeCMakepublic2013-06-05 08:152013-06-12 05:24
Stefan Groißmeier 
Alex Neundorf 
normalmajoralways
closedfixed 
LinuxDebianWheezy 64-bit
CMake 2.8.11 
 
0014204: Eclipse Generator creates corrupt project files
after opening the project file in the build directory, eclipse shows errormessages and stops to import the project.
a line like
ADD_LIBRARY(freetype STATIC "")
produces the error, while
ADD_LIBRARY(freetype STATIC )
seems to do the same thing without error
CMake 2.8.1 is generating a correct eclipse project file, while 2.8.7 and 2.8.11 and probably other versions are not.
No tags attached.
related to 0014205closed Alex Neundorf Eclipse Generator creates corrupt project files after file(GLOB GLOBAL_HDR ../include/*) 
Issue History
2013-06-05 08:15Stefan GroißmeierNew Issue
2013-06-05 08:17Stefan GroißmeierNote Added: 0033241
2013-06-05 08:18Stefan GroißmeierNote Edited: 0033241bug_revision_view_page.php?bugnote_id=33241#r1181
2013-06-05 08:20Stefan GroißmeierNote Added: 0033242
2013-06-05 17:33Alex NeundorfAssigned To => Alex Neundorf
2013-06-05 17:33Alex NeundorfStatusnew => assigned
2013-06-12 05:24Alex NeundorfNote Added: 0033276
2013-06-12 05:24Alex NeundorfStatusassigned => closed
2013-06-12 05:24Alex NeundorfResolutionopen => fixed
2013-06-12 05:24Alex NeundorfSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1187#r1187
2013-06-12 05:24Alex NeundorfRelationship addedrelated to 0014205

Notes
(0033241)
Stefan Groißmeier   
2013-06-05 08:17   
(edited on: 2013-06-05 08:18)
I think empty commands like this with empty strings should never be given to the generator instances.

(0033242)
Stefan Groißmeier   
2013-06-05 08:20   
the error in the project file is the entry that is found by searching freetype//freetype
(0033276)
Alex Neundorf   
2013-06-12 05:24   
Fixed and merged into next, should be in 2.8.12.
cmake now checks whether the file is actually a file or not. Here it resulted in an empty filename, which left only the parent directory.