Only configure if necessary - close #131

This commit is contained in:
josh committed 2022-02-12 23:18:00 -05:00
1 parent 5c28e557bd
commit 44f61da571
9 files changed
+44 -7

No files matched your search

+6 -1
View File
@@ -21,13 +21,18 @@ module Rscons
# Build script.
attr_reader :script
# @return [Boolean]
# Whether to configure silently.
attr_accessor :silent_configure
# @return [Boolean]
# Whether to run verbosely.
attr_accessor :verbose
# Create Application instance.
def initialize
def _initialize
@script = Script.new
@silent_configure = true
@build_dir = ENV["RSCONS_BUILD_DIR"] || "build"
ENV.delete("RSCONS_BUILD_DIR")
@n_threads = Util.determine_n_threads