learning-cmake

learning cmake

Github stars Tracking Chart

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

Main metrics

Overview
Name With OwnerAkagi201/learning-cmake
Primary LanguageCMake
Program languageShell (Language Count: 4)
Platform
License:GNU General Public License v2.0
所有者活动
Created At2014-10-17 02:18:12
Pushed At2021-02-24 11:42:31
Last Commit At2018-03-27 11:04:41
Release Count0
用户参与
Stargazers Count3.2k
Watchers Count103
Fork Count787
Commits Count27
Has Issues Enabled
Issues Count10
Issue Open Count6
Pull Requests Count1
Pull Requests Open Count0
Pull Requests Close Count2
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private