https://github.com/joshuasbrown/example_factory
Factory example with C++ CMake and boost
https://github.com/joshuasbrown/example_factory
Last synced: 3 months ago
JSON representation
Factory example with C++ CMake and boost
- Host: GitHub
- URL: https://github.com/joshuasbrown/example_factory
- Owner: JoshuaSBrown
- Created: 2024-06-07T14:02:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-07T15:26:13.000Z (about 1 year ago)
- Last Synced: 2025-01-24T17:26:46.164Z (5 months ago)
- Language: CMake
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Factory Class Example
To build cd into the repo then run
Configure step
```
cmake -S . -B build
```
Build step
```
cmake --build build
```To run tests
```
cmake --build build --target test
```You can also run the tests directly cd into the build folder
```
cd ./build/tests/unit
```Run the executable directly
```
./unit_test_dog_factory
```