swift-playdate-examples
swift-playdate-examples copied to clipboard
Debug simulator non embedded
This is an experiment using non-embedded Swift to be able to fully debug. I've repurposed the SPM packages to build exclusively for the simulator, which now creates a dylib called libSwiftBreak.dylib. The companion script file, simbuild builds this, and then copies this to Source/pdex.dylib which is used to create the final SwiftBreak.pdx product.
One questionable thing this does is add a copy of "setup.c" from the SDK. Maybe we could have a Make rule that does this instead of adding to the tree.