CMake useful shortcuts

Add below code block to .bashrc and then you have these shortcuts
available to make life easy.

# === CMake Shortcuts ===
alias cmkconf='cmake -S . -B build' # Configure
alias cmkbuild='cmake --build build --parallel 8' # Build with 8 threads
alias cmkinstall='sudo cmake --install build' # Install to system
alias cmktest='ctest --test-dir build -V' # Run tests

Comments

Popular posts from this blog

Morning Quotes

QCalendarWidget CSS Stylesheeting

[Qt] Compiling ICU with MSVC (Microsoft Visual Studio)