I have setup some Tasks in tasks.vs.json as mentioned in the documentation page for running standalone and miscellaneous C++ source files given here.
tasks.vs.json
How