objc2 icon indicating copy to clipboard operation
objc2 copied to clipboard

Rename icrate features to end with `_core`

Open madsmtm opened this issue 1 year ago • 2 comments

Rename Foundation to Foundation_core (and similarly for the other features).

madsmtm avatar Jan 14 '24 23:01 madsmtm

Would this be a precursor to being able to build icrate with fewer bindings for large frameworks like AppKit? The AppKit feature currently enables several bindings that AccessKit, for example, doesn't need.

mwcampbell avatar Jan 24 '24 17:01 mwcampbell

No, the proper way to do that is to do cfgs based on file names instead.

I remember trying to make that work before, but it's quite difficult to do with Libclang, I'm hoping to get to it once we get further with https://github.com/madsmtm/objc2/issues/345.

madsmtm avatar Jan 24 '24 19:01 madsmtm