xlnt/third-party/cxxtest/doc/examples/buildRunner24.sh

17 lines
240 B
Bash
Raw Normal View History

#!/bin/bash
. GetGlobals.sh
export PATH=$CXXTEST/bin:$PATH
# @main:
cxxtestgen --fog --error-printer -o runner.cpp Namespace2.h
# @:main
# @compile:
g++ -o runner -I$CXXTEST -I. runner.cpp
# @:compile
./runner
\rm -f runner runner.cpp