mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-04-27 10:14:36 +00:00
31 lines
793 B
CMake
31 lines
793 B
CMake
#
|
|
# Copyright (C) 2018-2020 QuasarApp.
|
|
# Distributed under the lgplv3 software license, see the accompanying
|
|
# Everyone is permitted to copy and distribute verbatim copies
|
|
# of this license document, but changing it is not allowed.
|
|
#
|
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
project(Heart)
|
|
if(TARGET ${PROJECT_NAME})
|
|
message("The ${PROJECT_NAME} arledy included in main Project")
|
|
return()
|
|
endif()
|
|
|
|
find_package(Qt5 COMPONENTS Core Test REQUIRED)
|
|
if(NOT DEFINED HEART_BUILD_LVL)
|
|
set(HEART_BUILD_LVL 1)
|
|
endif()
|
|
|
|
include(QuasarAppLib/CMake/ccache.cmake)
|
|
|
|
# Add sub directories
|
|
add_subdirectory(QuasarAppLib)
|
|
add_subdirectory(Heart)
|
|
add_subdirectory(HeartTests)
|
|
|
|
include(QuasarAppLib/CMake/QuasarAppCITargets.cmake)
|
|
initAll()
|
|
|
|
addDoc(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf)
|