Commit Graph

39 Commits

Author SHA1 Message Date
KatieFrogs
49004ee1e1 CMake: Fix downloading Speex 2022-04-14 15:29:54 +03:00
Adam Gashlin
abafdb4b9e Use NOT VERSION_LESS for CMake 3.6 2022-03-22 13:45:39 -07:00
Adam Gashlin
ea45158d7d Only use FetchContent on CMake >= 3.11 2022-03-22 13:07:44 -07:00
Lukas Cone
e7e6365bdd
fixed system ffmpeg detection 2022-03-07 09:25:47 +01:00
KatieFrogs
04b5a1f098 Cmake: Fix Celt not downloading
Falls back to downloading through Git if it downloads an empty file
2022-02-04 06:29:15 +03:00
KatieFrogs
21af22ac2b Fix jansson not building 2021-10-25 11:03:15 +03:00
KatieFrogs
493c12916c Cmake: Build mpg123 and jansson for wasm target 2021-10-25 10:06:59 +03:00
KatieFrogs
64b360b4d9 Actions: Add dependency caching for Linux and wasm 2021-10-23 10:48:06 +03:00
KatieFrogs
ba271b800b Remove ogg dependency from celt 2021-10-22 19:56:36 +03:00
KatieFrogs
55a85957ff Download preconfigured celt 2021-10-22 16:59:33 +03:00
KatieFrogs
bf0924823c Use cmake ranlib in speex 2021-10-22 11:31:57 +03:00
KatieFrogs
15713562a1 Fix ogg dependency 2021-10-22 10:29:06 +03:00
KatieFrogs
c6a7070428 Cmake: Build celt for wasm target 2021-10-22 10:09:33 +03:00
KatieFrogs
d53c624ab9 Fix static build with celt 2021-10-22 08:19:11 +03:00
KatieFrogs
009bddf976 Cmake: Build celt for Linux target 2021-10-22 07:51:04 +03:00
KatieFrogs
bf89c3503d Cmake: Fixes for dependencies
- Sets dependencies for targets
  - Fixes not being able to build single targets, like `make vgmstream_cli`
  - Fixes not being able to build with multiple jobs, like `make -j 5`
- Compiles dependencies out of the source directory
- Fixes double lib suffix, renaming liblibvgmstream.a to libvgmstream.a
- Removes zlib dependency from static builds, previously required by ffmpeg
- If ARCHIVE_EXTRACT is not available in cmake, mpg123 will be downloaded through svn, then fall back to git if that is not available either
2021-10-02 09:02:27 +03:00
bnnm
a46606fddb cmake: mpg123 downloads in v3.18< 2021-10-01 00:06:19 +02:00
LoveEevee
22639565f6 Cmake fixes 2021-09-27 02:36:54 +03:00
LoveEevee
60cb90c4a0 Cmake: Build FFmpeg for wasm target 2021-09-19 20:00:39 +03:00
LoveEevee
81ebcddd7b Cmake: Refactor dependency fetching
- Build maiatrac3plus on targets without ffmpeg
2021-09-19 08:46:47 +03:00
LoveEevee
63ec122712 Do not require opus in shared builds 2021-08-30 08:07:37 +03:00
LoveEevee
a9c398e8c8 Static link more libraries 2021-08-30 07:52:15 +03:00
LoveEevee
25d6b980dc Add static building option in cmake
Not compatible:
- mpeg
- ffmpeg
- speex
- vgmstream123
- audacious plugin
2021-08-28 20:32:52 +03:00
LoveEevee
4bd621abac Add Atrac9 and Speex to cmake on Linux 2021-08-27 17:04:32 +03:00
bnnm
d351710887 cli/audacious/foobar: print logs 2021-08-26 18:43:17 +02:00
LoveEevee
26f2e7cd28 Add G.719 support on Linux 2021-08-25 18:50:20 +03:00
Lukas Cone
0bdc09f56e fix cmake cache var override 2021-07-23 10:50:35 +02:00
Lukas Cone
aa196055c2 Allow use of external ffmpeg SDK 2021-07-17 20:09:11 +02:00
Lukas Cone
be7a8371ba ffmpeg includes from system for unix 2021-07-17 20:09:11 +02:00
bnnm
628e98116b Update builds for libspeex 2021-01-23 16:44:16 +01:00
Naram Qashat
1441caccc5 Some CMake updates.
* Remove a couple TODO messages as they have already been done.
* Add check for parent directory to stop warning about there being no parent scope if building vgmstream directly.
* Remove the options for FDK-AAC and QAAC.
* Fix a few uses of CMAKE_CURRENT_SOURCE_DIR to use VGM_SOURCE_DIR (for consistency sake).
* Fix a few uses of CMAKE_BINARY_DIR to use VGM_BINARY_DIR.
* Add some conditionals for the install paths so they don't show if you aren't building something.
2020-03-07 22:25:31 -04:00
bnnm
7762bce8a5 Remove libg7221_decode 2020-01-12 12:33:37 +01:00
Lukas Cone
087ed737ca CMake Refactor 2020-01-11 17:34:53 +01:00
Naram Qashat
b469045937 Fix build on *nix-based systems by linking to libm. 2019-03-23 12:47:06 -04:00
Naram Qashat
4b99dd6a7f Add vgmstream123 to CMake scripts (and make compile), other cleanups
For some reason vgmstream123 doesn't actually play anything for me...
2019-03-20 22:23:47 -04:00
Naram Qashat
2dda273627 Add install rules to CMake scripts 2019-03-19 22:00:48 -04:00
Naram Qashat
30506a084a Add Audacious CMake script, cleanup
Also had to fix a few of the audacious files to get them to compile, mainly not using NULL in the input plugin constructor and casting the STREAMFILE functions (maybe some *nix compilers would've accepted those, but FreeBSD 12's Clang did not)
2019-03-18 00:17:08 -04:00
Naram Qashat
4fc51407e9 Add XMPlay CMake script, fix bug, cleanup 2019-03-17 19:38:06 -04:00
Naram Qashat
78748393db Add CMake scripts
Needed to change how version.h was included to let it pick up the one from CMake's build location.

NOTE: Does not build with MinGW-w64 currently, does not have a way to build the audacious or XMPlay plugins.
2019-03-17 14:36:55 -04:00