Added minimal support for new cpp parser when AndroidBuilder is active

git-svn-id: svn://ultimatepp.org/upp/trunk@8759 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2015-07-27 20:41:06 +00:00
parent 1421c87e8c
commit d112aac4bc
6 changed files with 131 additions and 3 deletions

View file

@ -832,7 +832,12 @@ String Ide::GetIncludePath()
}
MergeWith(include, ";", mingw_include[q]);
#endif
if(findarg(bm.Get("BUILDER"), "ANDROID") >= 0) {
AndroidNDK ndk(bm.Get("NDK_PATH"));
if(ndk.Validate())
MergeWith(include, ";", ndk.GetIncludeDir());
}
const Workspace& wspc = GetIdeWorkspace();
for(int i = 0; i < wspc.GetCount(); i++) {
const Package& pkg = wspc.GetPackage(i);