]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
cmake: add option WITH_CORE_TOOLS to exclude tools except ldb and sst_dump (#6506)
authorsdong <siying.d@fb.com>
Wed, 18 Mar 2020 17:57:46 +0000 (10:57 -0700)
committersdong <siying.d@fb.com>
Wed, 15 Apr 2020 17:04:56 +0000 (10:04 -0700)
commit3482d4dc2a0ced5e3c11a939a94c719aaa10a4df
treec4f0363112748ff2eca9cad343f7ba6f9b3a5907
parentd75da26396e61d7182fd826095e434844b25806e
cmake: add option WITH_CORE_TOOLS to exclude tools except ldb and sst_dump (#6506)

Summary:
ldb and sst_dump are most important tools and they don't dependend on gflags. In cmake, we don't have an way to only build these two tools and exclude other tools. This is inconvenient if the environment has a problem with gflags. Add such an option WITH_CORE_TOOLS.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6506

Test Plan: cmake and build with WITH_TOOLS and without.

Differential Revision: D20473029

fbshipit-source-id: 3d730fd14bbae6eeeae7f9cc9aec50a4e488ad72
CMakeLists.txt
tools/CMakeLists.txt