Преглед на файлове

Merge topic 'supported-profiling-formats'

9c3beb532f cmake: Show supported formats in --help output for --profiling-format

Acked-by: Kitware Robot <[email protected]>
Acked-by: dublet <[email protected]>
Merge-request: !5001
Brad King преди 5 години
родител
ревизия
5899e849d0
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  1. 3 1
      Source/cmakemain.cxx

+ 3 - 1
Source/cmakemain.cxx

@@ -98,7 +98,9 @@ const char* cmDocumentationOptions[][2] = {
     "Find problems with variable usage in system "
     "Find problems with variable usage in system "
     "files." },
     "files." },
 #  if !defined(CMAKE_BOOTSTRAP)
 #  if !defined(CMAKE_BOOTSTRAP)
-  { "--profiling-format=<fmt>", "Output data for profiling CMake scripts." },
+  { "--profiling-format=<fmt>",
+    "Output data for profiling CMake scripts. Supported formats: "
+    "google-trace" },
   { "--profiling-output=<file>",
   { "--profiling-output=<file>",
     "Select an output path for the profiling data enabled through "
     "Select an output path for the profiling data enabled through "
     "--profiling-format." },
     "--profiling-format." },