View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000846CMakepublic2004-05-16 18:192004-05-17 15:33
ReporterMathieu Malaterre 
Assigned ToBill Hoffman 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000846: SET_SOURCE_FILES_PROPERTIES + GENERATED
DescriptionIt would be nice if SET_SOURCE_FILES_PROPERTIES would also affect other CMake command, for example:

SET_SOURCE_FILES_PROPERTIES(/tmp/foo.bar GENERATED)
FILE(READ /tmp/foo.bar FOO_BAR)

right now FILE is complaining that the file does not exist.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0001064)
Bill Hoffman (manager)
2004-05-17 15:33

I am not sure that FILE READ and GENERATED should be related to each other. If you ask to read a file and the file is not there, then you should get some feedback that the file is not there.

you could add a IF(EXISTS /tmp/foo.bar ) around the FILE(READ...) and it would fix the problem.

-Bill

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team