requires ! feature The purpose of this is to allow (for instance) the module map for /usr/include to exclude <tgmath.h> and <complex.h> when building in C++ (these headers are instead provided by the C++ standard library in this case, and the glibc C <tgmath.h> header would otherwise try to include <complex.h>, resulting in a module cycle). llvm-svn: 193549
28 lines
475 B
Plaintext
28 lines
475 B
Plaintext
framework module DependsOnModule {
|
|
umbrella header "DependsOnModule.h"
|
|
header "other.h"
|
|
module * {
|
|
export *
|
|
}
|
|
explicit module CXX {
|
|
requires cplusplus
|
|
header "cxx_other.h"
|
|
}
|
|
explicit module NotCXX {
|
|
requires !cplusplus
|
|
header "not_cxx.h"
|
|
}
|
|
explicit module NotObjC {
|
|
requires !objc
|
|
header "not_objc.h"
|
|
}
|
|
|
|
explicit framework module SubFramework {
|
|
umbrella header "SubFramework.h"
|
|
|
|
module * {
|
|
export *
|
|
}
|
|
}
|
|
}
|