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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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