KWSys Nightly Date Stamp
[cmake.git] / Tests / Tutorial / Step1 / CMakeLists.txt
blobe461d3c8b3b6a633e6e17a70a43837f57f0b4460
1 cmake_minimum_required (VERSION 2.6)
2 project (Tutorial)
4 # The version number.
5 set (Tutorial_VERSION_MAJOR 1)
6 set (Tutorial_VERSION_MINOR 0)
8 # configure a header file to pass some of the CMake settings
9 # to the source code
10 configure_file (
11   "${PROJECT_SOURCE_DIR}/TutorialConfig.h.in"
12   "${PROJECT_BINARY_DIR}/TutorialConfig.h"
13   )
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}")
19 # add the executable
20 add_executable(Tutorial tutorial.cxx)