mirror of
https://github.com/reactos/CMake.git
synced 2024-12-21 11:09:08 +00:00
76ecdd8d16
Provide the ability to configure CTest with settings different from the ones available in the source tree by checking first if CTestConfig.cmake exists in the build tree. The motivation is to allow build system checking out external project to test and/or package them and submit the associated results to a different dashboard than the one specified (or not) in the source of the external project. For example, the build system of Slicer can checkout, build, test and package what I will call "extensions". These extensions can be developed by third parties who can test and submit to their own dashboard / project. When checked out by Slicer build system, the default dashboard can now be overwritten by adding a custom CTestConfig.cmake to the build directory. And if not overwritten, it would avoid to create CTestConfig.cmake within the source checkout of the extension.
4 lines
90 B
CMake
4 lines
90 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project(CTestTestConfigFileInBuildDir)
|
|
include(CTest)
|