#ninjabuild — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #ninjabuild, aggregated by home.social.
-
Working with #cpp20 #cppmodules with #ninjabuild and #cmake
How can I run just the scan/dynamic based bits so that I can run clang-tidy without a full build?
ATM I have this hack
```
# cmake config
cmake --preset thing# select what I need made
ninja -C build -t inputs | grep -E '\.cppm\.o$|\.o\.modmap$' | xargs -r ninja -C build# then I can run clang-tidy
```There must be a better way
-
I finally capitulated and added the following to my
~/.zshrc.. Hah.# I type this wrong often..
alias nija='ninja'
alias inja='ninja'
alias ninj='ninja'