summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
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"}