|
|
@@ -724,6 +724,12 @@ void cmVisualStudio10TargetGenerator
|
|
|
ntv += toolset? toolset : "Default";
|
|
|
ntv += "</NdkToolchainVersion>\n";
|
|
|
this->WriteString(ntv.c_str(), 2);
|
|
|
+ if(const char* api = this->Target->GetProperty("ANDROID_API"))
|
|
|
+ {
|
|
|
+ this->WriteString("<AndroidTargetAPI>", 2);
|
|
|
+ (*this->BuildFileStream ) <<
|
|
|
+ "android-" << cmVS10EscapeXML(api) << "</AndroidTargetAPI>\n";
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void cmVisualStudio10TargetGenerator::WriteCustomCommands()
|