forked from qt-creator/qt-creator
CMake build: Add feature info for building tests
Was wondering if my current build included tests or not... Change-Id: I17030455ffd89d6b482e8cc08da3cb3b2dcbbe35 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -22,6 +22,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
option(WITH_TESTS "Build Tests" OFF)
|
option(WITH_TESTS "Build Tests" OFF)
|
||||||
|
add_feature_info("Build tests" ${WITH_TESTS} "")
|
||||||
option(WITH_DEBUG_CMAKE "Enabled CMake project debugging functionality (e.g. source file disk checking)" OFF)
|
option(WITH_DEBUG_CMAKE "Enabled CMake project debugging functionality (e.g. source file disk checking)" OFF)
|
||||||
option(BUILD_WITH_PCH "Build with precompiled headers" ON)
|
option(BUILD_WITH_PCH "Build with precompiled headers" ON)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user