lw-build-system/skel/scripts/build.c++.app/build.monolithic
Laurence Withers 9e8d1e4c15 WIP on module instantiation.
Rather than the skeleton dir shipping with a couple of ready-made
modules, one for each type of project, it would make much more sense and
be much more flexible to instead provide a script to instantiate modules
as needed.
2006-07-24 20:19:15 +01:00

15 lines
434 B
Text

# 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