1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-30 15:29:56 +00:00
mpv/DOCS
wm4 4ed0907f2d build: try to make examples build both in-tree and out-of-tree
The examples simple.c and cocoabasic.m can be compiled without
installing libmpv. But also, they didn't use the correct include path
libmpv programs normally use, so they couldn't be built with a properly
installed system-libmpv. That's pretty bad for examples, which are
supposed to show how to use libmpv correctly.

So do some bullshit that symlinks libmpv to a "mpv" include directory
under the build directory. This name-mismatch is a direct consequence of
the bullshit done in 499a6758 (requested in  for dumb reasons). (We
don't want to name the client API headers directory "mpv", because that
would be too unspecific, and clashes with having the mpv binary in the
same directory.)

If you have spaces or other "unusual" characters in your paths, the
build will break, because I couldn't find out where waf hides its
function to escape shell parameters (or a way to invoke programs
without involving the shell). Neither does such a thing to be
documented, nor do they seem to have a clear way to do this in
their code.

This also doesn't compile the Qt examples, because everything becomes
even more terrible from there on.
2015-01-02 00:00:03 +01:00
..
client_api_examples build: try to make examples build both in-tree and out-of-tree 2015-01-02 00:00:03 +01:00
man manpage: fix typo 2015-01-01 22:54:26 +01:00
client-api-changes.rst client API: add function to create new mpv_handles from existing ones 2014-12-31 20:50:06 +01:00
contribute.md DOCS/contribute.md: remove unintentional headline 2014-12-11 21:33:01 +01:00
crosscompile-mingw.md DOCS/crosscompile-mingw: update 2014-12-12 01:08:51 +01:00
edl-mpv.rst Drop libquvi support 2014-10-25 20:18:22 +02:00
encoding.rst manpage: update config file locations 2014-06-28 15:55:09 +02:00
release-policy.md DOCS: mark the recent release in client-api-changes.rst 2014-08-12 23:01:19 +02:00
tech-overview.txt DOCS/tech-overview.txt: some updates 2014-08-18 01:21:13 +02:00
waf-buildsystem.rst