DumpProjectInfo in DumpJamTargetInfo.jam; STDHDRS seems to be empty
I've noticed that when generating VS2012 projects from jamfiles, the Intellisense include directories are only being set to include paths I've specified, and not to any standard include paths. I've been printing things out from
DumpProjectInfo in DumpJamTargetInfo.jam and it looks like
STDHDRS is empty. The only thing adding to the list is
$(HDRS) inside the
on $(C.ACTIVE_TOOLCHAIN_*) block.
I've tried a bunch of things I thought might make it work but I just can't seem to get at the list of standard headers from that rule. Any ideas what I need to do?
RE: DumpProjectInfo in DumpJamTargetInfo.jam; STDHDRS seems to be empty - Added by John Brandwood over 2 years ago
This is an old post ... but since I just had to fix this myself, and thought that I'd post it for anyone else hitting this.
In DumpJamTargetInfo.jam, at line 143, just change
hdrs += $(SUBDIRHDRS) $(STDHDRS) ;
hdrs += $(SUBDIRHDRS) $(STDHDRS) $(C.STDHDRS:Z=$(C.COMPILER_SUITE_SYMBOL)) ;
I'm attaching my latest patch file that fixes this, and also fixes various workspace path outputs to remove nasty "//" separators from the paths.
fix-workspace.patch - Fix missing intellisense and nasty path outputs. (7.42 KB)