summaryrefslogtreecommitdiff
path: root/xmake/templates/objc++
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-28 23:13:31 +0800
committerruki <[email protected]>2026-02-28 23:13:31 +0800
commit0b39869ef9dca5d0f35119540a04358d6a37d8f3 (patch)
tree99f19ad5179e985a10cd6ed7566f7315d89ce15b /xmake/templates/objc++
parenta4b8b3e4d3725ada922dbd62d48f833a83746dcb (diff)
rename TARGETNAME to TARGET_NAME
Diffstat (limited to 'xmake/templates/objc++')
-rw-r--r--xmake/templates/objc++/console/xmake.lua2
-rw-r--r--xmake/templates/objc++/xcode.bundle/xmake.lua2
-rw-r--r--xmake/templates/objc++/xcode.framework/xmake.lua2
3 files changed, 3 insertions, 3 deletions
diff --git a/xmake/templates/objc++/console/xmake.lua b/xmake/templates/objc++/console/xmake.lua
index f99120596..99749f901 100644
--- a/xmake/templates/objc++/console/xmake.lua
+++ b/xmake/templates/objc++/console/xmake.lua
@@ -2,7 +2,7 @@
add_rules("mode.debug", "mode.release")
-- add target
-target("${TARGETNAME}")
+target("${TARGET_NAME}")
-- set kind
set_kind("binary")
diff --git a/xmake/templates/objc++/xcode.bundle/xmake.lua b/xmake/templates/objc++/xcode.bundle/xmake.lua
index 364e27278..1ecf69fcb 100644
--- a/xmake/templates/objc++/xcode.bundle/xmake.lua
+++ b/xmake/templates/objc++/xcode.bundle/xmake.lua
@@ -1,6 +1,6 @@
add_rules("mode.debug", "mode.release")
-target("${TARGETNAME}")
+target("${TARGET_NAME}")
add_rules("xcode.bundle")
add_files("src/*.mm")
add_files("src/Info.plist")
diff --git a/xmake/templates/objc++/xcode.framework/xmake.lua b/xmake/templates/objc++/xcode.framework/xmake.lua
index db61439df..3805d95c6 100644
--- a/xmake/templates/objc++/xcode.framework/xmake.lua
+++ b/xmake/templates/objc++/xcode.framework/xmake.lua
@@ -1,6 +1,6 @@
add_rules("mode.debug", "mode.release")
-target("${TARGETNAME}")
+target("${TARGET_NAME}")
add_rules("xcode.framework")
add_files("src/*.mm")
add_files("src/Info.plist")