Skip to content

Commit

Permalink
Update README.md with Google Testframework configuration
Browse files Browse the repository at this point in the history
Add a description in how to install the Google testframe manually
  • Loading branch information
franziska-wegner committed Dec 2, 2023
1 parent 9f6c1eb commit cc98568
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,18 @@ License|Linux & macOS Build
This is a Cmake project and can be run in any C++ IDE (Integrated Development Environment) that is on the market and supports CMake. You have to define a certain set of parameters dependent on your system and what you wish to run in general. The following will help you with the initial setup and links to the frameworks that can be linked in addition.

<h3>Required Preinstallations</h3>

Qt (for now)
clang or gcc

If the tests are enabled `"EGOA_TEST_FRAMEWORK": "OfflineGoogleTestFramework"` the `"EGOA_TEST_FRAMEWORK_LOCATION"`, e.g., `"EGOA_TEST_FRAMEWORK_LOCATION": "external/googletest"`, needs a valid path to the test framework. If you prefer to manualy set the path, the <a href="https://github.com/google/googletest/tree/main">google test framework</a> can be cloned from https://github.com/google/googletest/tree/main, which is the easiest way to have a up-to-date version of the repository. Using the above example configuration run:

```
> cd egoa
> cd external
> git clone https://github.com/google/googletest.git
```

<h3>CMake Parameter Overrides</h3>

The repository provides an intial set of parameters in the sublimetext project file that can be found under `egoa.sublime-project`.
Expand Down

0 comments on commit cc98568

Please sign in to comment.