Skip to content

aaron-michaux/mobius-legacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mobius

A preprocessor for ninja build

Ninja is not designed to be "convenient to edit by hand", and the developers strongly suggest using some form of machine generation. Well, here it is. Mobius is a preprocessor for ninja.build files, and should be suitable for most small, or even mid-sized projects. It takes about 1 millisecond to run on a 20000 line work project with a series of complex build rules that includes moc, qrc, boost-python, and protoc, with the option of using either clang and gcc, and five build modes. (debug, release, and three sanitizers: usan, asan, and tsan.)

Requirements

  • Linux
  • C++17

Should be simple to port to other platforms; there's only one source file.

Installation

Install clang-5.0, or gcc-7, or newer.

make
sudo make install

Instructions

mobius -h

Examples

So far there's only one example: clang + modules-ts.

About

A preprocessor for ninja-build

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published