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

17 lines
241 B
Bash
Executable File

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