https://github.com/prophetru/helloworld
Sample "Hello World" with gtest. Can be used as a template for future projects for education only.
https://github.com/prophetru/helloworld
cmake cpp gtest otus
Last synced: about 1 year ago
JSON representation
Sample "Hello World" with gtest. Can be used as a template for future projects for education only.
- Host: GitHub
- URL: https://github.com/prophetru/helloworld
- Owner: ProphetRu
- License: apache-2.0
- Created: 2023-12-28T08:39:10.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T10:31:00.000Z (over 2 years ago)
- Last Synced: 2025-02-17T22:34:54.940Z (over 1 year ago)
- Topics: cmake, cpp, gtest, otus
- Language: CMake
- Homepage:
- Size: 36.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hello Word
Sample "Hello World" with [googletest](https://github.com/google/googletest)
Can be used as a template for future projects for education only
## Project Supports
* project version
* cmake for build
* gtest to check the version number
* automatic version increase when pushing
* automatically run tests after build
* automatic build for Ubuntu
* automatic build for Windows
## Build local
```shell
cd HelloWorld
git clone https://github.com/google/googletest.git
mkdir build && cd build
cmake ..
# debug
cmake --build .
# release
cmake --build . --config Release
```