summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-03-29 18:28:30 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-10 19:14:34 (GMT)
commit588dcb33b7ff089a84ce5cbacf2696b4a3646b42 (patch)
tree33fd43e30550fdf09440d76b7d6d75a13eb21d58 /Source/cmake.h
parent4e039a9a9814fd13142ae2c9876420ddf2414b8e (diff)
downloadCMake-588dcb33b7ff089a84ce5cbacf2696b4a3646b42.zip
CMake-588dcb33b7ff089a84ce5cbacf2696b4a3646b42.tar.gz
CMake-588dcb33b7ff089a84ce5cbacf2696b4a3646b42.tar.bz2
cmake: Provide guidance when an invalid -G option is given
Print a list of generators if no generator or an invalid one is supplied. Signed-off-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 3acf4a8..0715d74 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -476,6 +476,9 @@ private:
InstalledFilesMap InstalledFiles;
void UpdateConversionPathTable();
+
+ // Print a list of valid generators to stderr.
+ void PrintGeneratorList();
};
#define CMAKE_STANDARD_OPTIONS_TABLE \