Skip to content

Commit

Permalink
use xcodebuild on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Dec 25, 2024
1 parent bbc12d9 commit 6fa23af
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,13 @@ pushd OwlProgram
popd

# Pre-build OWL FirmwareSender
make -C FirmwareSender/Builds/Linux/
cp ./FirmwareSender/Builds/Linux/build/FirmwareSender OwlProgram/Tools/
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
make -C FirmwareSender/Builds/Linux/
cp ./FirmwareSender/Builds/Linux/build/FirmwareSender OwlProgram/Tools/
elif [[ "$OSTYPE" == "darwin"* ]]; then
xcodebuild -project FirmwareSender/Builds/MacOSX/FirmwareSender.xcodeproj -target FirmwareSender -configuration Release
cp ./FirmwareSender/Builds/MacOSX/build/Release/FirmwareSender OwlProgram/Tools/
fi

# Copy all libs to toolchain
cp -rf ./libdaisy ./Heavy/lib/libdaisy
Expand Down

0 comments on commit 6fa23af

Please sign in to comment.