From 8e511c52688bfc682082547b0596c8f95ec02198 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 14 Jun 2007 20:22:52 +0000 Subject: [PATCH] From Martin Lavery, Install script for the Xcode build --- Xcode/OpenSceneGraph/install.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Xcode/OpenSceneGraph/install.sh diff --git a/Xcode/OpenSceneGraph/install.sh b/Xcode/OpenSceneGraph/install.sh new file mode 100644 index 000000000..276cefb98 --- /dev/null +++ b/Xcode/OpenSceneGraph/install.sh @@ -0,0 +1,21 @@ +#This Script Installs the files from the Xcode build into the correct location. + +#echo Copy Examples +#cp -r ../OpenSceneGraph/build/Development/*.app Binary/Examples/ + +echo Install Applications +sudo cp build/Development/osgviewer.app/Contents/MacOS/osgviewer /usr/local/bin/ +sudo cp build/Development/osgarchive.app/Contents/MacOS/osgarchive /usr/local/bin/ +sudo cp build/Development/osgversion.app/Contents/MacOS/osgversion /usr/local/bin/ +sudo cp build/Development/osgconv.app/Contents/MacOS/osgconv /usr/local/bin/ +sudo cp build/Development/osgmovie.app/Contents/MacOS/osgmovie /usr/local/bin/ + +echo Install Frameworks +cp -r build/Development/*.framework ~/Library/Frameworks/ + +echo Install Plugins +cp build/Development/*.so ~/Library/Application\ Support/OpenSceneGraph/PlugIns/ +cp build/Development/osgtext ~/Library/Application\ Support/OpenSceneGraph/PlugIns/ +cp build/Development/osgpick ~/Library/Application\ Support/OpenSceneGraph/PlugIns/ + +echo Install Complete