Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 379 Bytes
include(common.pri)
# Build library and tests
TEMPLATE = subdirs
SUBDIRS = src
# Use friendly make target name
src.target = lib
# Check if tests should be built
contains(DEFINES, BB_TEST_BUILD) {
# Recurse into tests directory
SUBDIRS += tests
# Make tests dependent on library and use friendly make target name
tests.depends = src
tests.target = tests
}