Add CmakeLists.txt

This commit is contained in:
Andreas Fabri 2011-04-29 14:41:23 +00:00
parent acc73c1cdd
commit 7d5572e127
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
# Created by the script cgal_create_cmake_script
# This is the CMake script for compiling a CGAL application.
project( Surface_modeling_example )
cmake_minimum_required(VERSION 2.6.2)
find_package(CGAL QUIET COMPONENTS Core )
if ( CGAL_FOUND )
include( ${CGAL_USE_FILE} )
include( CGAL_CreateSingleSourceCGALProgram )
include_directories (BEFORE ../../include)
create_single_source_cgal_program( "hello.cpp" )
else()
message(STATUS "This program requires the CGAL library, and will not be compiled.")
endif()