Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98994

How to NOT create obj files when using cl.exe?

$
0
0

I am using cl.exe in Visual Studio Code. I run this command to compile my program:

cl /EHsc program1.cpp

It creates two files:

program1.obj
program1.exe

I do not have any use for the .obj file, so how to compile directly from .cpp file to .exe file?


Viewing all articles
Browse latest Browse all 98994

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>