jamplus3 workspace - missing intellisense defines and includes

Added by John Brandwood over 2 years ago

Problem:

The global "C.Defines *" settings are not exported in the Visual Studio workspace's "NMake Preprocessor Definitions".
The MSSDK_STDHDRS are not exported in the Visual Studio workspace's "NMake Include Search Path".

This severely spoils intellisense for the project.

Solution:

Note: This fix won't work without applying the previous fix from the "jamplus3 workspace - missing compiler settings" message.

To fix the missing defines, in scripts/DumpJamTargetInfo.jam, line 128, change

#on $(C.ACTIVE_TOOLCHAIN_*) {
#defines += $(DEFINES) ;
#hdrs += $(HDRS) ;
#}

to

on $(C.ACTIVE_TOOLCHAIN_*) {
defines += $(DEFINES) ;
hdrs += $(HDRS) ;
}

To fix the missing includes, in scripts/DumpJamTargetInfo.jam, line 144, change

hdrs += $(SUBDIRHDRS) $(STDHDRS) ;

to

hdrs += $(SUBDIRHDRS) $(STDHDRS) $(C.STDHDRS:Z=$(C.COMPILER_SUITE_SYMBOL)) ;


Replies (1)

RE: jamplus3 workspace - missing intellisense defines and includes - Added by Joshua Jensen over 2 years ago

I think this is fixed now. Give it whirl, and report any outstanding issues.

(1-1/1)