Arseny Kapoulkine
e3524c90de
scripts: Make archive build reproducible
...
We used to use the current timestamp when building the archive; switch to using
the timestamp of the tag with the version we're packaging.
This requires some monkey patching since tarfile module is always using current
timestamp when writing gzip header...
Also exclude archive.py from archive and simplify release file list in Makefile.
2016-11-28 23:24:27 -08:00
Arseny Kapoulkine
86ed1cf3b9
scripts: Move archive.py from tests
2016-11-27 17:55:41 -08:00
Arseny Kapoulkine
5ca7e7cffc
Rewrite archive script into Python
...
Perl version needed Archive::Zip that for some reason is not installed on WSL by
default. Use this as an opportunity to remove the last Perl script.
2016-11-13 16:52:38 -08:00
Arseny Kapoulkine
bda8b72f81
Remove -b gcov argument
...
It interferes in a somewhat strange way with codecov reporting
2016-07-28 00:07:41 -05:00
Arseny Kapoulkine
1d3befeaf8
Makefile: Add -Wcast-qual
...
It is probably redundant given that we have -Wold-style-cast, but it's better
to warn about casts like this in case we ever need to remove the latter flag.
2016-07-10 18:19:18 -07:00
Arseny Kapoulkine
7699499f25
Add CMakeLists to 'make release' now that it's top-level
2016-06-10 21:12:00 -07:00
Stephan Beyer
6bbbdb7d7e
Make cxxstd an argument to Makefile
...
This determines the used C++ standard.
If you do not want to use a specific C++ standard, use cxxstd=any.
The default is set to c++11.
The "define" PUGIXML_NO_CXX11 is removed from the Makefile
since it is not used in the code anyways.
2016-01-26 22:14:58 +01:00
Arseny Kapoulkine
af3cd2e7b6
Add config=analyze
2015-10-18 18:00:17 -07:00
Arseny Kapoulkine
cd4eadcc2b
Use -pedantic instead of -Wpedantic
...
Travis CI strikes once more.
2015-10-17 14:24:20 -07:00
Arseny Kapoulkine
3ac9555d8d
Enable a few more warnings
2015-10-17 14:21:56 -07:00
Arseny Kapoulkine
285fec31fc
Fix 'make release' after clean checkout
2015-10-10 12:35:40 -07:00
Arseny Kapoulkine
abdba2235d
build: Fix -o gcov option
...
Also upload just pugixml.cpp.gcov to codecov to avoid issues the script has
with old gcov.
2015-08-25 10:36:44 -07:00
Arseny Kapoulkine
c7acc6d1f4
build: Rework config=coverage to be more robust
...
Use find -exec instead of xargs to work around differences between xargs on OSX
and Linux.
Use -b option of gcov - for some reason gcov on Travis can't find .gcno files
otherwise (old version?).
And finally enable config=coverage again.
2015-08-25 09:57:21 -07:00
Arseny Kapoulkine
1d854cd420
build: Simplify coverage configuration
...
Use -coverage option and keep NDEBUG off
2015-08-25 08:14:20 -07:00
Arseny Kapoulkine
238b786bfe
Makefile now supports Xcode 7 ASAN
...
All other sanitizers are still unavailable so only enable them on non-OSX
systems.
2015-06-13 00:00:08 -07:00
Arseny Kapoulkine
107239c927
Add config=sanitize support to Makefile
2015-05-12 20:57:57 -07:00
Arseny Kapoulkine
250d020e9b
Use -std=c++0x instead of -std=c++11
2015-04-21 20:46:33 -07:00
Arseny Kapoulkine
8d4544f2e1
Enable C++11 in Makefile
2015-04-21 20:32:40 -07:00
Arseny Kapoulkine
e2e5bc906a
Use -fno-exceptions flag for PUGIXML_NO_EXCEPTIONS build
...
This makes sure that no exception handling mechanisms are used if
PUGXML_NO_EXCEPTIONS is defined.
2015-04-11 22:42:27 -07:00
Arseny Kapoulkine
10ff488eb9
docs: Use automatically retrieved version for docs
...
This eliminates one more hardcoded version from the repo, yay!
2015-03-24 20:59:04 -07:00
Arseny Kapoulkine
fc20b0afbb
Update Makefile to exclude docs/manual folder from release
2015-03-24 20:08:06 -07:00
Arseny Kapoulkine
704d27622b
Add include dependencies to HTML targets
2015-03-22 11:34:06 -07:00
Arseny Kapoulkine
d8f900f148
Add docs target to Makefile
2015-03-21 21:06:48 -07:00
Arseny Kapoulkine
5642f4d6e2
Add release target to Makefile
2015-03-20 00:36:10 -07:00
Arseny Kapoulkine
d1aad862d6
Makefile refactoring
...
Simplify test source specification, disable built-in rules and suffixes
2015-03-20 00:34:37 -07:00
Arseny Kapoulkine
15fba1debc
tests: Add support for afl-fuzz
...
With the current setup it successfully finds the (fixed) DOCTYPE buffer overrun
in ~50 minutes (on a single core).
2015-03-13 00:18:30 -07:00
Arseny Kapoulkine
35a63cb1e6
Don't use xargs -r since it's a GNU extensions.
...
Instead just ignore the result of xargs.
2015-02-12 08:55:45 -08:00
Arseny Kapoulkine
97893ad738
Fix first-time make config=coverage test
...
Not sure why xargs -r is not the default...
2014-11-01 08:59:49 +01:00
Arseny Kapoulkine
503abf607a
Add 'coverage' configuration to Makefile.
...
git-svn-id: https://pugixml.googlecode.com/svn/trunk@1079 99668b35-9821-0410-8761-19e4c4f06640
2014-10-25 05:28:37 +00:00
Arseny Kapoulkine
543fa8268d
Add Makefile for building and running tests.
...
This expands and replaces the Travis-specific makefile by adding more options and correctly tracking header dependencies.
Also add wchar_t mode test to Travis configuration.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@971 99668b35-9821-0410-8761-19e4c4f06640
2014-02-09 21:56:30 +00:00