![]() ![]() We will create a CMakeLists.txt file (I will later explain what it is).Just to make sure we all know where we go here is how our journey will look like : Here, we are going to play another game and we will use CMake (and a CMakeLists.txt file) then call NMake from VS Code. How do we compile the code ? In another page I explained how to invoke the C++ compiler that comes with Visual Studio (cl). You don't have to but if you plan to edit some C++ code in VS Code I would recommend to install the "C/C++" extension for Visual Studio Code.VS Code (1.21.1) is also installed (otherwise this page makes no sense □ ).Basically it includes everything needed (compiler, linker etc.) except the Visual Studio IDE itself. If you really don't want to install Visual Studio Code 2017 (this is a mistake because the debugger is, by far, one of the best available) you could install the Visual Studio Build Tools (make sure to scroll down the page). I mean you are able to compile a C++ project with Visual Studio 2017. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |