The details of this project are not important. We want to create an executable that when run creates a basic file in the current directory. We'll need to do some setup to get started. To start, we will walk through a simple example that creates an IMPORTED executable target and then references it from the addcustomcommand command. For example, CMake can generate solution (.sln) and project files (.vcxproj) that Visual Studio and Visual Studio Code use on Windows. CMake then takes that information and generates the files needed to build the system.
You specify what you want done, not how to do it.
As of version 0.5 my memory library now provides support for system-wide installation and CMake’s find_package().ĬMake is a powerful and robust build system.