Click here to Skip to main content
15,923,087 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wan to execute C++ code using cmake in Visual Studio Code With Windows Operating Syatem.

What I have tried:

I want to build C++ code in Visual Studio Code using Windows Operating System(not Linux).
Posted
Updated 18-Mar-23 22:20pm

Why specifically a makefile?
Generally speaking, most VS work is done using Solutions rather than the much older makefiles - but if you must ... Building in Visual Studio Code with a Makefile - Earthly Blog[^]
 
Share this answer
 
You need to study the documentation at https://cmake.org/[^].

However I find NMAKE Reference | Microsoft Learn[^] somewhat simpler for Visual Studio Code.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900