summaryrefslogtreecommitdiff
path: root/next/platform
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-25 15:50:32 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-27 18:32:58 +0200
commitcf160a24d0380e8c8125d79cfb15991c19f50d98 (patch)
tree912436d8225000d2e115b93669c39b228ea7d368 /next/platform
parent8d163c159f7cc0699be488457cf14c67bb07f2c7 (diff)
downloadqtlocation-mapboxgl-cf160a24d0380e8c8125d79cfb15991c19f50d98.tar.gz
[build] Install some of our targets
This will make it easier to measure the binary size because we can strip the binaries from symbols in a portable way.
Diffstat (limited to 'next/platform')
-rw-r--r--next/platform/android/android.cmake2
-rw-r--r--next/platform/glfw/CMakeLists.txt2
2 files changed, 4 insertions, 0 deletions
diff --git a/next/platform/android/android.cmake b/next/platform/android/android.cmake
index e086f8b75b..b0c9c712dc 100644
--- a/next/platform/android/android.cmake
+++ b/next/platform/android/android.cmake
@@ -393,3 +393,5 @@ target_compile_options(mbgl-core PRIVATE $<$<CONFIG:Release>:-Qunused-arguments
target_compile_options(mbgl-render-test-runner PRIVATE $<$<CONFIG:Release>:-Qunused-arguments -flto>)
target_compile_options(mbgl-vendor-icu PRIVATE $<$<CONFIG:Release>:-Qunused-arguments -flto>)
target_compile_options(mbgl-vendor-sqlite PRIVATE $<$<CONFIG:Release>:-Qunused-arguments -flto>)
+
+install(TARGETS mapbox-gl LIBRARY DESTINATION lib)
diff --git a/next/platform/glfw/CMakeLists.txt b/next/platform/glfw/CMakeLists.txt
index d4f1b9d545..e4c0920a44 100644
--- a/next/platform/glfw/CMakeLists.txt
+++ b/next/platform/glfw/CMakeLists.txt
@@ -36,3 +36,5 @@ target_link_libraries(
)
set_property(TARGET mbgl-glfw PROPERTY FOLDER Executables)
+
+install(TARGETS mbgl-glfw RUNTIME DESTINATION bin)