You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
170 B

  1. @echo off
  2. mkdir .\build
  3. pushd .\build
  4. pwd
  5. cl -FC -Zi ..\src\main.cpp user32.lib Gdi32.lib
  6. popd
  7. exit /b
  8. :error
  9. echo Failed with error #%errorlevel%.
  10. exit /b %errorlevel%