I want to launch poasm into a bat file.
Does poasm initialize an ERRORLEVEL?
Which values?
And PoLink?
Example :
"C:\Program Files\PellesC\Bin\poasm.exe" -AAMD64 -Gr -V2 "C:\Users\Grincheux\Documents\Assembleur\E\Test.asm"
IF ERRORLEVEL 1 GOTO Errors
@Echo Assembling phase ended
"C:\Program Files\PellesC\Bin\polink.exe" -subsystem:windows -machine:x64 -release -largeaddressaware -osversion:6.10 -out:"C:\Users\Grincheux\Documents\Assembleur\E\Test.exe" "C:\Users\Grincheux\Documents\Assembleur\E\Test.obj"
ERRORLEVEL 1 GOTO Errors
@Echo Linking phase ended
@Echo Build Ended
@Exit
:Errors
@Echo PoAsm found errors in this files during compilation
@EXIT