Compile a C / SDL program with Visual C++ 2013 from the Command Line -


how that? don't want use visual studio ide, yet want use provided compiler (cl.exe) , developer command prompt vs2013.

cl.exe /wall /tc main.c 

will generate proper main.exe.

and before that:

  • ensure c:\windows\system32 in path
  • execute vcvarsall.bat install directory of vc

if want use library (e.g., sdl) need list libraries /link option (library paths can added /libpath) , library include directories /i option.


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -