Browse Source

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
Bartłomiej T. Listwon 7 years ago
parent
commit
c871f50c55
1 changed files with 1 additions and 0 deletions
  1. 1 0
      SConstruct

+ 1 - 0
SConstruct

@@ -409,6 +409,7 @@ if selected_platform in platform_list:
 
     # Microsoft Visual Studio Project Generation
     if (env['vsproj']) == "yes":
+        env['CPPPATH'] = [Dir(path) for path in env['CPPPATH']]
         methods.generate_vs_project(env, env['vsproj_jobs'])
 
 else: