Commit Graph

43 Commits

Author SHA1 Message Date
KatieFrogs
c6a7070428 Cmake: Build celt for wasm target 2021-10-22 10:09:33 +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
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
4ef8d5e229 Cmake: Compile vorbis for wasm target 2021-09-15 07:08:21 +03:00
LoveEevee
20df7e8e1b Cmake: Compile speex for wasm target 2021-09-14 00:11:27 +03:00
LoveEevee
c4fd4a4f82 Add emscripten build step to GitHub Actions 2021-09-13 01:06:07 +03:00
LoveEevee
854896cf34 Set default cmake flags for emscripten, support atrac9 2021-09-13 00:17:00 +03:00
bnnm
e1c9da8bea build: cmake tweak for ffmpeg 2021-09-12 20:08:38 +02:00
LoveEevee
15baff812b Update docs 2021-08-31 14:56:49 +03:00
LoveEevee
f82bcb5e4b Fail instead of segfault 2021-08-30 12:30:24 +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
LoveEevee
2870ff0f6d Check for git before fetching 2021-08-26 12:01:17 +03:00
LoveEevee
26f2e7cd28 Add G.719 support on Linux 2021-08-25 18:50:20 +03:00
bnnm
9407cda157 cmake: tweak to avoid permission failure on linux 2021-08-12 20:02:32 +02:00
bnnm
0b14f9a446 builds: modify how version.h is used to fix issues
- version.h is now static (should increase on new releases)
- if compiler flag is passed, will try to use version_auto.h (autogen)
(auto only on compiler flag to avoid include'ing a non-existant file)
- avoid clobbered version.h as may force recompiles
2021-08-10 23:51:48 +02:00
bnnm
38ace8cf7e cmake: version generation fixes and some tweaks 2021-08-08 18:37:52 +02:00
bnnm
25b95c61ae builds: clean version makers a bit 2021-08-08 14:00:58 +02:00
bnnm
52f04eef82 build: VERSION fixes
- rename to VERSION to VGMSTREAM_VERSION to avoid some clashes
- improve git-less builds
2021-08-07 20:41:50 +02:00
bnnm
6f7226ea04 cmake: don't build foobar for MinGW 2021-08-07 13:01:55 +02: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
4681aecada fixed pkgconfig include error for cmake 2021-07-17 20:09:11 +02:00
Lukas Cone
42f97bf7a6 ffmpeg version control for cmake 2021-07-16 17:17:55 +02:00
bnnm
628e98116b Update builds for libspeex 2021-01-23 16:44:16 +01:00
Naram Qashat
7f5e9f0fb9 Fix build with MinGW-w64
Only works with 32-bit, however
2020-10-17 19:25:22 -04:00
Kevin López Brante
65bd9a921e Added JSON dumping capabilities to the CLI.
Co-authored-by: kode54@gmail.com <kode54@gmail.com>
2020-09-28 23:10:23 -03: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
9887406b84 CMake: Changed version.h generation dir 2020-01-11 19:14:13 +01:00
Lukas Cone
087ed737ca CMake Refactor 2020-01-11 17:34:53 +01:00
Lukas Cone
d170b10812 Relativized CMake 2020-01-07 18:42:57 +01:00
Naram Qashat
b7e2b4be81 A couple more CMake fixes. 2019-03-29 23:07:58 -04:00
Naram Qashat
533616f45d Change default of the plugin installations to CMAKE_INSTALL_PREFIX
This was a suggestion from bnnm.
2019-03-21 21:10:03 -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