Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@seandenigris
Created January 11, 2012 17:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seandenigris/1595669 to your computer and use it in GitHub Desktop.
Save seandenigris/1595669 to your computer and use it in GitHub Desktop.
Squeak VM: set up for Xcode (example uses Stack VM)
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