comparison Resources/ThirdParty/icu/README.txt @ 3242:5d78df37c62f

automating compilation if icu is used
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 16 Feb 2019 09:17:50 +0100
parents
children cf0ad1fb2bb7
comparison
equal deleted inserted replaced
3241:32596919d729 3242:5d78df37c62f
1 Generating ICU data file
2 ========================
3
4 This folder generates the "icudtXXX_dat.c" file that contains the
5 resources internal to ICU.
6
7 IMPORTANT: Since ICU 59, C++11 is mandatory, making it incompatible
8 with Linux Standard Base (LSB) SDK. The option
9 "-DUSE_LEGACY_LIBICU=ON" will use the latest version of ICU that does
10 not use C++11 (58-2).
11
12
13
14 Usage
15 -----
16
17 Newest release of icu:
18
19 $ cmake .. -G Ninja && ninja install
20
21 Legacy version for LSB:
22
23 $ cmake .. -G Ninja -DUSE_LEGACY_LIBICU=ON && ninja install
24
25 Legacy version using LSB:
26
27 $ LSB_CC=gcc-4.8 LSB_CXX=g++-4.8 cmake .. -G Ninja \
28 -DCMAKE_TOOLCHAIN_FILE=../../../LinuxStandardBaseToolchain.cmake \
29 -DUSE_LEGACY_LIBICU=ON
30 $ ninja install
31
32
33 Result
34 ------
35
36 The resulting files are placed in the "ThirdPartyDownloads" folder at
37 the root of the Orthanc repository (next to the main "CMakeLists.txt").