Git Product home page Git Product logo

cdt-new-managedbuild-prototype's Introduction

cdt-new-managedbuild-prototype

Prototype of new Managed Build system for Eclipse CDT

Eclipse License

Overall Aims

  • Replace existing Managed Build in CDT with new simple framework providing GUI managing of build settings
  • Allow use from outside CDT, both in CI & new editors such as Eclipse Theia & VS Code
  • Allow more extensibility to support multiple external build systems & toolchains
  • Simplify CDT implementation to ensure maintainability More information can be found in Outline

Outline Design

  • 4 main components:
    • Toolchain & Configuration models
    • Core Managed Build Framework - Responsible for managing the toolchain & configuration models, calling build tool extensions & providing APIs for IDE integration extensions
    • Build Tool extensions - Responsible for generating build files, invoking build tool & handling return of tool console output. Some common functionality will be provided as abstract implementations but all build logic (such as handling interfile dependencies or rebuilding when build options changed) will be left to the tool specific extensions.
    • CDT Integration - Integrates the core framework into CDT, providing the UI for build options, handling mapping configurations into the Core Build system, and providing information to the indexer (using compile-commands.json).

Out of scope

  • Internal builder - Focus is on integration with external build systems. Though framework will be designed to allow an internal build implementation to be developed as an extension
  • Modeling dependencies between source files or determining tool ordering - If this is required for a particular build engine then must be implemented in support extension rather than main framework

Current progress

  • Prototype DSLs for toolchain & configuration. See examples in docs/examples

Building in Eclipse IDE

Requirements:

  • Eclipse 2019-12 or later
  • Xtext SDK 2.20 or later Steps:
  • Import all projects under "bundles"
  • Right click on org.eclipse.cdt.build.managed.toolchain/src/org/eclipse/cdt/build/managed/toolchain/GenerateToolchainDsl.mwe2 & select Run As -> MWE2 Workflow
  • Repeat with GenerateConfigurationDsl.mwe2
  • Select Build -> Clean and clean the workspace

More infomation

cdt-new-managedbuild-prototype's People

Contributors

kummallinen avatar ruspl-afed 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.