summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-11-10 17:05:53 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-11-10 17:05:53 (GMT)
commit5a007dc0e36c884e2b3e95585202c81d240c6a9d (patch)
tree653def0126351be0e3ee9b8b1d1d60d5460b8d47
parenta41c41ec54c0d7f8058e0339bf7b3bef747d2270 (diff)
downloadCMake-5a007dc0e36c884e2b3e95585202c81d240c6a9d.zip
CMake-5a007dc0e36c884e2b3e95585202c81d240c6a9d.tar.gz
CMake-5a007dc0e36c884e2b3e95585202c81d240c6a9d.tar.bz2
ENH: some fixes
-rw-r--r--Tests/Tutorial/Step2/CMakeLists.txt6
-rw-r--r--Tests/Tutorial/Step3/CMakeLists.txt6
-rw-r--r--Tests/Tutorial/Step4/CMakeLists.txt6
-rw-r--r--Tests/Tutorial/Step5/CMakeLists.txt6
-rw-r--r--Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt2
5 files changed, 13 insertions, 13 deletions
diff --git a/Tests/Tutorial/Step2/CMakeLists.txt b/Tests/Tutorial/Step2/CMakeLists.txt
index 7f12051..bceb986 100644
--- a/Tests/Tutorial/Step2/CMakeLists.txt
+++ b/Tests/Tutorial/Step2/CMakeLists.txt
@@ -4,6 +4,9 @@ project (Tutorial)
set (Tutorial_VERSION_MAJOR 1)
set (Tutorial_VERSION_MINOR 0)
+# should we use our own math functions
+option(USE_MYMATH "Use tutorial provided math implementation" ON)
+
# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
@@ -11,9 +14,6 @@ configure_file (
"${PROJECT_BINARY_DIR}/TutorialConfig.h"
)
-# should we use our own math functions
-option(USE_MYMATH "Use tutorial provided math implementation" ON)
-
# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories ("${PROJECT_BINARY_DIR}")
diff --git a/Tests/Tutorial/Step3/CMakeLists.txt b/Tests/Tutorial/Step3/CMakeLists.txt
index 3562045..a5009f1 100644
--- a/Tests/Tutorial/Step3/CMakeLists.txt
+++ b/Tests/Tutorial/Step3/CMakeLists.txt
@@ -4,6 +4,9 @@ project (Tutorial)
set (Tutorial_VERSION_MAJOR 1)
set (Tutorial_VERSION_MINOR 0)
+# should we use our own math functions
+option(USE_MYMATH "Use tutorial provided math implementation" ON)
+
# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
@@ -11,9 +14,6 @@ configure_file (
"${PROJECT_BINARY_DIR}/TutorialConfig.h"
)
-# should we use our own math functions
-option(USE_MYMATH "Use tutorial provided math implementation" ON)
-
# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories ("${PROJECT_BINARY_DIR}")
diff --git a/Tests/Tutorial/Step4/CMakeLists.txt b/Tests/Tutorial/Step4/CMakeLists.txt
index 03e4a9b..225c222 100644
--- a/Tests/Tutorial/Step4/CMakeLists.txt
+++ b/Tests/Tutorial/Step4/CMakeLists.txt
@@ -9,6 +9,9 @@ include (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
check_function_exists (log HAVE_LOG)
check_function_exists (exp HAVE_EXP)
+# should we use our own math functions
+option(USE_MYMATH "Use tutorial provided math implementation" ON)
+
# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
@@ -16,9 +19,6 @@ configure_file (
"${PROJECT_BINARY_DIR}/TutorialConfig.h"
)
-# should we use our own math functions
-option(USE_MYMATH "Use tutorial provided math implementation" ON)
-
# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories ("${PROJECT_BINARY_DIR}")
diff --git a/Tests/Tutorial/Step5/CMakeLists.txt b/Tests/Tutorial/Step5/CMakeLists.txt
index bb7fe99..c8b2742 100644
--- a/Tests/Tutorial/Step5/CMakeLists.txt
+++ b/Tests/Tutorial/Step5/CMakeLists.txt
@@ -9,6 +9,9 @@ include (${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
check_function_exists (log HAVE_LOG)
check_function_exists (exp HAVE_EXP)
+# should we use our own math functions
+option(USE_MYMATH "Use tutorial provided math implementation" ON)
+
# configure a header file to pass some of the CMake settings
# to the source code
configure_file (
@@ -16,9 +19,6 @@ configure_file (
"${PROJECT_BINARY_DIR}/TutorialConfig.h"
)
-# should we use our own math functions
-option(USE_MYMATH "Use tutorial provided math implementation" ON)
-
# add the binary tree to the search path for include files
# so that we will find TutorialConfig.h
include_directories ("${PROJECT_BINARY_DIR}")
diff --git a/Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt b/Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt
index 7dc4d82..6cc0e17 100644
--- a/Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt
+++ b/Tests/Tutorial/Step5/MathFunctions/CMakeLists.txt
@@ -1,4 +1,4 @@
-# first we add the exetuable that generates the table
+# first we add the executable that generates the table
add_executable(MakeTable MakeTable.cxx)
# add the command to generate the source code