Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- set files=..\src\client\client.cpp
- pushd build
- cl %variable% !defines! %other% !files! !warnings! /I "..\src\client" -LD -Fe:game_client.dll /DIS_CLIENT /link !linker! %libs% /PDB:"game_client_%crazy_date_thing%.pdb" > compiler_output.txt
- popd
- if NOT !ErrorLevel! == 0 (
- start /MIN "" cmdmp3 build_fail.mp3
- goto fail
- )
- type build\compiler_output.txt
- goto success
- :fail
- type build\compiler_output.txt
- echo COMPILATION FAILED
- goto end
- :success
- echo COMPILATION SUCCEDED
- call stamp_timer.exe "end"
- start /MIN "" cmdmp3 build_success.mp3
- goto end
- :end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement