[KT-39120] Add "-fmodules" argument support to Cinterop

Merge-request: KT-MR-6921
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2022-11-30 08:46:40 +00:00
committed by Space Team
parent 10fc86ef92
commit b883dc5434
173 changed files with 2707 additions and 214 deletions
@@ -0,0 +1,16 @@
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#else
#ifndef FOUNDATION_EXPORT
#if defined(__cplusplus)
#define FOUNDATION_EXPORT extern "C"
#else
#define FOUNDATION_EXPORT extern
#endif
#endif
#endif
#import "pod1.h"
FOUNDATION_EXPORT double pod1VersionNumber;
FOUNDATION_EXPORT const unsigned char pod1VersionString[];
@@ -0,0 +1,3 @@
@interface Pod1 : NSObject
-(int)pod1;
@end
@@ -0,0 +1,6 @@
framework module pod1 {
umbrella header "pod1-umbrella.h"
export *
module * { export * }
}