Move libcds 1.6.0 from SVN
[libcds.git] / projects / Win / build-msbuild.cmd
diff --git a/projects/Win/build-msbuild.cmd b/projects/Win/build-msbuild.cmd
new file mode 100644 (file)
index 0000000..6e89a00
--- /dev/null
@@ -0,0 +1,14 @@
+:: Command line arguments:\r
+:: %1 - Visual C++ version: vc10 (2010), vc11 (2012), vc12 (2013)\r
+:: %2 - configuration to build (Release, Debug etc)\r
+:: %3,%4,...%9 - [optional] additional MSBuild options\r
+\r
+set vcXX=%1\r
+set cfg=%2 \r
+set MSBUILD=msbuild\r
+\r
+:make\r
+for %%A in (x64 Win32) do (\r
+  %MSBUILD% %vcXX%\cds.sln /t:Clean /p:Configuration=%cfg% /p:Platform=%%A %3 %4 %5 %6 %7 %8 %9\r
+  %MSBUILD% %vcXX%\cds.sln /t:Build /p:Configuration=%cfg% /p:Platform=%%A /fl /flp:LogFile=%vcXX%_%%A.log;Encoding=UTF-8;Verbosity=minimal /v:minimal /maxcpucount %3 %4 %5 %6 %7 %8 %9\r
+)\r