diff --git a/.gitignore b/.gitignore index 3c7b53f..edfca36 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ build.win builddir .vs .vscode -docs/_site \ No newline at end of file +docs/_site +docs/.jekyll-cache diff --git a/docs/build.md b/docs/build.md index f703ad6..5250444 100644 --- a/docs/build.md +++ b/docs/build.md @@ -34,8 +34,12 @@ cmake .. make ``` # Running Tests -After building **cwalk** you can run tests to ensure everything is fine. In order to do that, make sure that you are in the build folder and then execute the test program: +In order to run tests, cwalk needs to be built with tests enabled. There is a ``ENABLE_TESTS`` flag for that. It can be passed to the cmake command like this: +``` +cmake .. -DENABLE_TESTS=1 +``` +After building **cwalk** you can run tests to ensure everything is fine. In order to do that, make sure that you are in the build folder and then execute the test program: ```bash ./cwalktest ```