https://github.com/hedzr/study-cmake
the demo project for cmake-hello posts
https://github.com/hedzr/study-cmake
cmake cmake-hello study-project
Last synced: 5 months ago
JSON representation
the demo project for cmake-hello posts
- Host: GitHub
- URL: https://github.com/hedzr/study-cmake
- Owner: hedzr
- License: mit
- Created: 2020-11-22T02:21:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-10T01:12:20.000Z (almost 2 years ago)
- Last Synced: 2025-01-15T01:08:08.785Z (over 1 year ago)
- Topics: cmake, cmake-hello, study-project
- Language: CMake
- Homepage: https://hedzr.github.io/tags/#cmake-hello
- Size: 419 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# study-cmake
## Build
```bash
# generate the building config
cmake -B build/
# build the whole project (with unittest too)
cmake --build build/
```
### for MinGW
```bash
cmake -G "MinGW Makefiles" -B build
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