swift-playdate-examples icon indicating copy to clipboard operation
swift-playdate-examples copied to clipboard

Debug simulator non embedded

Open pcbeard opened this issue 10 months ago • 1 comments

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.

pcbeard avatar Mar 29 '24 22:03 pcbeard

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.

pcbeard avatar Mar 30 '24 00:03 pcbeard