summaryrefslogtreecommitdiff
path: root/Jamfile.jam
diff options
context:
space:
mode:
Diffstat (limited to 'Jamfile.jam')
-rw-r--r--Jamfile.jam18
1 files changed, 18 insertions, 0 deletions
diff --git a/Jamfile.jam b/Jamfile.jam
new file mode 100644
index 0000000..bebeae5
--- /dev/null
+++ b/Jamfile.jam
@@ -0,0 +1,18 @@
+# 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 ;
+Application tests : tests/main.cpp : pugixml ;
+Test run_tests : tests ;
+Coverage coverage : run_tests ;