summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/genie/src/base/api.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/genie/src/base/api.lua')
-rw-r--r--3rdparty/genie/src/base/api.lua23
1 files changed, 20 insertions, 3 deletions
diff --git a/3rdparty/genie/src/base/api.lua b/3rdparty/genie/src/base/api.lua
index c46567a0631..86665e4f928 100644
--- a/3rdparty/genie/src/base/api.lua
+++ b/3rdparty/genie/src/base/api.lua
@@ -53,7 +53,13 @@
kind = "list",
scope = "config",
},
-
+
+ buildoptions_objc =
+ {
+ kind = "list",
+ scope = "config",
+ },
+
configurations =
{
kind = "list",
@@ -337,6 +343,12 @@
scope = "config",
},
+ msgcompile_objc =
+ {
+ kind = "string",
+ scope = "config",
+ },
+
msgresource =
{
kind = "string",
@@ -523,7 +535,8 @@
--
-
+ premake.check_paths = false
+
--
-- Check to see if a value exists in a list of values, using a
-- case-insensitive match. If the value does exist, the canonical
@@ -649,7 +662,11 @@
end
elseif type(value) == "string" then
if value:find("*") then
- makeabsolute(matchfunc(value), depth + 1)
+ local arr = matchfunc(value);
+ if (premake.check_paths) and (#arr == 0) then
+ error("Can't find matching files for pattern :" .. value)
+ end
+ makeabsolute(arr, depth + 1)
else
table.insert(result, path.getabsolute(value))
end