diff options
| author | Jonathan Schleifer <js@nil.im> | 2024-04-11 01:46:27 +0200 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-04-28 03:14:29 -0400 |
| commit | 6c6529337e72812a64ff4a193d1888cc7822de58 (patch) | |
| tree | 7672560e73f02b46d45b1d6569cf7bca3e33505e /test cases/objcpp/3 objfw/TestApplication.mm | |
| parent | 205f09e1b022a71a64eb48e22bb52f76e0da21ef (diff) | |
| download | meson-6c6529337e72812a64ff4a193d1888cc7822de58.tar.gz | |
Add support for depending on ObjFW
This uses objfw-config to get to the flags, however, there's still
several todos that can only be addressed once dependencies can have
per-language flags.
Diffstat (limited to 'test cases/objcpp/3 objfw/TestApplication.mm')
| -rw-r--r-- | test cases/objcpp/3 objfw/TestApplication.mm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test cases/objcpp/3 objfw/TestApplication.mm b/test cases/objcpp/3 objfw/TestApplication.mm new file mode 100644 index 000000000..ed6fac1e9 --- /dev/null +++ b/test cases/objcpp/3 objfw/TestApplication.mm @@ -0,0 +1,12 @@ +#import <ObjFW/ObjFW.h> + +@interface TestApplication: OFObject <OFApplicationDelegate> +@end + +OF_APPLICATION_DELEGATE(TestApplication) + +@implementation TestApplication +- (void)applicationDidFinishLaunching: (OFNotification *)notification { + [OFApplication terminate]; +} +@end |
