Skip to main content

No project description provided

Project description

L.A.B.S

L.A.B.S. stands for Language Agnostic Build System.

This is "yet another" build system to replace cmake and meson.

Labs is not meant to be "the faster" (even though its use of ninja similar to meson makes roughly as fast as meson), but to produce reproductible builds.

Contrary to CMake or Meson, you don't need to learn yet another language since plain python is used.

The philosophy behind Labs is that simple tasks should be trivial to do, and hard ones should be easy.

A work in progress

The project is still at a draft step : Only the low-level api is developped yet, but it is on heavy developpment, thus expect additionnal feature coming fast.

Roadmap

  • Ninja abstraction and build generation
    • Variables
    • Rule with variables
    • Target files set
    • Build rules
      • Explicit, implicit and order-only targets
      • Overide variables
  • CMake-like build configuration
  • Basic find_program
    • Find program in path
    • Find program from several names
  • Easy for a build to depend on a found program
  • Run found program at config time
  • Run found programm at ninja
  • Custom commands (with pipes, file redirection etc.)
  • Command line interface
    • CMake-like semantic shadow build
    • CMake-like incremental cache
  • Feature testing framework
  • Documentation
    • In code docstring
    • Tutorial
  • Extension system
  • Install rules
  • GCC compatible workflow (anything that compiles to *.o files
    • Compile wrapper class
    • Understand common C/CXX env variables
    • Handle include paths
    • Handle libs
  • auto_build function to compile with the right compiler automatically regarding the file ype.
  • sub project
  • find_lib
    • using pkg_config
    • using CMake
  • Java compilation
  • Qt
  • Other language
    • Go
    • Rust
    • ...
  • Wrapper to handle linux and windows with the same commands
  • Build an execurable for windows embedding the python interpreter
  • IDE project generation
  • Advanced find_program
    • Require version
    • Host, build and target machin distinction
    • Look at python modules
  • support a wide range of compilers

Don't be fooled : half of the features are checked, but it actually represent at most 5% of the targeted features =))

If you like the project, feel free to apply for implement some feature by creating an issue !

License

Copyright © 2020 Léo Flaventin Hauchecorne

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

labs-build-0.1.dev0.tar.gz (11.6 kB view hashes)

Uploaded Source

Built Distribution

labs_build-0.1.dev0-py3-none-any.whl (22.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page