This fix https://github.com/llvm/llvm-project/issues/23841.
Lots of beginners are not of aware of this option do suggesting it here
would be helpful.
Details
- Reviewers
thieta aaron.ballman
Diff Detail
Event Timeline
Thanks for fixing - but it's not completely accurate right now.
clang/www/get_started.html | ||
---|---|---|
72 | This isn't correct - invoking cmake without a CMAKE_BUILD_TYPE argument will just print an error. I would fix the command line below to include -DCMAKE_BUILD_TYPE=Release and have a comment saying switch Release to Debug if you need a debug build. |
clang/www/get_started.html | ||
---|---|---|
72 | +1 to most of this, but I'd have the comment say something along the lines of "See https://llvm.org/docs/CMake.html#frequently-used-cmake-variables for more options". |
clang/www/get_started.html | ||
---|---|---|
72 | I hope 'most of this' also includes making changes to the default suggestion of -DCMAKE_BUILD_TYPE :) |
Thank you for review! Committed in https://reviews.llvm.org/rGa01579ad0a1bde4d90f4fb656f07586c3097428a.
This isn't correct - invoking cmake without a CMAKE_BUILD_TYPE argument will just print an error. I would fix the command line below to include -DCMAKE_BUILD_TYPE=Release and have a comment saying switch Release to Debug if you need a debug build.