I have a C++ application that works and compile perfectly. I can execute and debug it via Visual Studio.
I would like to know how to compile to an .exe file. Actually under the debug dir there are only .obj file.
How to tell VS to compile it to a single .exe file ?
Thanks.
This is going from memory for the names, seeing as I’m on Fedora right now, but there’s a
Build Projectoption in one of the menus, I believe Tools. One of these will give you 2 checkboxes, one for debug, and one for release. Make sure theReleaseoption is selected, and clickBuild. This will compile a standalone (as in, not needing the project) release version in your project directory,projectName\bin\releasealongside yourdebugdirectory.