test/convenience_scripts/compile_it.sh
author Krista Bennett <krista@pep-project.org>
Tue, 08 May 2018 15:43:07 +0200
branchlocal_cpptest
changeset 2661 2b0b15a718bc
child 3292 673b8c6da681
permissions -rwxr-xr-x
Ok, all tests are in the infrastructure, though we now need to move the auxiliary files somewhere useful and update the tests.
krista@2661
     1
#!/bin/bash
krista@2661
     2
g++ -std=gnu++11 -pthread -fdiagnostics-color=always -I../src -I../asn.1 -I/home/krista/include -I./include -g -ggdb   -c -o $1.o $1.cc
krista@2661
     3
#g++ -std=gnu++11 -pthread -fdiagnostics-color=always -I../src -I../asn.1 -I/home/krista/include -I./include -g -ggdb   -c -o test_util.o src/util/test_util.cc
krista@2661
     4
g++ -std=gnu++11 -pthread -fdiagnostics-color=always -I../src -I../asn.1 -I/home/krista/include -I./include -g -ggdb   -c -o test_util.o test_util.cc
krista@2661
     5
g++ -std=gnu++11 -pthread $1.o test_util.o  -L/home/krista/lib -L../asn.1 -L../src  -letpan -lpEpEngine -lstdc++ -lasn1 -luuid -lsqlite3 -o $1
krista@2661
     6