[cfe-commits] [PATCH] More better win32 include path init
Douglas Gregor
dgregor at apple.com
Fri Nov 20 14:46:08 PST 2009
On Nov 17, 2009, at 1:21 PM, John Thompson wrote:
> It turns out that in Visual Studio 2008 (9.0), the Windows platform
> SDK is no longer embedded in the Visual Studio installation
> directory, but in a sister directory, also specified in the
> registry. This patch fixes that, and also does away with the hard-
> coded paths for Windows, and the funky choice between VC80 and
> vc90. Instead, it searches for the highest versioned registry keys,
> which hopefully will still work when the next versions of VS come out.
Looks good, thanks!
> For cross-compiling with respect to the removal of the hard-coded
> paths, if you mimic the mimic the VC??COMNTOOLS environment
> variables, you can still have some means to use a copy of the Visual
> Studio includes. Otherwise it will search /usr/local/include and /
> usr/include.
Okay.
- Doug
More information about the cfe-commits
mailing list