diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-10-24 01:53:22 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2018-10-31 18:19:28 +0200 |
commit | 69960afb8db0444ec11cb46b47e877cc34f61fc7 (patch) | |
tree | 37bcc19f033aadd8c3c158fad02b8c5e4a9437ed /cmake/icu.cmake | |
parent | 3a3c05bd8aeabf179084bd9a0137edd2abf41e4c (diff) | |
download | qtlocation-mapboxgl-69960afb8db0444ec11cb46b47e877cc34f61fc7.tar.gz |
[build] Add build system for submodules
Vendorize the submodules and a simple CMake build
system for all them. The dependencies will inherit
compilation options for core.
The goal is to make Mapbox GL Core completely self
contained with a simple offline build.
Diffstat (limited to 'cmake/icu.cmake')
-rw-r--r-- | cmake/icu.cmake | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/cmake/icu.cmake b/cmake/icu.cmake deleted file mode 100644 index ba98c7737a..0000000000 --- a/cmake/icu.cmake +++ /dev/null @@ -1,26 +0,0 @@ -add_vendor_target(icu STATIC) - -target_compile_definitions(icu - PRIVATE "-D_REENTRANT" - PRIVATE "-DU_HAVE_ATOMIC=1" - PRIVATE "-DU_HAVE_STRTOD_L=0" - PRIVATE "-DU_CHARSET_IS_UTF8=1" - PRIVATE "-DU_CHAR_TYPE=uint_least16_t" - PRIVATE "-DUCONFIG_NO_LEGACY_CONVERSION=1" - PRIVATE "-DUCONFIG_NO_BREAK_ITERATION=1" -) - -target_compile_options(icu - PRIVATE "-Wno-shadow" -) - -if(MBGL_PLATFORM STREQUAL "android") - target_compile_options(icu - PRIVATE "-Wno-tautological-unsigned-enum-zero-compare" - ) -elseif(MBGL_PLATFORM STREQUAL "ios") - target_compile_options(icu - PRIVATE "-Wno-shorten-64-to-32" - ) -endif() - |