diff --git a/CASA-auth-token/client/build_config/win64/buildu.sh b/CASA-auth-token/client/build_config/win64/buildu.sh new file mode 100755 index 00000000..0406304c --- /dev/null +++ b/CASA-auth-token/client/build_config/win64/buildu.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +# setup for calling "builduser.cmd and buildkernel.cmd" via cygwin's rsh +# since ssh is having trouble. This is a hack, but we don't any other way +# to solve this at the moment. + +echo "=============================================" +echo " START - Build casa" +echo "=============================================" + +/usr/bin/rsh -n -d -l nds_cm localhost 'cd /d c:\cygwin\home\nds_cm\build_win\casa~1.7\CASA-auth-token\client\ && build_config\win64\builduser.cmd' + +echo "Status: $?" + +echo "=============================================" +echo " END - Build casa" +echo "=============================================" + diff --git a/CASA-auth-token/client/build_config/win64/builduser.cmd b/CASA-auth-token/client/build_config/win64/builduser.cmd new file mode 100755 index 00000000..bd01d186 --- /dev/null +++ b/CASA-auth-token/client/build_config/win64/builduser.cmd @@ -0,0 +1,19 @@ +@echo on +rem setup for calling nmake +rem setlocal + +set casa_root_dir=%cd% +rem Do a free (retail) build +setlocal +call "C:\Program Files (x86)\Microsoft Visual Studio 2005\VC\bin\amd64\vcvarsamd64.bat" + +rem VS 2005 crashed when building solution file, so right now building project level. +rem Also, it has the same problem with rebuild option, so I am cleaning binaries in my scripts. + +cd /d %casa_root_dir% +devenv authclient.sln /clean Release +devenv authclient.sln /build Release /project library\windows\client.vcproj +devenv authclient.sln /build Release /project package\windows\authtokenclient_msi\authtokenclient_msi.vdproj +devenv authclient.sln /build Release /project package\windows\authtokenclientdevel_msi\authtokenclientdevel_msi.vdproj + +endlocal