Git Product home page Git Product logo

tap's Introduction

Tap

Tap is a tool for easily building your C/C++ projects.

Make has its flaws, but it still outshines most other build systems (namely CMake and Meson, which are quite mainstream) in its user interface for us people who make the shell their home -- just run make. No need to create a build directory, run some command and then run make/ninja in the build directory.

So, Tap is a layer of abstraction over the mess that is C/C++ build systems, providing a simple uniform interface. See the Usage section for examples.

Installation

cargo install --git https://github.com/dccsillag/tap.git

Usage

Build the project

tap build

or

tap b

You can also specify a build mode, as such:

tap build -m release

Run an executable

tap run <EXECUTABLE> -- <ARGS>

or

tap r <EXECUTABLE> -- <ARGS>

Just like with tap build, you can pass a build mode.

Note: the -- is just to prevent any arguments meant for your executable from being recognized by tap itself.

Clean build files

tap clean

or

tap c

Install the built binaries

tap install

or

tap i

If you run as root (e.g., with sudo), then the binaries will be installed to /usr/local. If not run as root, then they will be installed to the parent directory of the user's executable directory (which usually means ~/.local).

You can also specify a custom install prefix:

tap install --prefix <INSTALLATION_PREFIX>

tap's People

Contributors

dccsillag avatar

Stargazers

 avatar Yukun Zhao avatar

Watchers

 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.