README improvement

This commit is contained in:
Robin Müller 2021-10-11 15:56:04 +02:00
parent 6c75b56054
commit ad744fb593
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -91,9 +91,11 @@ You can use the following commands inside the `fsfw` folder to set up the build
```sh ```sh
mkdir build-Unittest && cd build-Unittest mkdir build-Unittest && cd build-Unittest
cmake -DFSFW_BUILD_UNITTESTS=ON .. cmake -DFSFW_BUILD_UNITTESTS=ON -DFSFW_OSAL=host ..
``` ```
You can also use `-DFSFW_OSAL=linux` on Linux systems.
Coverage data in HTML format can be generated using the `CodeCoverage` Coverage data in HTML format can be generated using the `CodeCoverage`
[CMake module](https://github.com/bilke/cmake-modules/tree/master). [CMake module](https://github.com/bilke/cmake-modules/tree/master).
To build the unittests, run them and then generare the coverage data in this format, To build the unittests, run them and then generare the coverage data in this format,