#
# 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.
#

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()


