summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2017-09-13 20:25:59 +1000
committerBastiaan Olij <mux213@gmail.com>2017-09-13 20:25:59 +1000
commit9f8a93c4055ff8819892c5efe033ce5ac3cd4a51 (patch)
tree3eb368b7e58154d110b394472eba1c2c70fcfe3c
parent5be9332c424d08bf49c2e142e4477a6c4d3dae04 (diff)
downloadredot-cpp-9f8a93c4055ff8819892c5efe033ce5ac3cd4a51.tar.gz
Add some command line parameters to overrule default paths
-rw-r--r--SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 9c204f2..27547fb 100644
--- a/SConstruct
+++ b/SConstruct
@@ -3,11 +3,11 @@ import os, subprocess
# Local dependency paths, adapt them to your setup
-godot_headers_path = "../godot_headers/"
-godot_bin_path = "../godot_fork/bin/"
+godot_headers_path = ARGUMENTS.get("headers", "../godot_headers/")
+godot_bin_path = ARGUMENTS.get("godotbinpath", "../godot_fork/bin/")
# for windows
-godot_lib_path = "../godot_fork/bin/"
+godot_lib_path = ARGUMENTS.get("godotlibpath", godot_bin_path)
target = ARGUMENTS.get("target", "debug")
platform = ARGUMENTS.get("p", "linux")