From f9de30e551e887da0014a061b29f6fd03fb95246 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 27 Mar 2017 22:16:51 +0200 Subject: [PATCH] Enable testing on source root level so all tests are executed --- dbus-soundrecorder/CMakeLists.txt | 1 + geocoordinatecalculator/CMakeLists.txt | 1 + passwordmanager/CMakeLists.txt | 1 + repoindex/CMakeLists.txt | 1 + tageditor/CMakeLists.txt | 1 + videodownloader/CMakeLists.txt | 1 + 6 files changed, 6 insertions(+) diff --git a/dbus-soundrecorder/CMakeLists.txt b/dbus-soundrecorder/CMakeLists.txt index 0b7d1a7..392c8ac 100644 --- a/dbus-soundrecorder/CMakeLists.txt +++ b/dbus-soundrecorder/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) project("dbus-soundrecorder-subdirs") set(SUBDIRS_PREFIX "../..") +enable_testing() set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) include_directories(BEFORE SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRS_PREFIX}") diff --git a/geocoordinatecalculator/CMakeLists.txt b/geocoordinatecalculator/CMakeLists.txt index ddff61b..645e89e 100644 --- a/geocoordinatecalculator/CMakeLists.txt +++ b/geocoordinatecalculator/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) project("geocoordinatecalculator-subdirs") set(SUBDIRS_PREFIX "../..") +enable_testing() set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) include_directories(BEFORE SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRS_PREFIX}") diff --git a/passwordmanager/CMakeLists.txt b/passwordmanager/CMakeLists.txt index 9e8aea1..a2e379a 100644 --- a/passwordmanager/CMakeLists.txt +++ b/passwordmanager/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) project("passwordmanager-subdirs") set(SUBDIRS_PREFIX "../..") +enable_testing() set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) include_directories(BEFORE SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRS_PREFIX}") diff --git a/repoindex/CMakeLists.txt b/repoindex/CMakeLists.txt index f95065d..5be7f40 100644 --- a/repoindex/CMakeLists.txt +++ b/repoindex/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) project("repoindex-subdirs") set(SUBDIRS_PREFIX "../..") +enable_testing() set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) include_directories(BEFORE SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRS_PREFIX}") diff --git a/tageditor/CMakeLists.txt b/tageditor/CMakeLists.txt index e93c4b8..9f50c9e 100644 --- a/tageditor/CMakeLists.txt +++ b/tageditor/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) project("tageditor-subdirs") set(SUBDIRS_PREFIX "../..") +enable_testing() set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) include_directories(BEFORE SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRS_PREFIX}") diff --git a/videodownloader/CMakeLists.txt b/videodownloader/CMakeLists.txt index 39936de..61dfd9a 100644 --- a/videodownloader/CMakeLists.txt +++ b/videodownloader/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR) project("videodownloader-subdirs") set(SUBDIRS_PREFIX "../..") +enable_testing() set(CMAKE_INSTALL_RPATH_USE_LINK_PATH true) include_directories(BEFORE SYSTEM "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRS_PREFIX}")