summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-01 18:16:46 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-01 18:16:46 (GMT)
commit0be0283f30c58c82797579ca19cf0adf9b83dbad (patch)
tree3c40d8dcbdf37bd0990f771d709ddf0c3edb8b7d /Source/cmake.h
parentf94b8cfd3cf494d204db0d0454063b77197e2ec6 (diff)
downloadCMake-0be0283f30c58c82797579ca19cf0adf9b83dbad.zip
CMake-0be0283f30c58c82797579ca19cf0adf9b83dbad.tar.gz
CMake-0be0283f30c58c82797579ca19cf0adf9b83dbad.tar.bz2
BUG: also put a variable into the cache when defined using -D if no type is
given, then STRING is used. Also add command line option -U as suggested for undefining cache variables. This fixes #4896 and #4264. Alex
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index d0ba300..c148515 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -388,6 +388,11 @@ private:
"for the project. This option may be used to specify a setting " \
"that takes priority over the project's default value. The option " \
"may be repeated for as many cache entries as desired."}, \
+ {"-U <var>", "Remove one or more cmake cache entries.", \
+ "This option may be used to remove one or more variables from the " \
+ "CMakeCache.txt file, so that CMake will search them again. All " \
+ "variables which contain \"<var>\" will be removed. The option may be "\
+ "repeated for as many cache entries as desired."}, \
{"-G <generator-name>", "Specify a makefile generator.", \
"CMake may support multiple native build systems on certain platforms. " \
"A makefile generator is responsible for generating a particular build " \