summaryrefslogtreecommitdiff
path: root/snappy.cc
diff options
context:
space:
mode:
authorcostan <costan@google.com>2017-07-28 09:55:21 -0700
committerVictor Costan <pwnall@chromium.org>2017-07-28 10:14:21 -0700
commitbe6dc3db83c4701e3e79694dcbfd1c3da03b91dd (patch)
tree788fe71ccbcd3b09312df73950798926d35b79bc /snappy.cc
parente4de6ce087aaf72dfce7d8d252c3a82f18419cae (diff)
downloadsnappy-be6dc3db83c4701e3e79694dcbfd1c3da03b91dd.tar.gz
snappy-be6dc3db83c4701e3e79694dcbfd1c3da03b91dd.tar.bz2
snappy-be6dc3db83c4701e3e79694dcbfd1c3da03b91dd.zip
Redo CMake configuration.
The style was changed to match the official manual [1], the install configuration was simplified and now matches the official packaging guide [2], and the config files use the CMake-specific variable syntax ${VAR} instead of the autoconf-compatible syntax @VAR@, as documented in [3]. The public header files are declared as such (for CMake 3.3+), and the generated headers are included in the library target definition. The tests are only built if SNAPPY_BUILD_TESTS (default ON) is true, so zippy can be easily used in projects that add_subdirectory() its source code directly, instead of using find_package(). [1] https://cmake.org/cmake/help/git-master/manual/cmake-language.7.html [2] https://cmake.org/cmake/help/git-master/manual/cmake-packages.7.html [3] https://cmake.org/cmake/help/git-master/command/configure_file.html
Diffstat (limited to 'snappy.cc')
0 files changed, 0 insertions, 0 deletions