浏览代码

Merge pull request #11753 from Listwon/Intellisense

Fix IntelliSense
Andreas Haas 8 年之前
父节点
当前提交
31c14432b8
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SConstruct

+ 1 - 0
SConstruct

@@ -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