Index: README.md =================================================================== --- README.md +++ README.md @@ -50,11 +50,7 @@ * ``cd llvm-project`` - * ``mkdir build`` - - * ``cd build`` - - * ``cmake -G [options] ../llvm`` + * ``cmake -S llvm -B build -G [options]`` Some common build system generators are: @@ -85,7 +81,7 @@ * ``-DLLVM_ENABLE_ASSERTIONS=On`` --- Compile with assertion checks enabled (default is Yes for Debug builds, No for all other build types). - * ``cmake --build . [-- [options] ]`` or your build system specified above + * ``cmake --build build [-- [options] ]`` or your build system specified above directly. * The default target (i.e. ``ninja`` or ``make``) will build all of LLVM.