Giter Site home page Giter Site logo

msbuild.delphi.parallel's Introduction

Introduction

RAD Studio using Microsoft's MSBuild to build projects (.dproj) in a project groups (.groupproj). However, the build scripts (CodeGear.*.Targets) doesn't utilize multi-core CPU to perform the task that may speed up the build process.

The intention of this project is to utilize multi-core CPU resources to build projects as fast as possible using with MSBuild scripts. The most crucial part is utilize BuildInParallel to perform the task.

Algorithms

Here are a summary of steps to perform the build in parallel:

  1. Enumerate available DCP files from RAD Studio library and stored in a list A.
  2. Enumerate all dproj files from project group (.groupproj) and it's reference packages (.DCP) and store in a list B.
  3. For each dproj in list B, remove DCP items if exists list A.
  4. Filter and enumerate dproj files in list B where it's DCP item is empty.
  5. Use MSBuild and BuildInParallel = "true" to build the filtered dproj files.
  6. Remove filtered dproj files from list B.
  7. Add filtered dproj files to list A.
  8. Repeat Step 3 to 7 until list B is empty.

Reference

I face problems when constructing the MSBuild scripts. Few issues and problems were answered and inspired by fellows from StackOverflow:

msbuild.delphi.parallel's People

Contributors

ccy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

msbuild.delphi.parallel's Issues

Examples of usage

Dear author,

I would love to use Your scripts to build my groupproj project in parallel, but from the readme file I have no idea how to actually use the scripts :(

Please, is there any possibility to explain how to use the scripts - where to download, which flags to write to msbuild etc...?

Thank You!

HOw to use?

Hello,

could someone give me a short explaination how to use the provides scripts?

Thanks

Stefan

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.