0

Many thanks for the replies to my previous question that got associated with this one What is a CMake generator?.

That is great as far as it goes but still leaves me not knowing what to do next.

As I understand it so far: Cmake is a utility that runs the compiler and linker. It knows nothing about the platform I am using so I need a Cmake generator to write platform-specific directives.

Except, I have already installed the GCC compiler and VS lets me select it - so what else is the generator going to do for me? I have no idea what linker is in use or how to specify it. Does that come into the equation? Also, as the Cmake generator is so important why do the VS Code install instructions not mention it and why isn't it an option in the VS Code Extensions menu?

Finally, and most importantly, which generator should I use, where can I download the executable? Is installing it in VS Code just a matter of editing the path to the executable into the "The Cmake generator to use" parameter of Cmake Tools exension?

I know I could probably just hack together something that works but I would really like to know exactly what is going on.

Thanks in advance for answers relevant to Windows 10 and not Linux.

Flixn
  • 21
  • 2

0 Answers0