2022-04-19 17:45:26 +00:00
|
|
|
cmake_minimum_required(VERSION 3.19)
|
|
|
|
|
|
|
|
project(StatusQ)
|
|
|
|
|
2022-07-21 12:55:54 +00:00
|
|
|
if (APPLE)
|
|
|
|
set(MACOS_VERSION_MIN_FLAGS -mmacosx-version-min=10.14)
|
|
|
|
set(CMAKE_OSX_ARCHITECTURES "x86_64")
|
|
|
|
endif()
|
|
|
|
|
2022-07-19 07:28:07 +00:00
|
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
|
|
|
|
set(CMAKE_CXX_STANDARD 17)
|
|
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
|
2022-07-19 10:29:18 +00:00
|
|
|
# https://doc.qt.io/qtcreator/creator-qml-modules-with-plugins.html#importing-qml-modules
|
|
|
|
set(QML_IMPORT_PATH
|
|
|
|
${CMAKE_SOURCE_DIR}/src;${QML_IMPORT_PATH}
|
|
|
|
CACHE STRING "")
|
|
|
|
|
|
|
|
add_subdirectory(vendor/SortFilterProxyModel)
|
2022-07-19 07:28:07 +00:00
|
|
|
add_subdirectory(sandbox)
|
2022-10-27 10:54:23 +00:00
|
|
|
add_subdirectory(sanity_checker)
|
2022-04-19 17:45:26 +00:00
|
|
|
add_subdirectory(tests)
|