Skip to content

Commit

Permalink
Add meson build system
Browse files Browse the repository at this point in the history
[mesonbuild] is a new (not so new already) build system that is
extensively used on the linux desktop.

It would be fantastic to have support for building fdkaac with Meson
in upstream fdkaac, as it would facilitate builds of GStreamer via
Meson's subproject support.

Cross-compilation is of course also supported, but I have not tested
that yet. Meson provides out-of-the-box support for building native
binaries and cross binaries in the same build, which seems like
something that could be useful for fdkaac.

This should be on par with the CMake build definition

[mesonbuild]:https://mesonbuild.com/
  • Loading branch information
thiblahute committed Oct 5, 2021
1 parent 573e93e commit b114dae
Show file tree
Hide file tree
Showing 3 changed files with 408 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fdk-aac/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
foreach header: fdk_aac_headers
configure_file(input: '..' / header, copy: true, output: header.split('/')[-1])
endforeach
Loading

0 comments on commit b114dae

Please sign in to comment.