项目作者: hedzr

项目描述 :
the demo project for cmake-hello posts
高级语言: CMake
项目地址: git://github.com/hedzr/study-cmake.git
创建时间: 2020-11-22T02:21:47Z
项目社区:https://github.com/hedzr/study-cmake

开源协议:MIT License

下载


study-cmake

Build

  1. # generate the building config
  2. cmake -B build/
  3. # build the whole project (with unittest too)
  4. cmake --build build/

for MinGW

  1. cmake -G "MinGW Makefiles" -B build
  2. cmake --build build

With GitHub Action MinGW tester, the building error might be threw: ‘multiple definitions’ on std::string and so on.
But it can’t be reproduced on a local copy.

for MSVC

For a full building, zlib pkg need to be installed manually.

See also

In chinese: https://hedzr.github.io/tags/#cmake-hello

LICENSE

MIT