Moritz Bunkus
f588ebbe32
configure: check for system-wide installed jpcre2.hpp & use if new enough
...
Implements #2929 .
2020-09-30 17:19:02 +02:00
Moritz Bunkus
941e47d97c
build system: look for & require the PCRE2 library
2020-08-20 13:29:29 +02:00
Moritz Bunkus
da3e52e8a1
build-config.in: sort lines
2020-08-19 17:52:46 +02:00
Moritz Bunkus
a8139750c5
build system: look for and use libdvdread if found
...
This library is required for reading chapters from DVDs.
Part of the implementation of #2808 .
2020-05-03 11:53:20 +02:00
Moritz Bunkus
0d962e30c4
build system: move flag generation to Rakefile for several features
...
Features include debuging, profiling, optimizations & sanitizers. The
flags don't depend on something that's actually tested, but only on
which features are enabled and which compiler & compiler version is
used. Therefore doing it in Ruby instead of sh is easier.
2019-10-08 00:44:08 +02:00
Moritz Bunkus
3cbd95b003
build system: move compiler flag determination to Rakefile
...
Logic's more straight forward to implement there instead of having to
check in `configure`, adding a variable to `build-local.in` and using
that variable later on. The logic's the same in both places anyway.
2019-02-23 21:11:19 +01:00
Moritz Bunkus
6e7f04a142
fmt conversion: integrate bundled fmt into build system
2018-11-20 21:30:27 +01:00
Moritz Bunkus
7f3d89d9e6
build system: optionally link against Dr. MinGW's crash backtrace library
2018-09-11 19:13:31 +02:00
Moritz Bunkus
b1424bfea4
build system: remove superfluous variable
...
`DOCBOOK_MANPAGES_STYLESHEET` was removed in revision
113450f23c
.
2018-08-09 15:26:35 +02:00
Moritz Bunkus
549ccc9b09
build system/Linux packaging: install AppStream metadata file
2018-08-09 15:22:33 +02:00
Moritz Bunkus
471fc84ed2
nlohmann-json: update to v3.1.1 (git revision g183390c1)
2018-06-08 22:17:08 +02:00
darealshinji
f26523ebbf
don't make programs believe this was a Quake .pak file
2018-05-16 14:30:03 +00:00
Moritz Bunkus
9eaf235c76
build system: only use -Wshadow-compatible-local if compiler supports it
2018-04-17 23:28:50 +02:00
Moritz Bunkus
f99bea1f4a
Windwos build: support shared libraries
2018-04-08 12:26:03 +02:00
Moritz Bunkus
e960dc86fa
build system: support for creating a compilation database
2018-02-26 21:42:25 +01:00
Moritz Bunkus
a26be1f600
configure: verify presence of msgfmt
instead of relying on it
2018-01-21 13:04:29 +01:00
Moritz Bunkus
f700dfbd1e
build system: require cmark when building the GUIs
2018-01-01 16:42:06 +01:00
Moritz Bunkus
0fc23cd7bd
build system: option for running unit tests with valgrind
2017-12-18 22:02:50 +01:00
darealshinji
4c5ca7ebe5
AppImage compatibility build option
2017-12-12 09:59:34 +01:00
Moritz Bunkus
cd155df59b
configure rework compiler type & version check
2017-11-18 10:46:36 +01:00
Moritz Bunkus
336726825b
build system: use llvm's lld linker when building with clang
2017-11-17 22:44:54 +01:00
Moritz Bunkus
abb66a5486
build system: check for Google Benchmark, compile benchmark if source exists
2017-11-16 15:15:46 +01:00
Moritz Bunkus
504209ce71
configure: options for enabling address/undefined behavior sanitizers
...
The `Rakefile` has supported both for a while now, but the values had
to be set manually in `build-config`.
2017-07-15 16:59:58 +02:00
Moritz Bunkus
c1213feac3
build system: try detecting pugixml via pkg-config with fallback
...
Implements #1891 .
2017-02-13 20:47:45 +01:00
Moritz Bunkus
113450f23c
build system: make xsltproc, DocBook mandatory for man pages
...
Additionally don't try to build or install the translated man pages if
po4a wasn't found or doesn't work.
See #1865 .
2017-01-25 21:19:10 +01:00
Moritz Bunkus
d7b691b6f5
all: remove --check-for-updates command line option & dependency on CURL
2016-12-30 15:01:30 +01:00
Moritz Bunkus
0271688719
build system: remove checks for etags/ebrowse
2016-12-16 14:15:39 +01:00
Moritz Bunkus
cd26a118b2
build system: build ebml_validator tool when not cross-compiling
...
The tests using mkvpropedit run ebml_validator afterwards. Therefore the
tool should be built if there's a chance the tests are run.
2015-11-21 15:07:39 +01:00
Moritz Bunkus
d867a79d97
build system: use {EBML,MATROSKA}_{CFLAGS,LIBS} from pkg-config if not internal
2015-11-21 11:56:27 +01:00
Moritz Bunkus
20e26c840b
build system: remove option --without-mkvtoolnix-gui
2015-08-15 20:33:46 +02:00
Moritz Bunkus
64465ce72b
all: remove support for wxWidgets; remove mmg
2015-08-15 20:33:46 +02:00
Moritz Bunkus
94eb9af366
build system: enable gcc's stack protection
...
Implements #1370 .
2015-08-11 15:02:58 +02:00
Moritz Bunkus
65b8e83f3e
build system: use -march=i686 for 32bit mingw builds
...
Boost is built with the same optimizations. And if they're not used then
the linker will spill annoying (but harmless) warnings about »data
section size mismatch«.
2015-08-10 22:38:44 +02:00
Moritz Bunkus
479f5d3670
build system: build Qt translation files on MingW
2015-06-03 20:06:34 +02:00
Moritz Bunkus
3b8458f38d
build system: compile without maybe-uninitialized warnings for gcc
...
See e.g.
http://stackoverflow.com/questions/21755206/how-to-get-around-gcc-void-b-4-may-be-used-uninitialized-in-this-funct
2015-05-23 19:45:35 +02:00
Moritz Bunkus
afb6472d6d
build system: use correct order for linker flags for internal libEBML/libMatroska
...
Should fix #1177 .
2015-04-28 13:55:10 +02:00
Moritz Bunkus
728fb0a307
GUI, mkvinfo GUI: link against Cocoa platform plugin on Mac OS
2015-04-19 19:53:12 +02:00
Moritz Bunkus
74ec1ce631
build system: include new variable UTF8CPP_INTERNAL in build-config.in
2015-04-07 19:20:38 +02:00
Moritz Bunkus
c2a74a8ebe
build system: don't build tools by default but provide configure option
2015-03-25 20:21:59 +01:00
Moritz Bunkus
2fcc79b00c
build system: check for and turn off some new warnings from clang++ 3.6
...
These warnings include -Winconsistent-missing-override and
-Wpotentially-evaluated-expression which are both triggered by code out
of my control (Qt and wxWidgets).
2015-03-25 17:51:30 +01:00
Moritz Bunkus
4f116a93b5
build system: test for -std=c++14
2015-03-24 17:04:35 +01:00
Moritz Bunkus
3a857b7665
build system: use PACKAGE_NAME instead of self-defined variables part 3
...
configure defaults to using ${PACKAGE_TARBALL} inside the $docdir
variable if AC_INIT is used. So make sure all of the variables declared
by AC_INIT are present in build-config.
2015-02-28 17:46:22 +01:00
Florent Thiéry
b00eeac099
rename STATIC_LIBS by LINK_STATICALLY because it was misleading
2015-02-19 13:36:40 +01:00
Anthony Violo
1e6b546cd1
Added option to compile static binaries
2015-02-18 11:44:45 +01:00
Moritz Bunkus
a3f9e99d30
build system: use PACKAGE_NAME instead of self-defined variables part 2
2015-02-14 21:07:01 +01:00
Moritz Bunkus
d17e29af00
build system: use PACKAGE_NAME/_VERSION instead of self-defined variables
2015-02-12 14:35:48 +01:00
Moritz Bunkus
b47ae1ee4b
build system: use libEBML/libMatroska via pkg-config
2014-12-21 10:50:26 +01:00
Moritz Bunkus
61e9e36592
build sys: use system version of pugixml if present
...
Fixes #1090 .
2014-12-05 12:35:39 +01:00
Moritz Bunkus
4a610ce9c1
Build system: Qt: link against and load platform plugin on Windows
2014-09-07 21:30:50 +02:00
Moritz Bunkus
bd0f5bc0df
build system: require Boost's date/time library
2014-05-26 08:49:15 +02:00