MantisBT - CMake
View Issue Details
0009226CMakeCMakepublic2009-07-02 05:032009-12-11 08:33
Benjamin Schindler 
Bill Hoffman 
normalmajoralways
closedno change required 
CMake-2-6 
 
0009226: HEADER_FILE_ONLY does not work on all file types
We have a project which includes a number of *.xsd files. We tried to set the HEADER_FILE_ONLY flag on them and including them in the sources, but the Visual Studio project kept running the microsoft internal xsd tool on the files which caused the build to fail

This has been tested with Visual Studio 2005. Will test soon on VS 2008 but I expect similar behaviour
No tags attached.
Issue History
2009-07-02 05:03Benjamin SchindlerNew Issue
2009-07-02 09:06Bill HoffmanStatusnew => assigned
2009-07-02 09:06Bill HoffmanAssigned To => Bill Hoffman
2009-07-02 09:07Bill HoffmanNote Added: 0016805
2009-07-02 09:08Benjamin SchindlerNote Added: 0016807
2009-12-10 11:42Benjamin SchindlerNote Added: 0018796
2009-12-10 11:44Benjamin SchindlerNote Edited: 0018796
2009-12-10 12:21Bill HoffmanNote Added: 0018800
2009-12-11 07:47Benjamin SchindlerNote Added: 0018811
2009-12-11 08:33Bill HoffmanStatusassigned => closed
2009-12-11 08:33Bill HoffmanResolutionopen => no change required

Notes
(0016805)
Bill Hoffman   
2009-07-02 09:07   
What version of CMake? I am pretty sure this was fixed at some point.
(0016807)
Benjamin Schindler   
2009-07-02 09:08   
2.6.4
(0018796)
Benjamin Schindler   
2009-12-10 11:42   
(edited on: 2009-12-10 11:44)
ping - same problem with Visual Studio 2008

Edit: have not tested 2.8 yet, but we cannot do so easily

(0018800)
Bill Hoffman   
2009-12-10 12:21   
Have to try 2.8... :) 2.6 is done, so nothing is going to be fixed on 2.6 in the future. Also, please provide a small example that is easy to run. Preferably a cmake test style example.
(0018811)
Benjamin Schindler   
2009-12-11 07:47   
Okay, I did the mistake here. It was due to improper usage of the HEADER_FILE_ONLY flag. I didn't set a value, so it turned to false
(which is kinda bad imho... - this should have thrown an error)

You can close this