Skip to content

Commit

Permalink
Add --verbose flag to scripts/build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Dec 21, 2023
1 parent 969c505 commit 6f345d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ def main():
parser.add_argument(
"--build-type", choices=["normal", "diffbuild", "dllbuild"], default="normal"
)
parser.add_argument("--verbose", action="store_true")
args = parser.parse_args()

# First, create the build.ninja file that will be used to build.
Expand All @@ -24,6 +25,8 @@ def main():
configure(build_type)

ninja_args = []
if args.verbose:
ninja_args += ["-v"]

if args.build_type == "dllbuild":
ninja_args += ["build/th06e.dll"]
Expand Down

0 comments on commit 6f345d4

Please sign in to comment.