4
0
mirror of https://github.com/QuasarApp/ViewSolutions.git synced 2025-05-08 07:29:44 +00:00
ViewSolutions/CMakeLists.txt
2021-03-22 12:00:41 +03:00

30 lines
697 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 VIEWSOLUTIONS_EXAMPLES )
set(VIEWSOLUTIONS_EXAMPLES ON)
endif()
if (VIEWSOLUTIONS_EXAMPLES )
message("DISABLE_EXAMPLES = ${DISABLE_EXAMPLES}")
add_subdirectory(Examples)
endif()