static string get_vcvarsbat(VCVersion v, Flavor f) { if (f == Flavor.wp80) { if (v == VCVersion.v110) { return("C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\WPSDK\\WP80\\vcvarsphoneall.bat"); } else { throw new NotImplementedException(); } } switch (v) { case VCVersion.v110: return("C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\vcvarsall.bat"); case VCVersion.v120: return("C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\VC\\vcvarsall.bat"); case VCVersion.v140: return("C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"); default: throw new NotImplementedException(); } }
static string get_crt_option(VCVersion v, Flavor f) { switch (f) { case Flavor.wp80: case Flavor.wp81: return("/MD"); case Flavor.appcontainer: return("/MD"); default: return("/MT"); } }
static string get_crt_option(VCVersion v, Flavor f) { switch (f) { case Flavor.wp80: case Flavor.wp81: return("/MD"); case Flavor.appcontainer: if (v == VCVersion.v120) { return("/MD"); } else { return("/MT"); } default: return("/MT"); } }
public trio(VCVersion av, Flavor af, Machine am) { v = av; f = af; m = am; }