Merge topic 'vs-android-api' into release-3.24

9d6a080421 VS: Add AndroidAPILevel element to generated project files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Kyle Edwards <kyle.edwards@kitware.com>
Merge-request: !7339
This commit is contained in:
Brad King
2022-06-09 13:22:54 +00:00
committed by Kitware Robot
@@ -1639,6 +1639,10 @@ void cmVisualStudio10TargetGenerator::WriteAndroidConfigurationValues(
e1.Element("UseOfStl", *stlType);
}
}
std::string const& apiLevel = gg->GetSystemVersion();
if (!apiLevel.empty()) {
e1.Element("AndroidAPILevel", cmStrCat("android-", apiLevel));
}
}
void cmVisualStudio10TargetGenerator::WriteCustomCommands(Elem& e0)