Closed trinhngocthuyen closed 5 months ago
Fixes #39.
With C-family that defines public headers path, we need to explicitly specify the modulemap. Therefore, we need to:
-Xcc -fmodule-map-file=<path/to/modulemap>
OTHER_SWIFT_FLAGS
-fmodule-map-file=<path/to/modulemap>
OTHER_CFLAGS
Note that with SPM packages, the generated modulemap files could be found in ${GENERATED_MODULEMAP_DIR}.
${GENERATED_MODULEMAP_DIR}
/integration-test
Fixes #39.
With C-family that defines public headers path, we need to explicitly specify the modulemap. Therefore, we need to:
-Xcc -fmodule-map-file=<path/to/modulemap>
toOTHER_SWIFT_FLAGS
(for Swift target)-fmodule-map-file=<path/to/modulemap>
toOTHER_CFLAGS
(for C-family targets)Note that with SPM packages, the generated modulemap files could be found in
${GENERATED_MODULEMAP_DIR}
.