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 - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -