[PATCH] D148683: [docs] Fix cmake command option about CMAKE_BUILD_TYPE in GettingStarted.rst

terrydang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 22:15:03 PDT 2023


terrydang created this revision.
terrydang added reviewers: hans, mehdi_amini, aaron.ballman, jhenderson, MaskRay, awarzynski.
Herald added a project: All.
terrydang published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

cmake command was written with a duplicated CMAKE_BUILD_TYPE option at line 683 of GettingStarted.rst


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148683

Files:
  llvm/docs/GettingStarted.rst


Index: llvm/docs/GettingStarted.rst
===================================================================
--- llvm/docs/GettingStarted.rst
+++ llvm/docs/GettingStarted.rst
@@ -683,7 +683,7 @@
 
    .. code-block:: console
 
-     % cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=<type> -DCMAKE_BUILD_TYPE=type SRC_ROOT
+     % cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=<type> SRC_ROOT
 
 Between runs, CMake preserves the values set for all options. CMake has the
 following build types defined:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148683.514820.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230419/a634f035/attachment.bin>


More information about the llvm-commits mailing list