3-min. Quickie: Compiling C++ Projects using only the Windows SDK and the Command Prompt
- Posted: Jan 21, 2011 at 1:09 PM
- 40,713 Views
- 8 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Right click “Save as…”
I have received a couple questions about "How do you build C++ projects in Windows without installing Visual Studio?". This video demonstrates the process but to explain it in a couple short steps:
*Make sure that you check to enable the Windows Native Code Development section on the installer.
** Although it is not a best practice, I elevated my priviledges for the command prompt when I did the demo because I wanted to show that projects build right out of the SDK. Had I copied the folder to my desktop, I would not have needed to run the Windows SDK command prompt priviledged.
This task is really useful if you want to perform automated builds on your own machine or you need to perform builds on a machine that doesn't need Visual Studio, such as a build server. However, this is not really a substitution for having Visual Studio for development.