ViewSolutions/CMakeLists.txt
2021-01-31 19:58:49 +03:00

30 lines
685 B
CMake

#
# Copyright (C) 2018-2021 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.5)
project(ViewSolutionsMain)
if(TARGET ${PROJECT_NAME})
message("The ${PROJECT_NAME} arledy included in main Project")
return()
endif()
include(ViewSolutions/CMake/ccache.cmake)
add_subdirectory(ViewSolutions)
if ( NOT DEFINED DISABLE_EXAMPLES )
set(DISABLE_EXAMPLES OFF)
endif()
if ( NOT DISABLE_EXAMPLES )
message("DISABLE_EXAMPLES = ${DISABLE_EXAMPLES}")
add_subdirectory(Examples)
endif()