4
1
mirror of https://github.com/QuasarApp/Heart.git synced 2025-05-06 06:29:43 +00:00
Heart/CMakeLists.txt

31 lines
781 B
CMake
Raw Normal View History

2020-03-01 17:10:37 +03:00
#
# Copyright (C) 2018-2019 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.
#
2020-09-15 21:16:35 +03:00
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 BUILD_LVL)
set(BUILD_LVL 2)
endif()
2020-03-01 17:10:37 +03:00
2020-04-04 19:51:17 +03:00
include(QuasarAppLib/CMake/ccache.cmake)
2020-03-01 17:10:37 +03:00
# Add sub directories
add_subdirectory(QuasarAppLib)
2020-09-15 21:16:35 +03:00
add_subdirectory(Heart)
add_subdirectory(HeartTests)
2020-04-04 19:51:17 +03:00
2020-09-15 21:16:35 +03:00
include(QuasarAppLib/CMake/QuasarAppCITargets.cmake)
initAll()
2020-03-01 17:10:37 +03:00
2020-09-15 21:16:35 +03:00
addDoc(${PROJECT_NAME} ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf)