Skip to content

lineCode/premake-ninja

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

premake-ninja

Premake extension to support Ninja, because it's awesome. Build Status Build status

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 a first configuration name in your project (usually default).

TODO

  • PCH not supported
  • Resources are not supported
  • Custom build rules are not supported
  • Makefile not supported
  • Bundles of any sort are not supported
  • Clear methods are not supported
  • C# not supported
  • D not supported

Tested on

  • msvc / win
    • ConsoleApp works
    • WindowedApp works
    • StaticLib works
    • SharedLib works
    • win64 not tested
  • clang / win
    • not tested
  • clang / linux
    • not tested
  • clang / osx
    • ConsoleApp works
    • WindowedApp works
    • StaticLib works
    • SharedLib works
    • x86_64 tested, x86 not tested
  • gcc / win
    • ConsoleApp works
    • WindowedApp works
    • StaticLib works
    • SharedLib works
    • x86_64 tested, x86 not tested
  • gcc / linux (tested on Ubuntu 15.04)
    • ConsoleApp works
    • WindowedApp works
    • StaticLib works
    • SharedLib works
    • x86_64 tested, x86 not tested

About

Premake extension to support Ninja

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 59.7%
  • Python 27.3%
  • C 5.5%
  • C++ 4.7%
  • Shell 2.5%
  • Objective-C 0.3%