Commit Graph

4 Commits (master)

Author SHA1 Message Date
Anthony Bilinski e4552cf905
chore(CI): Add support for building toxcore and toxext for macOS
CMAKE_OSX_DEPLOYMENT_TARGET has no effect when not building for macOS.
2022-03-21 20:02:15 -07:00
Anthony Bilinski 42b4385c35
chore(CI): Use platform detection script in Windows dep build scripts
Allows future macOS configuration in each individual build script to not all be
duplicated. Also deduplicates current Windows arg checking and config setting.
2022-03-15 22:39:07 -07:00
Anthony Bilinski 9bf17acca6
chore(CI): Handle build scripts called with relative paths with spaces
foo=dirname "$0" only works if the script is called with an absolute path and
that path contains no spaces. Add quotes everywhere to contain spaces in
directory names or file names, and add realpath to get the absolute path
regardless of call path.

Not necessarily needed, but like in e405868037
it can avoid some annoying issues when e.g. that script was called with a
relative path in CI.
2022-03-13 06:20:44 -07:00
Anthony Bilinski 69514319fd
chore(CI): Rename Windows build scripts to be used commonly by macOS 2022-03-13 06:20:25 -07:00