theos / headers

Headers. Not for documents. Not the opposite of footers.
Other
324 stars 94 forks source link

[Suggestion] Standardize .modulemap vendor location #83

Closed L1ghtmann closed 1 year ago

L1ghtmann commented 1 year ago

What are the steps to reproduce this issue?

N/A

What happens?

N/A

What were you expecting to happen?

N/A

Any logs, error output, etc?

Any other comments?

Note: I am not well versed on clang modules/module maps.

Following the merge of the Orion theos/lib pr, half of the module maps provided by Theos will be located in the lib vendor directory while the other half, listed below, will be present in this repo. I believe the libraries corresponding to the various maps in this repo, save for Preferences, are vended by Theos, so it may be worth moving all module maps to the respective directories here or the respective directories in theos/lib for consistency.

./libundirect/module.modulemap
./Preferences/module.modulemap
./libactivator/module.modulemap
./AppList/module.modulemap
./libhooker/module.modulemap
./Flipswitch/module.modulemap
./rocketbootstrap/module.modulemap
./libprefs/module.modulemap

What versions of software are you using?

Operating System:

Toolchain Version:

SDK Version:

leptos-null commented 1 year ago

I think everything works-as-expected, however theos has two uses for libs, which may be confusing.

libs contains both libraries and frameworks:

I'm not sure it makes sense to have another directory dedicated to frameworks and the pattern described here should allow theos to have a consistent location for modulemaps (depending on the type of distribution).

L1ghtmann commented 1 year ago

Right, I just wasn't sure if the module maps made more sense alongside the discrete libs or here. Re your comment in the other thread, seems like everything is in a good spot. Thanks again for the clarification!