[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,11 @@
#ifndef __A_H__
#define __A_H__
#import "C.h"
int A;
int AAA() {
return A;
}
#endif
@@ -0,0 +1,8 @@
#ifndef __B_H__
#define __B_H__
#import "C.h"
int B;
#endif
@@ -0,0 +1,6 @@
#ifndef __C_H__
#define __C_H__
int C;
#endif
@@ -0,0 +1,10 @@
module A {
header "A.h"
export *
}
module B {
header "B.h"
export *
}