CMake/CMakeLists.txt

30 lines
640 B
CMake
Raw Permalink Normal View History

2021-04-01 13:31:35 +03:00
#
2024-12-30 22:37:58 +01:00
# Copyright (C) 2021-2025 QuasarApp.
2022-01-16 14:11:49 +03:00
# Distributed under the GPLv3 software license, see the accompanying
2021-04-01 13:31:35 +03:00
# Everyone is permitted to copy and distribute verbatim copies
# of this license document, but changing it is not allowed.
#
if(DEFINED CMAKE_LIBRARY)
return()
else()
set(CMAKE_LIBRARY 1)
add_definitions(-DCMAKE_LIBRARY)
endif()
project(CMAKE)
if(TARGET ${PROJECT_NAME})
message("The ${PROJECT_NAME} arledy included in main Project")
return()
endif()
cmake_minimum_required(VERSION 3.12)
include(QuasarApp.cmake)
2021-04-01 13:31:35 +03:00
include(Version.cmake)
initAll()
2021-04-01 13:47:46 +03:00
addDoc(${PROJECT_NAME}Docs ${CMAKE_CURRENT_SOURCE_DIR}/doxygen.conf)