-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
85e8106
commit d04aa39
Showing
2 changed files
with
55 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
@echo off | ||
SETLOCAL EnableDelayedExpansion | ||
|
||
set "BATPATH=%~dp0" | ||
set "ECU_PATH=!BATPATH!" | ||
set "BESTNET_PATH=!BATPATH!..\..\..\Tools\BestNet\artifacts\bin\BestNet\release\BestNet.exe" | ||
|
||
IF NOT EXIST "!BESTNET_PATH!" ( | ||
echo !BESTNET_PATH! not existing | ||
EXIT /b 1 | ||
) | ||
|
||
echo: | ||
echo compiling base1.b1v | ||
!BESTNET_PATH! -i "!ECU_PATH!\base1.b1v" || EXIT /b 1 | ||
echo done | ||
|
||
echo: | ||
echo compiling base2.b1v | ||
!BESTNET_PATH! -i "!ECU_PATH!\base2.b1v" || EXIT /b 1 | ||
echo done | ||
|
||
echo: | ||
echo compiling cmd_test1.b1v | ||
!BESTNET_PATH! -i "!ECU_PATH!\cmd_test1.b1v" || EXIT /b 1 | ||
echo done | ||
|
||
echo: | ||
echo compiling cmd_test2.b2v | ||
!BESTNET_PATH! -i "!ECU_PATH!\cmd_test2.b2v" -l "!ECU_PATH!\test.lib" || EXIT /b 1 | ||
echo done | ||
|
||
echo: | ||
echo compiling cmd_ident.b1g | ||
!BESTNET_PATH! -i "!ECU_PATH!\cmd_ident.b1g" || EXIT /b 1 | ||
echo done | ||
|
||
echo: | ||
echo Files successfully compiled | ||
exit /b 0 |