Heart/CMakeLists.txt

30 lines
745 B
CMake
Raw Normal View History

2020-03-01 17:10:37 +03:00
#
# Copyright (C) 2018-2021 QuasarApp.
2020-03-01 17:10:37 +03:00
# 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()
2020-09-15 22:33:48 +03:00
if(NOT DEFINED HEART_BUILD_LVL)
2021-02-01 15:10:57 +03:00
set(HEART_BUILD_LVL 1)
2020-09-15 21:16:35 +03:00
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)