Skip to content

Commit

Permalink
Added extra installation method for CMake Users
Browse files Browse the repository at this point in the history
Added extra installation method for CMake Users this automatically installs and links all the dependencies
  • Loading branch information
TheKayneGame authored Aug 1, 2023
1 parent dffe273 commit 503b8f3
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,21 @@
* Write some tests...
* Compile and Run!
### Quick Start (CMake)
* Add to your CMakeLists.txt the following lines:
```
include(FetchContent)
FetchContent_Declare(
gunit
GIT_REPOSITORY https://github.com/cpp-testing/GUnit.git
GIT_TAG master
)
FETCHCONTENT_MAKEAVAILABLE(gunit)
```
* Write some tests...
* Compile and Run
---
> When using the installation method as described [here](#quick-start-cmake) you may fully skip this step.
* [gherkin](https://github.com/cucumber/cucumber/wiki/Gherkin) support using CMake
* `gherkin-cpp` using add_subdirectory
```sh
Expand Down

0 comments on commit 503b8f3

Please sign in to comment.