[CMake] header files with visual studio

Oliver kfsone Smith osmith at playnet.com
Mon Nov 15 12:26:18 EST 2010


Eric Noulard said the following on 11/14/2010 4:00 AM:
> I do (may be did?) have mental dichotomy between the "build process"
I'm going to take blame there for doing a poor job of posing the 
original inquiry :)
> But may be I shall step back and just think differently about it and even if
> I need to explicitly use SCM for headers may be they shall just "disappear"
> from CMakeLists.txt?
> May be the public "exported" headers would still appear in the CMakeLists.txt
> but most of them can just go away.
I don't think there is a globally quantifiable way to distinguish 
exportable headers, so that is a distinct data point (the same way that 
for many projects "*/*.cpp" isn't an accurate description of the source 
dependencies for any given target :)

> Now re-reading the Michael post it seems that having some hook
> (or property)
> to get dependency list from a particular file (or target) should be
> the way to go.
Yep, I was thinking the same. I'll look at writing a feature request, as 
you suggest :)

- Oliver



More information about the CMake mailing list