Rakefile: add arbitrary targets from build-config or environment

This commit is contained in:
Moritz Bunkus 2017-04-23 18:37:26 +02:00
parent 73293de11a
commit 1a305eed93

View File

@ -169,6 +169,7 @@ def define_default_task
targets = $applications.clone
targets << "apps:tools" if $build_tools
targets += (c(:ADDITIONAL_TARGETS) || '').split(%r{ +})
# Build the unit tests only if requested
targets << ($run_unit_tests ? 'tests:run_unit' : 'tests:unit') if $have_gtest