QtBigInt/CMakeLists.txt

29 lines
633 B
CMake
Raw Normal View History

2020-03-29 14:22:44 +03:00
#
# 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.
#
2020-06-02 19:10:05 +03:00
cmake_minimum_required(VERSION 3.10)
project(QtBigint LANGUAGES CXX)
if(TARGET ${PROJECT_NAME})
message("The ${PROJECT_NAME} arledy included in main Project")
return()
endif()
2020-03-29 14:22:44 +03:00
include(CMake/ccache.cmake)
include(CMake/QuasarAppCITargets.cmake)
# Add sub directories
add_subdirectory(src)
2020-06-02 19:10:05 +03:00
find_library(QT Qt5Core)
if(EXISTS ${QT})
add_subdirectory(tests)
2020-06-02 19:10:05 +03:00
endif(EXISTS ${QT})
initAll()