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.batinstall 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
Post a Comment