Support environment variable to set rscons build directory - close #145
This commit is contained in:
1 parent
c1dcfa297f
commit
b0f2bbb7d5
2 files changed
+23
-3
No files matched your search
@@ -27,7 +27,8 @@ module Rscons
|
||||
|
||||
# Create Application instance.
|
||||
def initialize
|
||||
@build_dir = "build"
|
||||
@build_dir = ENV["RSCONS_BUILD_DIR"] || "build"
|
||||
ENV.delete("RSCONS_BUILD_DIR")
|
||||
@n_threads = Util.determine_n_threads
|
||||
@vars = VarSet.new
|
||||
@operations = Set.new
|
||||
|
||||
Reference in new issue
Block a user