#
# CMakeLists.txt
#
# Copyright (C) 2009-12 by RStudio, Inc.
#
# This program is licensed to you under the terms of version 3 of the
# GNU Affero General Public License. This program is distributed WITHOUT
# ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
# AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
#
#

# set minimum version
cmake_minimum_required(VERSION 2.6)

# don't add gwt for special 64-bit binary builds on windows (since
# we've already got it from the 32-bit build), for development mode
# (since we'll want to build it incrementally using superdevmode),
# or when building monitor only
if ( (NOT RSTUDIO_SESSION_WIN64) AND
     (NOT RSTUDIO_DEVELOPMENT) AND
     (NOT RSTUDIO_CONFIG_MONITOR_ONLY) )
   add_subdirectory(gwt)
endif()

add_subdirectory(cpp)

if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeOverlay.txt")
   include(CMakeOverlay.txt)
endif()







   


