casey langen
4f44829cda
Improve cross-compile support ( #634 )
...
* Update minimum CMake version requirement to get rid of warning.
* Include CMake compile commands for easier diagnostics.
* More improvements to arm toolchain selection while cross-compiling third-party dependencies.
* Use x-tools provided cmake toolchains
* Add a script to download and extract deb dependencies for crosscompile.
* Link against libstdc++ statically when cross-compiling to ARM to improve portability.
* Update GeneratePackage.cmake to generate better filenames.
* Ensure symbols are stripped properly when cross-compiling
* Remove old scripts that are no longer required
* Add script to install x-tools
* Add some docs that describe how to setup a crosscompile environment.
* Add docs for building standlone on Linux
* Update CHANGELOG
* Update version hash.
2023-09-07 22:05:43 -07:00
casey langen
4ffa2f4b29
Fix cmake warning
2023-07-30 13:07:10 -07:00
casey langen
719fa0b3d1
Improved dependency detection; also look for asio before attempting to compile.
2023-07-30 13:01:31 -07:00
casey langen
9965708858
Add find_library_and_header() macro for cmake scripts to further
...
validate installed dependencies.
2023-07-30 12:46:26 -07:00
casey langen
eafe29e94f
Fix RPM architecture value -- we were using amd64
but it should be x86_64
2023-07-29 11:55:10 -07:00
casey langen
03888b7082
Minor build tweaks for newer versions of CMake on macOS
2023-06-17 12:33:48 -07:00
casey langen
4b3a33f2a9
Fix RPM architecture for non-x86_64 builds.
2023-05-07 11:58:48 -07:00
casey langen
567fa7bd57
Fix BSD include/lib paths.
2023-04-14 23:04:52 -07:00
casey langen
53b2c789d0
Update to libcurl-8.0.1
2023-03-26 11:29:46 -07:00
casey langen
ac9bb0b7d5
Remove add_vendor_includes
macro and ensure vendor includes are always correctly ordered in standalone builds.
2023-03-19 20:27:10 -07:00
casey langen
7af01b1d04
Add -fsanitize to debug builds.
2023-01-28 15:45:22 -08:00
casey langen
fa55035de0
Use a shell script to run postinstall stuff.
2023-01-08 18:10:56 -08:00
casey langen
4abdf16dcc
Fix DEB/RPM filenames.
2022-12-25 14:10:18 -08:00
casey langen
f2b430f13c
Remove _standalone
prefix in filenames and directories for vendor'd
...
builds.
2022-12-25 13:32:56 -08:00
casey langen
5c765a9520
A couple tweaks to support compiling against Haiku without changes.
2022-12-24 19:03:46 -08:00
casey langen
0ec1edb981
Remove taglib bundling for Unix platforms; now it's either vendored, or
...
distro-provided.
2022-12-21 21:20:43 -08:00
casey langen
667466292b
Remove a couple variales from the rpi toolchain.
2022-12-21 21:07:17 -08:00
casey langen
8a93388a49
Remove a bunch of old, unused scripts.
2022-12-13 21:07:07 -08:00
casey langen
6f517b6663
Fix OpenBSD build
2022-12-08 01:04:51 -08:00
casey langen
b1fe7c35d6
Fix compiler flags for GCC < 9
2022-12-04 15:09:53 -08:00
casey langen
d46115951b
Additional boost removal from scripts, project files, etc.
2022-12-04 13:57:56 -08:00
casey langen
3685145f1d
Explicit library flags for vendor library builds.
2022-12-03 16:19:01 -08:00
casey langen
90a92c80bd
Update project to use C++ 17 as the default standard library.
2022-12-03 15:29:52 -08:00
casey langen
a4b6155d87
More colors to cmake output.
2022-03-13 23:16:37 -07:00
casey langen
120b6fec0b
Improve the way we scan for and add plugin, and also add the ability to
...
log colors.
2022-03-13 16:53:06 -07:00
casey langen
feb316864a
Merge remote-tracking branch 'robertgzr/buildoptions' into clangen/contributions-03-12-2022
2022-03-12 13:17:51 -08:00
casey langen
66305dcc3f
More path fixes.
2022-02-17 10:55:32 -08:00
casey langen
748346c2e9
More variables.
2022-02-17 10:45:15 -08:00
casey langen
79875fe764
Cross-compile support and various other build cleanups.
2022-02-17 01:45:22 -08:00
casey langen
222fa992bb
Oops, we use this regex (or regexes) to instruct the RPM building
...
process which files NOT to scan for dependencies.
2022-02-15 20:06:48 -08:00
casey langen
16d9f8f167
Use new RPM exclude field.
2022-02-15 19:29:08 -08:00
casey langen
1b1be1c0e0
More RPM generation fixes.
2022-02-15 19:15:30 -08:00
casey langen
358b7fdb31
Add RPM generation.
2022-02-15 18:41:43 -08:00
casey langen
19c1d33516
The archive script also now generates debs.
2022-02-15 16:54:44 -08:00
casey langen
65389f229e
Added the ability to generate a standalone deb.
2022-02-15 16:16:37 -08:00
casey langen
e3f58f2dde
Simplify build-vendor-libraries scripts and paths.
2022-02-15 11:08:46 -08:00
casey langen
7ec96630bc
More macOS rpath fixes. Hopefully this is the last of them.
2022-02-13 11:26:17 -08:00
casey langen
372f0ec2ee
Fix mint build configs, remove bionic.
2022-02-11 19:21:28 -08:00
casey langen
67077638fe
Fix add_plugin().
2022-02-10 19:43:48 -08:00
Casey Langen
c59b130569
Introduced add_plugin() to CMake build system to ensure dependencies are
...
properly configured for musikcube and musikcubed targets.
2022-02-10 18:34:07 -08:00
casey langen
8c4397470d
Fix FreeBSD compile.
2022-02-10 10:31:14 -08:00
casey langen
293e1dfc1b
archive-os.sh => archive-nix.sh
2022-02-10 00:19:54 -08:00
casey langen
c8bdcc70cf
More script refactoring. Also: enable vorbis, opus encoders for ffmpeg.
...
TODO: fix macOS dylibs.
2022-02-09 18:28:52 -08:00
casey langen
b6cb62214f
Script renames.
2022-02-09 17:01:03 -08:00
casey langen
42782ee6ea
Minor script updates.
2022-02-09 15:50:50 -08:00
casey langen
e3f870efc6
Fix normal darwin build
2022-02-08 18:57:30 -08:00
casey langen
a5e0265927
Everything seems to work if we specify LD_LIBRARY_PATH=./bin/lib
2022-02-08 16:57:54 -08:00
casey langen
dff533d1a7
Almost working... musikcube still resolves the wrong version of libssl
...
(but musikcubed is fine??)
2022-02-08 15:58:54 -08:00
casey langen
f113c3ce61
More cleanups.
2022-02-08 13:31:58 -08:00
casey langen
86b0200b27
More refactoring; moving away from "statically link" everything to
...
"bundle everything".
2022-02-08 13:12:53 -08:00