Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 1.37 KB

README.md

File metadata and controls

25 lines (16 loc) · 1.37 KB

premake-ninja

Premake module to support Ninja, because it's awesome.

Implementation

For each project - configuration pair we create separate .ninja file. For solution we create build.ninja file which imports other .ninja files with subninja command.

Build.ninja file sets phony targets for configuration names so you can build them from command line. And default target is the first configuration name in your project (usually default).

Tested on ubuntu-badge windows-badge macos-badge

Extra Tests

Part of integration tests of several generators in https://github.com/Jarod42/premake-sample-projects Premake5 ubuntu ninja badgePremake5 window ninja badge

TODO

  • Resources are not supported
  • Makefile not supported
  • Bundles of any sort are not supported
  • Clear methods are not supported
  • C# not supported
  • D not supported
  • ...