CSDomainChecking.gms : Test object oriented C# API for domain checks

Description

Contributor: Lutz Westermann, April 2013


Small Model of Type : .Net


Category : GAMS API library


Main file : CSDomainChecking.gms

$TITLE 'Test object oriented C# API for domain checks' (CSDOMAINCHECK,SEQ=32)

$ontext
Contributor: Lutz Westermann, April 2013
$offtext


$set srcRoot %gams.sysdir%apifiles%system.dirsep%CSharp%system.dirsep%

$escape &
$if %system.filesys% == UNIX
$if %sysenv.MPATH% == %&sysenv.MPATH%& $abort.noerror Need Mono to run this on Unix

$                             set BUILD MSBuild.exe
$if %system.filesys% == UNIX $set BUILD $MPATH/xbuild
$                             set EXEC  =
$if %system.filesys% == UNIX $set EXEC '$MPATH/mono '

$                              set x64
$if %system.buildcode% == WEI $set x64 x64%system.dirsep%

$if %system.buildcode% == VS8
$if not set flags $set flags  -t:rebuild -p:Configuration=Release -p:Platform="x86"
$if %system.buildcode% == WEI
$if not set flags $set flags  -t:rebuild -p:Configuration=Release -p:Platform="x64"
$if %system.buildcode% == LEG
$if not set flags $set flags  /t:rebuild /p:Configuration=Release
$if %system.buildcode% == DEG
$if not set flags $set flags  /t:rebuild /p:Configuration=Release /p:DefineConstants="__APPLE__"


$call %BUILD% %flags% "%srcRoot%DomainChecking%system.dirsep%DomainChecking.csproj"
$if errorlevel 1 $abort 'Problem compiling DomainChecking'
$call %EXEC%"%srcRoot%DomainChecking%system.dirsep%bin%system.dirsep%%x64%Release%system.dirsep%DomainChecking.exe" "%gams.sysdir%."
$if errorlevel 1 $abort 'Problem executing DomainChecking'