Thanks to visit codestin.com
Credit goes to github.com

Skip to content

a small build system with really focus on speed

License

Notifications You must be signed in to change notification settings

YuWei-CH/ShadowDash

 
 

Repository files navigation

Shadowdash

Shadowdash is a lightweight build system based on Ninja, focused on increasing build speed.

CMake

  1. Build Shadowdash and move ninja executable file to your local/bin:
mkdir build && cd build
cmake -S ..
make -j $(nproc)
sudo cp ninja /usr/local/bin/
ninja --version
  1. Build Clang-Tidy from source code:
git clone https://github.com/llvm/llvm-project.git
cd llvm-project
mkdir build
cd build
cmake -G "Ninja" -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" -DCMAKE_BUILD_TYPE=Release ../llvm
ninja clang-tidy
export PATH=$PATH:/path/to/your/llvm-project/build/bin
clang-tidy --version

Alternative Installation via Package Manager (Debian-based Systems): If you’re using a Debian-based distribution like Ubuntu, you can install Clang-Tidy using the following command:

sudo apt-get install -y clang-tidy
  1. Test:
cd build
ctest

The ninja binary will now be inside the build-cmake directory (you can choose any other name you like).

To run the unit tests:

./build-cmake/ninja_test

About

a small build system with really focus on speed

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 87.7%
  • Python 7.8%
  • C 2.2%
  • CMake 1.1%
  • Shell 0.5%
  • Emacs Lisp 0.4%
  • Vim Script 0.3%