Sfoglia il codice sorgente

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 8 anni fa
parent
commit
936f63a2dd
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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