Include a whole directory of *.lib with msvc compiler?

121 views Asked by At

I have typed out a fairly long commands to get my program to compile. This is it:

C:\Users\Sevbomb\Desktop\MSVC>Bin\cl.exe /I Includes\Winsdk helloworldgui.c Libs
\Uuid.lib Libs\libcmt.lib Libs\oldnames.lib Libs\Kernel32.Lib Libs\User32.Lib Li
bs\Gdi32.Lib Libs\WinMM.Lib

Instead of passing all those filenames to the linker, can I just tell it to look in a directory for any libraries it might need?

0

There are 0 answers