aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2019-01-17 07:55:19 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2019-01-17 08:43:31 +0100
commitdcdef2d460ae3fff2d36fabaf543dd243f6558be (patch)
tree20c8f1234c2bc3f95ad0b1dea48b0286dde3b8c2 /CMakeLists.txt
parentc5611635f057f118e686784ec865681baf1cb2e4 (diff)
[tests] add CMake option to build internal tests
Some tests are disabled by default as they require exporting additional symbols which are not part of the public API. The BUILD_INTERNAL_TESTS option makes it possible to enable these additional tests.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 786ffaec..a5ddf281 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,7 @@ set(CMAKE_AUTORCC ON)
include(GNUInstallDirs)
option(BUILD_TESTS "Build tests." ON)
+option(BUILD_INTERNAL_TESTS "Build internal tests." OFF)
option(BUILD_DOCUMENTATION "Build API documentation." OFF)
option(BUILD_EXAMPLES "Build examples." ON)