From 62305527290610318a6fd07e2234566dee5d12cd Mon Sep 17 00:00:00 2001 From: Nigel Date: Sun, 29 Oct 2023 12:12:00 +0100 Subject: [PATCH] Step 1 Excercise 1 Completed Signed-off-by: Nigel --- .gitignore | 1 + Step1/CMakeLists.txt | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0a703ef --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*_build/ diff --git a/Step1/CMakeLists.txt b/Step1/CMakeLists.txt index 6fcce90..243606c 100644 --- a/Step1/CMakeLists.txt +++ b/Step1/CMakeLists.txt @@ -1,7 +1,7 @@ # TODO 1: Set the minimum required version of CMake to be 3.10 - +cmake_minimum_required(VERSION 3.10) # TODO 2: Create a project named Tutorial - +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 @@ -12,5 +12,5 @@ # TODO 3: Add an executable called Tutorial to the project # Hint: Be sure to specify the source file as tutorial.cxx - +add_executable(Tutorial tutorial.cxx) # TODO 9: Use target_include_directories to include ${PROJECT_BINARY_DIR}