From 9152a9f7b0f5bddeaabc776d4557b90fef581fcc Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 5 Apr 2020 16:29:37 +0800 Subject: rename macapp tests --- tests/projects/objc/application/src/Info.plist | 36 -------------------------- tests/projects/objc/application/src/main.m | 10 ------- tests/projects/objc/application/xmake.lua | 6 ----- tests/projects/objc/macapp/src/Info.plist | 36 ++++++++++++++++++++++++++ tests/projects/objc/macapp/src/main.m | 10 +++++++ tests/projects/objc/macapp/xmake.lua | 6 +++++ 6 files changed, 52 insertions(+), 52 deletions(-) delete mode 100644 tests/projects/objc/application/src/Info.plist delete mode 100644 tests/projects/objc/application/src/main.m delete mode 100644 tests/projects/objc/application/xmake.lua create mode 100644 tests/projects/objc/macapp/src/Info.plist create mode 100644 tests/projects/objc/macapp/src/main.m create mode 100644 tests/projects/objc/macapp/xmake.lua diff --git a/tests/projects/objc/application/src/Info.plist b/tests/projects/objc/application/src/Info.plist deleted file mode 100644 index 4bf9680cf..000000000 --- a/tests/projects/objc/application/src/Info.plist +++ /dev/null @@ -1,36 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIconFile - - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - $(PRODUCT_BUNDLE_PACKAGE_TYPE) - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSMinimumSystemVersion - $(MACOSX_DEPLOYMENT_TARGET) - NSHumanReadableCopyright - Copyright © 2020 tboox. All rights reserved. - NSMainStoryboardFile - Main - NSPrincipalClass - NSApplication - NSSupportsAutomaticTermination - - NSSupportsSuddenTermination - - - diff --git a/tests/projects/objc/application/src/main.m b/tests/projects/objc/application/src/main.m deleted file mode 100644 index 47ac6bdc2..000000000 --- a/tests/projects/objc/application/src/main.m +++ /dev/null @@ -1,10 +0,0 @@ -#import - -int main(int argc, char** argv) -{ - @autoreleasepool - { - NSLog(@"hello xmake!"); - } - return 0; -} diff --git a/tests/projects/objc/application/xmake.lua b/tests/projects/objc/application/xmake.lua deleted file mode 100644 index 12f773a1d..000000000 --- a/tests/projects/objc/application/xmake.lua +++ /dev/null @@ -1,6 +0,0 @@ -add_rules("mode.debug", "mode.release") - -target("test") - add_rules("xcode.application") - add_files("src/main.m") - add_installfiles("src/Info.plist") diff --git a/tests/projects/objc/macapp/src/Info.plist b/tests/projects/objc/macapp/src/Info.plist new file mode 100644 index 000000000..4bf9680cf --- /dev/null +++ b/tests/projects/objc/macapp/src/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIconFile + + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + LSMinimumSystemVersion + $(MACOSX_DEPLOYMENT_TARGET) + NSHumanReadableCopyright + Copyright © 2020 tboox. All rights reserved. + NSMainStoryboardFile + Main + NSPrincipalClass + NSApplication + NSSupportsAutomaticTermination + + NSSupportsSuddenTermination + + + diff --git a/tests/projects/objc/macapp/src/main.m b/tests/projects/objc/macapp/src/main.m new file mode 100644 index 000000000..47ac6bdc2 --- /dev/null +++ b/tests/projects/objc/macapp/src/main.m @@ -0,0 +1,10 @@ +#import + +int main(int argc, char** argv) +{ + @autoreleasepool + { + NSLog(@"hello xmake!"); + } + return 0; +} diff --git a/tests/projects/objc/macapp/xmake.lua b/tests/projects/objc/macapp/xmake.lua new file mode 100644 index 000000000..12f773a1d --- /dev/null +++ b/tests/projects/objc/macapp/xmake.lua @@ -0,0 +1,6 @@ +add_rules("mode.debug", "mode.release") + +target("test") + add_rules("xcode.application") + add_files("src/main.m") + add_installfiles("src/Info.plist") -- cgit v1.3.1