Skip to content

supapro/learning-cmake

This branch is up to date with Akagi201/learning-cmake:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a3b8b10 · Mar 27, 2018

History

27 Commits
Mar 27, 2018
Jun 12, 2016
Oct 18, 2014
Mar 16, 2017
Oct 18, 2014
Oct 17, 2014
Oct 17, 2014
Oct 17, 2014
Mar 16, 2017
Mar 17, 2017
Mar 17, 2017
Oct 17, 2014
Mar 27, 2018

Repository files navigation

learning-cmake

This is a simple CMake tutorial project which contains some different scenarios.

  • hello-world: Demo a simplest CMake project.
  • hello-world-clear: Separate the output files and src files.
  • hello-world-lib: Demo how to make a static/shared library.
  • hello-world-shared: Demo how to utilize external static/shared library.
  • curl: Demo how to use cmake with curl.
  • hello-module: Demo how to use cmake find module.
  • config-file: Demo how to work with config.h.
  • hunter-simple: Demo how to use hunter and gtest.
  • boost: Demo how to use boost library.

Build steps

  • cmake -H. -B_builds
  • cmake --build _builds

CMake based tools

  • hunter: CMake-driven cross-platform package manager for C++.
  • CLion: CMake based IDE.

Nice CMake Resources

Releases

No releases published

Packages

No packages published

Languages

  • CMake 83.2%
  • C++ 11.0%
  • C 5.4%
  • Shell 0.4%