diff options
author | Bartłomiej T. Listwon <blistwon@gmail.com> | 2017-10-01 17:08:21 +0200 |
---|---|---|
committer | Bartłomiej T. Listwon <blistwon@gmail.com> | 2017-10-01 17:08:21 +0200 |
commit | 936f63a2dd53253737babafd9260da0cb4b6720e (patch) | |
tree | d75997e95932dccfc425186f0fe4391624adcb23 | |
parent | 6c15c23889772ce4986765e801be3f216ed50a11 (diff) |
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
-rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 190ef93b9d..0fef48fa95 100644 --- a/SConstruct +++ b/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 |