swh:1:snp:78e145aa8174e576786284475a76cf6f187b3475
Tip revision: 609fe9e9a36371ed8b4d3242ab9766a0c804a503 authored by Laurent Rineau on 18 September 2015, 09:42:56 UTC
Adapt the script for the new demo in 4.7
Adapt the script for the new demo in 4.7
Tip revision: 609fe9e
CMakeLists.txt
# Top level CMakeLists.txt for CGAL-branchbuild
message( "== CMake setup ==" )
project(CGAL CXX C)
# Minimal version of CMake:
cmake_minimum_required(VERSION 2.8.11)
# option for branch build
option( CGAL_BRANCH_BUILD "Create CGAL from branch" ON)
mark_as_advanced( CGAL_BRANCH_BUILD )
include(${CMAKE_SOURCE_DIR}/Installation/cmake/modules/CGAL_SCM.cmake)
# add option for duplicate file detection
option( CGAL_REPORT_DUPLICATE_FILES "Switch on to start (naive) detection of duplicate source- and headerfiles in packages" OFF)
message( "== CMake setup (DONE) ==\n" )
# and finally start actual build
add_subdirectory( Installation )
# for releases, where dont_submit is honored
if(IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/Documentation")
option(BUILD_DOC "Build the doxygen documentation" OFF)
if (BUILD_DOC)
add_subdirectory( "${CMAKE_CURRENT_SOURCE_DIR}/Documentation" )
endif(BUILD_DOC)
endif()