summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2018-11-28 11:06:32 +1100
committerGitHub <noreply@github.com>2018-11-28 11:06:32 +1100
commitbcc39bbf4bf9922c1a5eaea91885eda05cd1202c (patch)
tree8a3c0cf341463af8edbf88440bc573ab061fbccd
parent295950efd44f300d017677aad42d0ce8c784a394 (diff)
parentd3d78df0b5d4d86d59a80c6d53ea623e5a2428c2 (diff)
downloadredot-cpp-bcc39bbf4bf9922c1a5eaea91885eda05cd1202c.tar.gz
Merge pull request #212 from BastiaanOlij/fix_sconstruct
Fixing a few typos in SConstruct
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index b1f3162..db9dbc9 100644
--- a/SConstruct
+++ b/SConstruct
@@ -31,12 +31,12 @@ opts.Add(BoolVariable('use_mingw', 'Use the MinGW compiler - only effective on W
opts.Add(EnumVariable('target', 'Compilation target', 'debug',
allowed_values=('debug', 'release'),
ignorecase=2))
-opts.Add(PathVariable('headers_dir', 'Path to the directory containing Godot headers', 'godot_headers', PathVariable.PathisDir))
+opts.Add(PathVariable('headers_dir', 'Path to the directory containing Godot headers', 'godot_headers', PathVariable.PathIsDir))
opts.Add(BoolVariable('use_custom_api_file', 'Use a custom JSON API file', False))
-opts.Add(PathVariable('custom_api_file', 'Path to the custom JSON API file', '', PathVariable.PathIsFile))
+opts.Add(PathVariable('custom_api_file', 'Path to the custom JSON API file', None, PathVariable.PathIsFile))
opts.Add(BoolVariable('generate_bindings', 'Generate GDNative API bindings', False))
-unknown = vars.UnknownVariables()
+unknown = opts.UnknownVariables()
if unknown:
print "Unknown variables:", unknown.keys()
Exit(1)