mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-26 10:31:39 +08:00
20 lines
732 B
CMake
20 lines
732 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 "............................................................................." )
|
|
|
|
enable_testing()
|
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Test REQUIRED)
|
|
|
|
message( STATUS ".. BUILDING UNIT TESTS FOR JKQTCommon:" )
|
|
add_subdirectory(jkqtcommmon)
|
|
|