mirror of
https://github.com/reactos/CMake.git
synced 2025-01-08 04:00:27 +00:00
bf11253163
Allow the `Swift` language to be enabled with the Xcode generator for Xcode >= 6.1. Reject it on other generators and with older Xcode versions. Since Apple is the only vendor implementing the language right now, the compiler id can be just `Apple`.
5 lines
132 B
Objective-C
5 lines
132 B
Objective-C
#import "SwiftMix-Swift.h"
|
|
int ObjCMain(int argc, char const* const argv[]) {
|
|
return [SwiftMainClass SwiftMain:argc argv:argv];
|
|
}
|