Hello there! Today We present you one of our useful Wrapper, Orbit! Always had a pain about CMake build Hell ? Well, fear not!
- Simple wrapper around CMake for easy project building
- Multiple build commands:
config,make,build - Ninja generator support for fast builds
- Multiple compiler support: GCC, Clang, Clang-CL, MSVC
- Unity build mode for faster compilation
Preety simple, actually
To use this,
- place in a direcotry
- add that directory into SYSTEM PATH!
- viola! use it universally!
configConfugures the project (so you could have your buildfiles)makebuilds the thingbuildConfig+make
ninjause it like this--ninja- Specific compiler - Yes you can, By default its clang. Refer to Compiler Options for this one
Use it like -
--compiler-id=<id>OR--use-compiler=<name> - Unity - use this
--unity - Use
rmbuildto remove the build directory if something went wrong
Compiler ID And their names are as follows -
- ID 1 -
gcc - ID 2 -
clangDefault - ID 3 -
clang-cl - ID 4 -
msvc
Note - For some reason whenever i try to
--use-compiler=msvcit just quits on me bro you can but for MSVC its recommended (by me) that you use Compiler ID. Thank you
./ORBIT build
./ORBIT config --ninja
./ORBIT make --use-compiler=gcc
./ORBIT build --compiler-id=4 --unityLicenses have been changed from MIT -> GNU GPL v3. Please refer to License Notices (LICENSE_NOTICE.md) for more info
Please join my discord server! https://discord.gg/kx8km2V7kz