1 cmake_minimum_required (VERSION 2.6)
5 set (Tutorial_VERSION_MAJOR 1)
6 set (Tutorial_VERSION_MINOR 0)
8 # configure a header file to pass some of the CMake settings
11 "${PROJECT_SOURCE_DIR}/TutorialConfig.h.in"
12 "${PROJECT_BINARY_DIR}/TutorialConfig.h"
15 # add the binary tree to the search path for include files
16 # so that we will find TutorialConfig.h
17 include_directories("${PROJECT_BINARY_DIR}")
20 add_executable(Tutorial tutorial.cxx)