cmake_minimum_required (VERSION 2.6)

# we can pass the language used in the project too
project (Hello)
add_executable (hello hello.cpp)
add_test (ShouldPass passing)
add_executable (passing passing.c)

# setting the version number with a major and minor 
set (Tutorial_VERSION_MAJOR 1)
set (Tutorial_VERSION_MINOR 0)

# now a new target is generated in the Makefile, "package" and "source_package"
include(CPack)
# we add a test which is supposed to pass
include(CTest)
