CMake instructions are missing steps
gh-andre opened this issue · 1 comments
gh-andre commented
README.md provides these build steps for CMake:
$ cmake --build .
$ ctest -V .
$ cmake --build . --target install
Running this on Windows from the project root just returns this error:
Error: could not load cache
You seem to be missing a step to generate project files, which would look like this:
cmake .
cmake --build .
ctest -V .
cmake --build . --target install
In most environments CMake instructions suggest creating a directory for generated files to keep build output confined in that directory. You may want to consider something like that:
mkdir build && cd build
cmake ..
cmake --build .
This, however, messes up tests and I didn't have time to look into why tests fail after this.