Include *.h files in C++ monolithic builds
This commit is contained in:
parent
f7b12a8cfb
commit
08e65801fb
|
@ -8,7 +8,8 @@ MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
|
|||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||
then
|
||||
PREMOC="${SRC}.premoc.cpp"
|
||||
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.cc' | sort)"
|
||||
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.h' | sort) \
|
||||
$(find src/@NAME@/ -name '*.cc' | sort)"
|
||||
make_monolithic ${PREMOC} C || return 1
|
||||
|
||||
if [ "${PREMOC}" -nt "${SRC}" ]
|
||||
|
|
|
@ -7,7 +7,8 @@ MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
|
|||
|
||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||
then
|
||||
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.cc' | sort)"
|
||||
MONOLITHIC_SOURCE="$(find src/@NAME@/ -name '*.h' | sort) \
|
||||
$(find src/@NAME@/ -name '*.cc' | sort)"
|
||||
make_monolithic ${SRC} C || return 1
|
||||
|
||||
@CNAME@_MONOLITHIC=1
|
||||
|
|
Loading…
Reference in New Issue