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}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
then
|
||||||
PREMOC="${SRC}.premoc.cpp"
|
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
|
make_monolithic ${PREMOC} C || return 1
|
||||||
|
|
||||||
if [ "${PREMOC}" -nt "${SRC}" ]
|
if [ "${PREMOC}" -nt "${SRC}" ]
|
||||||
|
|
|
@ -7,7 +7,8 @@ MONOLITHIC_TESTS="src/@NAME@/build.app src/@NAME@/build.monolithic"
|
||||||
|
|
||||||
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
if [ -z "${@CNAME@_MONOLITHIC}" ]
|
||||||
then
|
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
|
make_monolithic ${SRC} C || return 1
|
||||||
|
|
||||||
@CNAME@_MONOLITHIC=1
|
@CNAME@_MONOLITHIC=1
|
||||||
|
|
Loading…
Reference in New Issue