View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009226CMakeCMakepublic2009-07-02 05:032009-12-11 08:33
ReporterBenjamin Schindler 
Assigned ToBill Hoffman 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009226: HEADER_FILE_ONLY does not work on all file types
DescriptionWe 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

Additional InformationThis has been tested with Visual Studio 2005. Will test soon on VS 2008 but I expect similar behaviour
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0016805)
Bill Hoffman (manager)
2009-07-02 09:07

What version of CMake? I am pretty sure this was fixed at some point.
(0016807)
Benjamin Schindler (reporter)
2009-07-02 09:08

2.6.4
(0018796)
Benjamin Schindler (reporter)
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 (manager)
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 (reporter)
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

 Issue History
Date Modified Username Field Change
2009-07-02 05:03 Benjamin Schindler New Issue
2009-07-02 09:06 Bill Hoffman Status new => assigned
2009-07-02 09:06 Bill Hoffman Assigned To => Bill Hoffman
2009-07-02 09:07 Bill Hoffman Note Added: 0016805
2009-07-02 09:08 Benjamin Schindler Note Added: 0016807
2009-12-10 11:42 Benjamin Schindler Note Added: 0018796
2009-12-10 11:44 Benjamin Schindler Note Edited: 0018796
2009-12-10 12:21 Bill Hoffman Note Added: 0018800
2009-12-11 07:47 Benjamin Schindler Note Added: 0018811
2009-12-11 08:33 Bill Hoffman Status assigned => closed
2009-12-11 08:33 Bill Hoffman Resolution open => no change required


Copyright © 2000 - 2018 MantisBT Team