parent
6277e70ac8
commit
f290ec014f
|
|
@ -46,18 +46,21 @@ default Configuration='Release'
|
||||||
var nativeProjects ='${Files.Include(Path.Combine(BASE_DIR, "src", "**", "*.vcxproj"))}'
|
var nativeProjects ='${Files.Include(Path.Combine(BASE_DIR, "src", "**", "*.vcxproj"))}'
|
||||||
|
|
||||||
@{
|
@{
|
||||||
if(!File.Exists(msbuild))
|
if (nativeProjects.Any())
|
||||||
{
|
{
|
||||||
Log.Warn("msbuild version 12 not found. Please ensure you have the VS 2013 C++ SDK installed.");
|
if (!File.Exists(msbuild))
|
||||||
Environment.Exit(1);
|
{
|
||||||
}
|
Log.Warn("msbuild version 12 not found. Please ensure you have the VS 2013 C++ SDK installed.");
|
||||||
else
|
Environment.Exit(1);
|
||||||
{
|
}
|
||||||
foreach (var project in nativeProjects)
|
else
|
||||||
{
|
{
|
||||||
Exec(msbuild, project + " /p:Configuration=" + Configuration + ";Platform=Win32");
|
foreach (var project in nativeProjects)
|
||||||
Exec(msbuild, project + " /p:Configuration=" + Configuration + ";Platform=x64");
|
{
|
||||||
}
|
Exec(msbuild, project + " /p:Configuration=" + Configuration + ";Platform=Win32");
|
||||||
|
Exec(msbuild, project + " /p:Configuration=" + Configuration + ";Platform=x64");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue