2009-10-10 20:14:04 +00:00
|
|
|
# Latest jamplus is needed to use this
|
|
|
|
# Targets:
|
|
|
|
# pugixml - build pugixml library
|
|
|
|
# tests - build pugixml test suite
|
|
|
|
# run_tests - run pugixml test suite
|
|
|
|
# coverage - get test suite coverage
|
|
|
|
|
|
|
|
include "Jamrules.jam" ;
|
|
|
|
|
|
|
|
BUILD = build/mingw/debug ;
|
|
|
|
CCFLAGS = -fprofile-arcs -ftest-coverage ;
|
|
|
|
LDFLAGS = -fprofile-arcs ;
|
|
|
|
GCOVFLAGS = -n ;
|
|
|
|
|
|
|
|
Library pugixml : src/pugixml.cpp src/pugixpath.cpp ;
|
2009-10-10 21:36:03 +00:00
|
|
|
Application tests : tests/main.cpp [ Glob tests : test_*.cpp ] : pugixml ;
|
2009-10-10 20:14:04 +00:00
|
|
|
Test run_tests : tests ;
|
|
|
|
Coverage coverage : run_tests ;
|