diff options
author | Debian Multimedia Maintainers <debian-multimedia@lists.debian.org> | 2023-01-12 10:22:28 +0100 |
---|---|---|
committer | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> | 2023-01-12 10:22:28 +0100 |
commit | 6d69af7d9f71a15a7a2dfe12f15903c74aa8c0d4 (patch) | |
tree | c27da5e9b91164a3fd0b446e920a110867a04a7f | |
parent | 9e9e54167296b389ffa4077e4544223203c1fa81 (diff) |
Allow disabling the building of tests
Origin: Debian
Bug: https://github.com/Ableton/link/issues/128
Last-Update: 2023-01-10
E.g. when using the 'nocheck' profile
Last-Update: 2023-01-10
Gbp-Pq: Name nocheck.patch
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5924722..b2d55d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,8 @@ if(WIN32) option(LINK_BUILD_VLD "Build with VLD support (VLD must be installed separately)" OFF) endif() +option(LINK_BUILD_TESTS "Build unit test binaries" ON) + # ____ _ _ # | _ \ __ _| |_| |__ ___ # | |_) / _` | __| '_ \/ __| @@ -36,7 +38,9 @@ include(AbletonLinkConfig.cmake) include(extensions/abl_link/abl_link.cmake) add_subdirectory(include) +if(LINK_BUILD_TESTS) add_subdirectory(src) +endif() add_subdirectory(examples) add_subdirectory(extensions/abl_link) |