mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 10:05:47 +08:00
20 lines
746 B
CMake
20 lines
746 B
CMake
cmake_minimum_required(VERSION 3.23)
|
|
|
|
message( STATUS )
|
|
message( STATUS "............................................................................." )
|
|
message( STATUS ".. BUILDING UNIT TESTS" )
|
|
message( STATUS "............................................................................." )
|
|
if (JKQtPlotter_BUILD_WITH_PRECOMPILED_HEADERS)
|
|
message( STATUS ".. - Precompiled Header: ON" )
|
|
else()
|
|
message( STATUS ".. - Precompiled Header: OFF")
|
|
endif()
|
|
message( STATUS "............................................................................." )
|
|
include(CTest)
|
|
enable_testing()
|
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Test REQUIRED)
|
|
|
|
message( STATUS ".. BUILDING UNIT TESTS FOR JKQTCommon:" )
|
|
add_subdirectory(jkqtcommmon)
|
|
|