Skip to content

Commit

Permalink
Better default for INSTALLABLE_DIRS
Browse files Browse the repository at this point in the history
  • Loading branch information
permcody committed Mar 13, 2022
1 parent bb51e12 commit c4a31c6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion framework/app.mk
Expand Up @@ -5,7 +5,15 @@
# This variable is used to determine whether a C++ header revision file is generated for use
# in your application. You can turn it on/off by changing it in your application Makefile.
GEN_REVISION ?= yes
INSTALLABLE_DIRS ?= tests

# Set a default to install the main application's tests if one isn't set in the Makefile
ifeq ($(INSTALLABLE_DIRS),)
ifneq ($(wildcard $(APPLICATION_DIR)/test/.),)
INSTALLABLE_DIRS := test/tests
else
INSTALLABLE_DIRS := tests
endif
endif

# list of application-wide excluded source files
excluded_srcfiles :=
Expand Down

0 comments on commit c4a31c6

Please sign in to comment.