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 cmake-examples reposiory includes some example CMake configurations which I have picked up when exploring it's usage for various projects. The examples are laid out in a tutorial like format. The first examples are very basic and slowly increase in complexity drawing on previous examples to show more complex use cases. These examples have been tested on Ubuntu 14.04 but should work under any Linux system that supports CMake. The basic requirements for most examples are CMake, and a c++ compiler [defaults to gcc). There are many CMake tutorials and examples online.

Features

  • This branch works with the CMake version 3.5 onwards
  • These examples have been tested on Ubuntu 16.04 but should work under any Linux system that supports CMake v3.5+
  • Docker containers with all requirements and various versions of CMake are generated to help make testing the examples easier
  • There are many CMake tutorials and examples online
  • Includes some info about using CppCheck with CMake
  • The examples are laid out in a tutorial like format

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow CMake Examples

CMake Examples Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CMake Examples!

Additional Project Details

Operating Systems

Linux

Programming Language

C++

Related Categories

C++ Library Management Software

Registered

2021-09-09