Simple compilation Framework

Source: Internet
Author: User
Overview

This is my first project on GitHub, which provides a simple configuration and compilation framework for modular software.

Simple-build-framework

Usage Prerequisites
  1. Divide your project into a master module and a number of other modules;
  2. Ensure that each module is self-contained, in addition to the public interface, all the source code of this module, private header files, configuration files, etc. should be placed in the corresponding module directory.
Function:
  1. Add modules using simple makefile fragments (module name only, source file list, optional compilation options, etc.);
  2. Add 1 files to 1 modules with as few modifications as possible (name and optional compilation options, etc.);
  3. Support module nesting;
  4. Support for specifying compilation options for each file or module;
  5. Supports output directory designation.
How to use
  1. Create the main module and other modules based on the MAIN/MOD1/MOD2 in the frame;
  2. Add source code, compile options, and module.mk for each of the lowest-level modules;
  3. Executing the make command at the root of the compiled framework, the target file and the final executable will be generated in the specified or default output directory.

Note :
You can use make help to get all the supported make commands and their usage.

Todo
  1. Supports C + + files and headers; support for c++/assembly files and header files;
  2. Support Kconfig (make config, make menuconfig, etc.);
  3. Support MINGGW Environment;
  4. Support for more configuration items (compiler designation, executable file name, compile information level, etc.).

Simple compilation Framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.