From 9f8a93c4055ff8819892c5efe033ce5ac3cd4a51 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Wed, 13 Sep 2017 20:25:59 +1000 Subject: [PATCH] Add some command line parameters to overrule default paths --- SConstruct | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index 9c204f2e..27547fbd 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")