CMake is a cross-platform open-source meta-build system which can build,
test and package software.It can be used to support multiple native build environments
including make, Apple’s xcode and Microsoft Visual Studio.
The basic requirements for most examples are:
-
✓ CMake v3.12+
-
✓ A c++ compiler (defaults to gcc)
-
❏ make
Root project (galStarterTemplate)
-
3rd-party The third party library used by the project is placed here, which can be library source code or cmake files.
-
cmake The cmake configuration file used in the project is placed here.
-
my_awesome_application Project application.
-
my_cool_shared_part One of the libraries used by the project.
-
my_cool_static_part Another one of the libraries used by the project
-
CMakeLists.txt Top level CMakeLists file.
Inspired by ttroy50’s cmake-examples(MIT)