Skip to content

RaymondZuo301/cmake_example

Repository files navigation

Intro

C/C++ CI

This is an example of CMake & C++ project.

Dependence

  • gtest
  • cmake-3.10+
  • doxygen(sudo apt-get install doxygen)
  • graphviz(sudo apt-get install graphviz)

Build

mkdir build
cd build
cmake ..
make

Install

make install

CPack

cpack ./CPackConfig.cmake
dpkg -i XXXXX.deb

Test

cmake .. -DBUILD_TEST=1
make test

Doc

cmake .. -DBUILD_DOC=1
make doc

About

This is an example of CMake & C++ project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published