annotate Resources/ThirdParty/icu/README.txt @ 3499:d8f7c3970e25

more tolerance in ImageProcessing::Set()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 23 Aug 2019 17:31:43 +0200
parents 905ee53c8274
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3242
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 Generating ICU data file
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 ========================
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 This folder generates the "icudtXXX_dat.c" file that contains the
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 resources internal to ICU.
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 IMPORTANT: Since ICU 59, C++11 is mandatory, making it incompatible
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 with Linux Standard Base (LSB) SDK. The option
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 "-DUSE_LEGACY_LIBICU=ON" will use the latest version of ICU that does
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 not use C++11 (58-2).
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 Usage
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 -----
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 Newest release of icu:
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 $ cmake .. -G Ninja && ninja install
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19
3269
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3251
diff changeset
20 Legacy version suitable for LSB:
3242
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 $ cmake .. -G Ninja -DUSE_LEGACY_LIBICU=ON && ninja install
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23
3251
fcfd4f73228c using masm if compiling icu with Visual Studio
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 3243
diff changeset
24 Legacy version, compiled using LSB:
3242
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -G Ninja \
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 -DCMAKE_TOOLCHAIN_FILE=../../../LinuxStandardBaseToolchain.cmake \
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28 -DUSE_LEGACY_LIBICU=ON
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 $ ninja install
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
30
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
31
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
32 Result
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
33 ------
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
34
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
35 The resulting files are placed in the "ThirdPartyDownloads" folder at
5d78df37c62f automating compilation if icu is used
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36 the root of the Orthanc repository (next to the main "CMakeLists.txt").