There are several builds defined here, and a few more sketched out that don't quite work. Most of the steps call out to external shell or batch files, to make things easier to keep track of.
10 lines
412 B
Bash
Executable File
10 lines
412 B
Bash
Executable File
#!/bin/sh -ve
|
|
|
|
# brew install SFML does not install it as frameworks,
|
|
# so instead we manually download the release from GitHub
|
|
# and copy the files to an appropriate location.
|
|
|
|
curl -LO https://github.com/SFML/SFML/releases/download/2.5.1/SFML-2.5.1-macOS-clang.tar.gz
|
|
tar -xzf SFML-2.5.1-macOS-clang.tar.gz
|
|
cp -r SFML-2.5.1-macOS-clang/Frameworks/* SFML-2.5.1-macOS-clang/extlibs/* $(brew --prefix)/Frameworks
|