Compiler commands

cl main.cpp character.cpp math.cpp weapon.cpp /Bv /EHsc
link /OUT:game_engine.exe /time /verbose main.obj character.obj math.obj weapon.obj
link /OUT:game_engine.exe /time /verbose /nodefaultlib main.obj character.obj math.obj weapon.obj
link main.obj math.obj character.obj weapon.obj /OUT:game_engine.exe /time /verbose /nodefaultlib msvcrt.lib kernel32.lib user32.lib libcmt.lib libvcruntime.lib libucrt.lib libcpmt.lib
link main.obj math.obj character.obj weapon.obj /OUT:game_engine.exe /incremental /verbose:incr
link main.obj math.obj character.obj weapon.obj /OUT:game_engine.exe /incremental /verbose:incr /map
link main.obj math.obj character.obj weapon.obj /OUT:game_engine.exe /OPT:ref
link main.obj math.obj character.obj weapon.obj /OUT:game_engine.exe /OPT:noref
where undname
undname ?f1@Character@@QEAAXPEAVWeapon@@@Z
link main.obj math.obj character.obj weapon.obj /OUT:game_engine.exe /incremental /verbose:incr /map /debug

Last updated