Code Monkey home page Code Monkey logo

vs-ninja's Introduction

vs-ninja

Drop-in ninja compatibility for Visual Studio C++ projects.

Prerequisites

You must have an installation of Python 3 available as 'py'. If you have another installation of python that you want to use instead, modify the 'py' variable in configure.py to point to the installation you want.

Usage

Your project must be a Makefile project. Copy all files into the directory of the project (not the solution) you'd like to use ninja with then right click your project and select properties. Under Configuration Properties > NMake:

Build Command Line

cd $(ProjectDir)
ninja $(TargetPath)

Rebuild All Command Line

cd $(ProjectDir)
ninja -t clean
py configure.py
ninja $(TargetPath)

Clean Command Line to:

cd $(ProjectDir)
ninja -t clean
py configure.py

Under Configuration Properties > VC++ Directories:

Include Directories

$(SolutionDir)

Finally, run py configure.py once. Any later changes will cause it to rebuild itself.

Notes

This repo contains an executable for ninja 1.7.2. To update it, download a new version from the official ninja repository.

File additions or deletions will require reconfiguring. Rebuild all, or clean then build.

To add flags, modify the compilation flags in configure.py.

vs-ninja's People

Contributors

djkoloski avatar

Stargazers

Dylan Law avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.