Coder Social home page Coder Social logo

build-icu's Introduction

Build ICU for Windows (MSVC)

This build scripts are created for Powershell in Windows. Sources will be downloaded from original repository on https://icu-project.org

Primarily this script was created for my BuildSystem wich is described here.
This scripts should work on other systems too.

Since this Version, there are only two major requirements to get this build working.
All other tools, wich are required for build, will be downloaded automatically and set to PATH for building.
The download will only happen if Scripts wasn't able to find a local Version of this tools. So it is still recommended to install it on your system.

If error will occur you can use Powershell ISE for debugging, or contact me.

Requirements

Mandatory Requirements:

  • Powershell Version >= 3.0
  • Visual Studio 2012/2013/2015/2017

Recommended Requirements:

  • Python 2.7
    Common Tools will download a Portable Version of WinPython if not available
  • Perl
    Common Scripts will download a Portable Version of StrawberryPerl if not available
  • Subversion: Required for ICU
    Common Scripts will download a Portable Version of Subversion if not available
  • Git Common Scripts will download a Portable Version of Git if not available
  • Cygwin Common Scripts will download a Portable Version of Cygwin if not available

How to build

For example, to build the Version 59.1, execute the following command:

.\Make.ps1 -VisualStudio 2017 -Architecture x64 -Version 59.1

Options (bold are mandatory):

  • VisualStudio: 2012/2013/2015/2017
  • Architectrue: x64/x86
  • Version: Version of ICU (default: latest)
  • Static: $true/$false (default: $false) It will rewrite runConfigureICU to build with static runtime too.
  • DebugBuild: $true/$false (default: $false)
  • StaticRuntime: $true/$false (default: $false)
  • AdditionalConfig: String to append on configure command (default: "")

Output Format

The name of the output folder will be generated as follows:

icu-$Version-$VisualStudioYear-$Architecture[_static][_debug][_MT]

Conditions for Postfixes:

  • _static: will be set if -Static is enabled
  • _debug: will be set if -DebugBuild is enabled
  • _MT: will be set if -StaticRuntime is enabled

build-icu's People

Contributors

andyd87 avatar

Watchers

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