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:
Bartłomiej T. Listwon 2017-10-01 17:08:21 +02:00
parent 6c15c23889
commit 936f63a2dd
1 changed files with 1 additions and 0 deletions

View File

@ -434,6 +434,7 @@ if selected_platform in platform_list:
# Microsoft Visual Studio Project Generation
if env['vsproj']:
env['CPPPATH'] = [Dir(path) for path in env['CPPPATH']]
methods.generate_vs_project(env, GetOption("num_jobs"))
# Check for the existence of headers