Simplified process startup on macOS and Linux
This commit is contained in:
parent
9e03c9680c
commit
7cc1f3119e
40 changed files with 1343 additions and 1157 deletions
11
Apple/Shared/Constants/Constants.h
Normal file
11
Apple/Shared/Constants/Constants.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#import <Foundation/Foundation.h>
|
||||
|
||||
#define MACRO_STRING_(m) #m
|
||||
#define MACRO_STRING(m) @MACRO_STRING_(m)
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
static NSString * const AppBundleIdentifier = MACRO_STRING(APP_BUNDLE_IDENTIFIER);
|
||||
static NSString * const AppGroupIdentifier = MACRO_STRING(APP_GROUP_IDENTIFIER);
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
4
Apple/Shared/Constants/module.modulemap
Normal file
4
Apple/Shared/Constants/module.modulemap
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
module Constants {
|
||||
header "Constants.h"
|
||||
export *
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue