Motivation:
We've been asked to enable building swift-nio with CMake, and the
request isn't totally outrageous, so we're gonna do it.
Modifications:
- Add CI for our cmake rules
- Provide missing module.modulemap files.
- Add CMakeLists skeletons as needed.
Result:
Builds with CMake work now.
Dispatch is not supported on WASI, and only Unix domain sockets are
supported, which means we have to exclude those APIs on this platform.
There's work in progress to enable tests for this on CI, but nothing I
can provide for this PR at the current moment.
---------
Co-authored-by: Franz Busch <f.busch@apple.com>