summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-09-13 15:37:33 +0200
committerGitHub <noreply@github.com>2017-09-13 15:37:33 +0200
commitcb5b80d4211cce30619d8e096b558bbb6a9da49b (patch)
tree3eb368b7e58154d110b394472eba1c2c70fcfe3c
parent5be9332c424d08bf49c2e142e4477a6c4d3dae04 (diff)
parent9f8a93c4055ff8819892c5efe033ce5ac3cd4a51 (diff)
downloadredot-cpp-cb5b80d4211cce30619d8e096b558bbb6a9da49b.tar.gz
Merge pull request #32 from BastiaanOlij/add_path_arguments
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")