Created
January 11, 2012 17:15
-
-
Save seandenigris/1595669 to your computer and use it in GitHub Desktop.
Squeak VM: set up for Xcode (example uses Stack VM)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PipeableOSProcess waitForCommand: '/usr/bin/osascript -e "tell application \"Xcode\" to quit"'. | |
buildDir := FileDirectory on: '/Developer/cogvm/cog/build/'. | |
buildDir entries do: [:e | e name = 'vmVersionInfo.h' ifFalse: [ | |
e isDirectory | |
ifTrue: [ e asFileDirectory recursiveDelete ] | |
ifFalse: [ e delete ] ] ]. | |
StackCocoaIOSConfig new | |
addExternalPlugins: #( FT2Plugin ); | |
generateForDebug; | |
generateSources; generate. | |
PipeableOSProcess waitForCommand: 'cd /Developer/cogvm/cog/build/; /opt/local/bin/cmake -G Xcode'. | |
PipeableOSProcess waitForCommand: 'open /Developer/cogvm/cog/build/StackVM.xcodeproj'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment