lw-build-system/skel/scripts/build.c++.app/build.monolithic

16 lines
434 B
Plaintext
Raw Normal View History

# These are external variables, and shouldn't clash with anything else
# @NAME@_MONOLITHIC
#
if [ -z "${@NAME@_MONOLITHIC}" ]
then
SRC="obj/@NAME@.cpp"
MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
MONOLITHIC_SOURCE="$(echo src/@NAME@/TopHeader.h) $(echo src/@NAME@/TopSource.cpp)"
make_monolithic ${SRC} C || return 1
@NAME@_MONOLITHIC=1
MONOLITHIC_DOC="${MONOLITHIC_DOC} ${SRC}"
fi