Mercurial > hg > orthanc
comparison OrthancFramework/Resources/ThirdParty/icu/Version.cmake @ 4044:d25f4c0fa160 framework
splitting code into OrthancFramework and OrthancServer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jun 2020 20:30:34 +0200 |
parents | Resources/ThirdParty/icu/Version.cmake@2a38e00a0638 |
children | 304842a0d152 |
comparison
equal
deleted
inserted
replaced
4043:6c6239aec462 | 4044:d25f4c0fa160 |
---|---|
1 # NB: Orthanc assume that the platform is of ASCII-family, not of | |
2 # EBCDIC-family. A "e" suffix would be needed on EBCDIC. Look for | |
3 # macro "U_ICUDATA_TYPE_LETTER" in the source code of icu for more | |
4 # information. | |
5 | |
6 include(TestBigEndian) | |
7 TEST_BIG_ENDIAN(IS_BIG_ENDIAN) | |
8 if(IS_BIG_ENDIAN) | |
9 set(LIBICU_SUFFIX "b") | |
10 else() | |
11 set(LIBICU_SUFFIX "l") | |
12 endif() | |
13 | |
14 set(LIBICU_BASE_URL "http://orthanc.osimis.io/ThirdPartyDownloads") | |
15 | |
16 if (USE_LEGACY_LIBICU) | |
17 # This is the latest version of icu that compiles without C++11 | |
18 # support. It is used for Linux Standard Base and Visual Studio 2008. | |
19 set(LIBICU_URL "${LIBICU_BASE_URL}/icu4c-58_2-src.tgz") | |
20 set(LIBICU_MD5 "fac212b32b7ec7ab007a12dff1f3aea1") | |
21 set(LIBICU_DATA_VERSION "icudt58") | |
22 set(LIBICU_DATA_COMPRESSED_MD5 "a39b07b38195158c6c3070332cef2173") | |
23 set(LIBICU_DATA_UNCOMPRESSED_MD5 "54d2593cec5c6a4469373231658153ce") | |
24 else() | |
25 set(LIBICU_URL "${LIBICU_BASE_URL}/icu4c-63_1-src.tgz") | |
26 set(LIBICU_MD5 "9e40f6055294284df958200e308bce50") | |
27 set(LIBICU_DATA_VERSION "icudt63") | |
28 set(LIBICU_DATA_COMPRESSED_MD5 "be495c0830de5f377fdfa8301a5faf3d") | |
29 set(LIBICU_DATA_UNCOMPRESSED_MD5 "99613c3f2ca9426c45dc554ad28cfb79") | |
30 endif() | |
31 | |
32 set(LIBICU_SOURCES_DIR ${CMAKE_BINARY_DIR}/icu) | |
33 set(LIBICU_DATA "${LIBICU_DATA_VERSION}${LIBICU_SUFFIX}.dat.gz") | |
34 set(LIBICU_DATA_URL "${LIBICU_BASE_URL}/${LIBICU_DATA}") |