[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.
This commit is contained in:
@@ -18,6 +18,8 @@ target_link_libraries(
|
||||
PRIVATE Mapbox::Base::Extras::args mbgl-core
|
||||
)
|
||||
|
||||
install(TARGETS mbgl-offline mbgl-render RUNTIME DESTINATION bin)
|
||||
|
||||
# FIXME: CI must have a valid token
|
||||
#
|
||||
# add_test(NAME mbgl-offline-tool-test COMMAND mbgl-offline -s mapbox://styles/mapbox/satellite-v9 --maxZoom=0 WORKING_DIRECTORY
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -36,3 +36,5 @@ target_link_libraries(
|
||||
)
|
||||
|
||||
set_property(TARGET mbgl-glfw PROPERTY FOLDER Executables)
|
||||
|
||||
install(TARGETS mbgl-glfw RUNTIME DESTINATION bin)
|
||||
|
||||
Reference in New Issue
Block a user