is there any way to create a new visual studio project without using IDE, Instead use command prompt??
I am working on a project which will generate small C++ program, so i want to create a new project, add that C++ file to that project, compile and run it, all using command prompt (batch file) only..
so could anyone please let me know how to do this.. Thanks in advance..
Let CMake make your project files for you. It uses a much more legible syntax, and you can also generate project files for a variety of other build systems.
As an example, here’s a very basic CMake file:
And here’s the solution file it generates.
The Project file is similarly ugly and 294 lines long.
Adding dependencies is pretty simple too, here’s how you add boost: