1
0
cmaketutorial/Step1/CMakeLists.txt
Nigel 40bab85440
Excercise 2 - Step 1
Signed-off-by: Nigel <nigelbarink@hotmail.com>
2023-10-30 09:18:36 +01:00

15 lines
528 B
CMake

cmake_minimum_required(VERSION 3.10)
project(Tutorial)
# TODO 7: Set the project version number as 1.0 in the above project command
# TODO 6: Set the variable CMAKE_CXX_STANDARD to 11
# and the variable CMAKE_CXX_STANDARD_REQUIRED to True
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
# TODO 8: Use configure_file to configure and copy TutorialConfig.h.in to
# TutorialConfig.h
add_executable(Tutorial tutorial.cxx)
# TODO 9: Use target_include_directories to include ${PROJECT_BINARY_DIR}