diff options
| author | Mateusz Loskot <mateusz@loskot.net> | 2018-06-07 17:45:42 +0200 |
|---|---|---|
| committer | Mateusz Loskot <mateusz@loskot.net> | 2018-06-07 21:21:49 +0200 |
| commit | e9b399fc91e72b3cf81337e6b4dca8bc60fafaf8 (patch) | |
| tree | e7f0d74243cb6bd0ef5510c6ecb4527535490a97 /scripts/cppcheck.sh | |
| parent | c1a70986674e8129a2a0d1779896386c1fea6a80 (diff) | |
| download | PROJ-e9b399fc91e72b3cf81337e6b4dca8bc60fafaf8.tar.gz PROJ-e9b399fc91e72b3cf81337e6b4dca8bc60fafaf8.zip | |
Add CMake configuration for test/googletest and test/unit
For CMake builds, latest googletest 1.8.0 is downloaded.
Following officially recommended integration for CMake-enabled projects
https://github.com/google/googletest/blob/master/googletest/README.md
"Use CMake to download GoogleTest as part of the build's configure step.
This is just a little more complex, but doesn't have the limitations
of the other methods."
Since, our copy of test/googletest
- is a very minimalist copy of googletest
- does not include any official CMake scripts
- would require copying parts of googletest CMakeLists.txt, compilater/linker flags (e.g. -lpthreads)
for reliable multi-platform builds, it is reasoanable to rely on download
All pros and cons advantages are discussed in teh README.md linked above.
Closes #1033
Diffstat (limited to 'scripts/cppcheck.sh')
0 files changed, 0 insertions, 0 deletions
