Fix IntelliSense
Fix the CPPPATH passed to MSVSProject. Uses SCons Dir() function to convert "#" paths http://www.scons.org/doc/0.97/HTML/scons-user/a3414.html#CV-CPPPATH
This commit is contained in:
parent
6c15c23889
commit
936f63a2dd
|
@ -434,6 +434,7 @@ if selected_platform in platform_list:
|
||||||
|
|
||||||
# Microsoft Visual Studio Project Generation
|
# Microsoft Visual Studio Project Generation
|
||||||
if env['vsproj']:
|
if env['vsproj']:
|
||||||
|
env['CPPPATH'] = [Dir(path) for path in env['CPPPATH']]
|
||||||
methods.generate_vs_project(env, GetOption("num_jobs"))
|
methods.generate_vs_project(env, GetOption("num_jobs"))
|
||||||
|
|
||||||
# Check for the existence of headers
|
# Check for the existence of headers
|
||||||
|
|
Loading…
Reference in New Issue