Giter Site home page Giter Site logo

automeka's Introduction

Automkea C++1z automated make

Build Status

Github Release

Unlicense

Gitter Chat

USAGE

Automeka automatically finds and builds your projects without any configuration. Automeka assumes that the source tree represents the logical structure of projects.

Automeka exclusively uses Clang for compilation for now, as it requires the not-yet-standardized C++ modules.

  1. Any folder containing a src or an include folder is considered as a module named after the folder.
  2. Regarding include paths, include folder is assumed to contain the public interface of the module. The src folder is assumed to contain the private interface of the module.1
  3. Each source file found in the src folder of a module is compiled into an object.
  4. Each object is then scanned for a main function. A library is created for each module, with all the objects that do not contain a main function.
  5. For each object with a main function, an executable is created and linked against all the module's libraries it depends on.2

BUILD

Automeka currently uses Ninja for resolving build order and executing tasks. The goal is not to rely on some external make program, and this should be internalized.

Ninja is also required for bootstraping Automeka, when no precursor is available.

# bootstrap automeka
ninja

# rebuild automeka with itself and C++ modules enabled
./build/automeka

LICENSE

This is free and unencumbered software released into the public domain.

See accompanying file UNLICENSE or copy at http://unlicense.org/UNLICENSE


  1. Each module should provide a module.modulemap file in its include folder, describing the module's headers and libraries to link against.

  2. Libraries to link against are described in the module's module.modulemap file. See http://clang.llvm.org/docs/Modules.html for more information.

automeka's People

Contributors

berenm avatar

Watchers

James Cloos 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.