summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step2
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2019-07-02 00:58:32 (GMT)
committerBrad King <brad.king@kitware.com>2019-08-19 15:49:05 (GMT)
commit49ce4d6ff4e70026ab1da6da91d7965ef61863ab (patch)
treed519e2a2f16f1ebc0ae447e5b98860403f42bc39 /Help/guide/tutorial/Step2
parent82332f81bbb0609bf521d29c36b3ecf1566be892 (diff)
downloadCMake-49ce4d6ff4e70026ab1da6da91d7965ef61863ab.zip
CMake-49ce4d6ff4e70026ab1da6da91d7965ef61863ab.tar.gz
CMake-49ce4d6ff4e70026ab1da6da91d7965ef61863ab.tar.bz2
Tutorial: Improve Step 2
* Fix typo in #include * Remove CMakeLists file that users should create * Clarify which files users are expected to create * Highlight the importance of configuring TutorialConfig.h.in after the MY_MATH option has been set
Diffstat (limited to 'Help/guide/tutorial/Step2')
-rw-r--r--Help/guide/tutorial/Step2/MathFunctions/CMakeLists.txt1
-rw-r--r--Help/guide/tutorial/Step2/MathFunctions/mysqrt.cxx1
2 files changed, 0 insertions, 2 deletions
diff --git a/Help/guide/tutorial/Step2/MathFunctions/CMakeLists.txt b/Help/guide/tutorial/Step2/MathFunctions/CMakeLists.txt
deleted file mode 100644
index 8b443a6..0000000
--- a/Help/guide/tutorial/Step2/MathFunctions/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_library(MathFunctions mysqrt.cxx)
diff --git a/Help/guide/tutorial/Step2/MathFunctions/mysqrt.cxx b/Help/guide/tutorial/Step2/MathFunctions/mysqrt.cxx
index 7d9379e..1e4d97a 100644
--- a/Help/guide/tutorial/Step2/MathFunctions/mysqrt.cxx
+++ b/Help/guide/tutorial/Step2/MathFunctions/mysqrt.cxx
@@ -1,4 +1,3 @@
-#include "MathFunctions.h"
#include <iostream>
// a hack square root calculation using simple operations