CSInterrupt.gms: 객체 지향 .Net API에서 GamsJob 인터럽트 메커니즘 테스트

설명

기고자: Lutz Westermann, 2016년 6월

소형 모델 유형 :.Net


카테고리 : 슬롯 사이트 추천 API 라이브러리


메인 파일 : CSInterrupt.gms

$title '객체 지향 .Net API에서 GamsJob 인터럽트 메커니즘 테스트' (CSINTERRUPT,SEQ=55)

$onText
기고자: Lutz Westermann, 2016년 6월
$offText

$set srcRoot %슬롯 사이트 추천sysdir%apifiles%system.dirsep%CSharp%system.dirsep%

$escape &
$if %system.filesys% == UNIX
$if %sysenv.MPATH% == %&sysenv.MPATH%& $abort.noError Unix에서 이를 실행하려면 Mono가 필요합니다.

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

$ 세트 x64
$if %system.platform% == WEX $set x64 x64%system.dirsep%

$if %system.platform% == WEX
$플래그가 설정되지 않은 경우 $set 플래그 -t:rebuild -p:Configuration=Release -p:Platform="x64"
$if %system.platform% == LAX
$플래그가 설정되지 않은 경우 $set 플래그 /t:rebuild /p:Configuration=Release
$if %system.platform% == LEX
$플래그가 설정되지 않은 경우 $set 플래그 /t:rebuild /p:Configuration=Release
$if %system.platform% == DEX
$플래그가 설정되지 않은 경우 $set 플래그 /t:rebuild /p:Configuration=Release /p:DefineConstants="__APPLE__"
$if %system.platform% == DAX
$플래그가 설정되지 않은 경우 $set 플래그 /t:rebuild /p:Configuration=Release /p:DefineConstants="__APPLE__"

$call %BUILD% %flags% "%srcRoot%Interrupt%system.dirsep%Interrupt.csproj"
$if errorlevel 1 $abort '인터럽트 컴파일 문제'
$call %EXEC%"%srcRoot%Interrupt%system.dirsep%bin%system.dirsep%%x64%Release%system.dirsep%Interrupt.exe" "%슬롯 사이트 추천sysdir%." "-비대화형"
$if errorlevel 1 $abort '인터럽트 실행 문제'