1# Copyright 2017 Rene Rivera 2# Distributed under the Boost Software License, Version 1.0. 3# (See accompanying file LICENSE_1_0.txt or copy at 4# http://www.boost.org/LICENSE_1_0.txt) 5 6import feature ; 7 8#| tag::doc[] 9 10[[bbv2.builtin.features.optimization]]`optimization`:: 11*Allowed values:* `off`, `speed`, `space`. 12+ 13Enables optimization. `speed` optimizes for faster code, `space` optimizes for 14smaller binary. 15 16|# # end::doc[] 17 18feature.feature optimization 19 : off speed space 20 : propagated ; 21 22#| tag::inline-doc[] 23 24[[bbv2.builtin.features.inlining]]`inlining`:: 25*Allowed values:* `off`, `on`, `full`. 26+ 27Enables inlining. 28 29|# # end::inline-doc[] 30 31feature.feature inlining 32 : off on full 33 : propagated ; 34 35#| tag::vector-doc[] 36 37[[bbv2.builtin.features.vectorize]]`vectorize`:: 38*Allowed values:* `off`, `on`, `full`. 39+ 40Enables vectorization. 41 42|# # end::vector-doc[] 43 44feature.feature vectorize 45 : off on full 46 : propagated ; 47