Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 5ccc796

Browse files
author
Philip Oakley
committed
engine.pl: add debug line to capture the dry-run
Highlight a debug suggestion for capturing the dry-run of the make file used in determining the msvc-build structure. Signed-off-by: Philip Oakley <[email protected]>
1 parent 317efc0 commit 5ccc796

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/buildsystems/engine.pl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ sub showUsage
7474

7575
# Pipe a make --dry-run into a variable, if not already loaded from file
7676
# Capture the make dry stderr to file for review (will be empty for a release build).
77+
78+
#@makedry = `cd $git_dir && make -n MSVC=1 NO_PERL=1 V=1 1>makedry.txt 2>msvc-build-makedryerrors.txt`; # capture the dry run as a text file
7779
@makedry = `cd $git_dir && make -n MSVC=1 NO_PERL=1 V=1 2>msvc-build-makedryerrors.txt` if !@makedry;
7880
# test for an empty msvc-build-makedryerrors.txt file and remove it
7981
#system("if test ! -s msvc-build-makedryerrors.txt; then rm msvc-build-makedryerrors.txt fi;");

0 commit comments

Comments
 (0)