Added option to disable build of tests and samples.
authorStewart Miles <smiles@google.com>
Wed, 10 Sep 2014 23:01:13 +0000 (16:01 -0700)
committerStewart Miles <smiles@google.com>
Wed, 10 Sep 2014 23:01:13 +0000 (16:01 -0700)
commit3f85183c88852c9332089b6f1c192f51986fb7bd
treef63b004d77c55c6812d16157f740215a3ad95425
parent354aad4bc541c6a1346e8aac33fd3cdc9d951edb
Added option to disable build of tests and samples.

Added FLATBUFFERS_BUILD_TESTS option which can be used to disable
the build of flatbuffers tests and samples.

Tested:
Verified tests and samples are no longer built on Linux when
FLATBUFFERS_BUILD_TESTS=OFF.

Change-Id: Ic23ab827849ba2c4481de9ca86adc1ab8e6b828c
CMakeLists.txt