cmake: allow to disable building unit tests
authorSergiu Deitsch <sergiu.deitsch@th-nuernberg.de>
Wed, 19 Oct 2016 07:28:19 +0000 (09:28 +0200)
committerSergiu Deitsch <sergiu.deitsch@th-nuernberg.de>
Wed, 19 Oct 2016 07:32:21 +0000 (09:32 +0200)
commit60375e0bd400086d0399a5ff40788fea849e82ac
tree5a8fbf34417d0610ae0d461e1e592ac91be11dd7
parent7cff62028c20e52b1beb7f0ddb295621a0bdaeea
cmake: allow to disable building unit tests

This commit introduces a CMake `BUILD_TESTING` boolean option that
allows to disable unit tests. This is especially useful in superbuilds
where typically only the main library is built. By default, this option
is enabled.
CMakeLists.txt