summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-04-03 03:48:12 (GMT)
committerBrad King <brad.king@kitware.com>2003-04-03 03:48:12 (GMT)
commita5ea72df8856aada1ac9cd9916466a078a6ff9d3 (patch)
treed1a36bdb4356124b2ffd6701a4bc160f25bb2c1f /Source/cmake.h
parent3bba5f587e719bed322e2d9aeca57283907b7ef9 (diff)
downloadCMake-a5ea72df8856aada1ac9cd9916466a078a6ff9d3.zip
CMake-a5ea72df8856aada1ac9cd9916466a078a6ff9d3.tar.gz
CMake-a5ea72df8856aada1ac9cd9916466a078a6ff9d3.tar.bz2
ENH: Improved documentation. Also modified behavior of "cmake" to not configure a project in the current directory unless . is given.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 9418061..ab7a15b 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -272,3 +272,22 @@ private:
const char* m_CCEnvironment;
};
+#define CMAKE_STANDARD_OPTIONS_TABLE \
+ {"-C<initial-cache>", "Pre-load cmake cache from given file.", \
+ "When cmake is first run in an empty build tree, it creates a " \
+ "CMakeCache.txt file and populates it with customizable settings " \
+ "for the project. This option may be used to specify a file from " \
+ "which to load cache entries before the first pass through " \
+ "the project's cmake listfiles. The loaded entries take priority " \
+ "over the project's default values."}, \
+ {"-D<var>:<type>=<value>", "Create a cmake cache entry.", \
+ "When cmake is first run in an empty build tree, it creates a " \
+ "CMakeCache.txt file and populates it with customizable settings " \
+ "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."}, \
+ {"-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 " \
+ "system. Possible generator names are\n" \
+ " \"Unix Makefiles\" - Standard UNIX Makefiles"}