Skip to content

Instantly share code, notes, and snippets.

@bikerduweb
Last active February 13, 2024 08:04
Show Gist options
  • Save bikerduweb/8519290 to your computer and use it in GitHub Desktop.
Save bikerduweb/8519290 to your computer and use it in GitHub Desktop.
[VLCKit] Compilation en ligne de commande
#!/bin/sh
# compile vlckit through command-line
# make sure to set the proper target in xcode project first (ie 10.9)
# cleanup
rm -fr ./vlc-unstable/contrib/x86_64-apple-darwin10
# build
xcodebuild -project VLCKit.xcodeproj -verbose -target "Fetch libvlc"
xcodebuild -project VLCKit.xcodeproj -verbose -target "Setup VLC contribs" -configuration Release
export PATH=$PWD/vlc-unstable/extras/tools/build/bin:$PATH
cd vlc-unstable
./bootstrap
cd ..
xcodebuild -project VLCKit.xcodeproj -verbose -target "Run VLC configure" -configuration Release
xcodebuild -project VLCKit.xcodeproj -verbose -target "Make VLC" -configuration Release
xcodebuild -project VLCKit.xcodeproj -verbose -target "Build just VLCKit" -configuration Release
cd ./build/Release/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment