Skip to content

Instantly share code, notes, and snippets.

@gabonator
Created July 22, 2014 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabonator/8dae01e2306476d8f7a4 to your computer and use it in GitHub Desktop.
Save gabonator/8dae01e2306476d8f7a4 to your computer and use it in GitHub Desktop.
Microsoft Visual Studio - commandline build
@echo off
set VC=%VS80COMNTOOLS%\..\..\VC
call "%VC%\vcvarsall.bat"
set path=%VC%\bin\;%VC%\..\Common7\IDE\
set include=%VC%\include\;%VC%\PlatformSDK\Include\
set lib=%VC%\PlatformSDK\Lib\;%VC%\lib\
cl /EHsc flat.cpp
flat
del flat.obj flat.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment