Skip to content

Commit 6b836e2

Browse files
committed
finish "step3":exercise 3
1 parent a33beb1 commit 6b836e2

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎.gitignore‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ CTestTestfile.cmake
3030
# ===== OS =====
3131
.DS_Store
3232
Thumbs.db
33+
# ===== Other =====
3334
Step1/.cache/clangd/index/MathFunctions.cxx.202E5E417D0E2065.idx
3435
Step1/.cache/clangd/index/MathFunctions.h.25429671B54EAD80.idx
3536
Step1/.cache/clangd/index/Tutorial.cxx.704C168B3F6B49A5.idx
37+
.cache/

‎Step3/CMakePresets.json‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"name": "tutorial",
66
"displayName": "Tutorial Preset",
77
"description": "Preset to use with the tutorial",
8-
"TODO8": "Set the build directory",
8+
"binaryDir": "${sourceDir}/build",
99
"cacheVariables": {
10-
"TODO9": "Set the C++ standard version"
10+
"CMAKE_CXX_STANDARD": "17",
11+
"CMAKE_EXPORT_COMPILE_COMMANDS":"On"
1112
}
1213
}
1314
]

0 commit comments

Comments
 (0)