• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision1350bd2557c8f67f69f4d34e434a1510c3aa864f (tree)
Zeit2024-04-20 11:34:02
AutorFs <Fsu0413@vip....>
CommiterFs

Log Message

make use of NINJA_STATUS environment variable, and make use of %P / %w / %W introduced in ninja 1.12.0

Ändern Zusammenfassung

Diff

--- a/Compile/lib/Generate.lua
+++ b/Compile/lib/Generate.lua
@@ -101,6 +101,9 @@ set PARALLELNUM=0
101101
102102 set /a PARALLELNUM=%NUMBER_OF_PROCESSORS%+1
103103
104+rem Pay attention to space before EOL next line! Keep it!
105+set NINJA_STATUS=[%f/%t %P/%o/%c %w/%W]
106+
104107 cmd /c &CONFIGURECOMMANDLINE&
105108 if errorlevel 1 exit 1
106109
@@ -192,6 +195,9 @@ set PARALLELNUM=0
192195
193196 set /a PARALLELNUM=%NUMBER_OF_PROCESSORS%+1
194197
198+rem Pay attention to space before EOL next line! Keep it!
199+set NINJA_STATUS=[%f/%t %P/%o/%c %w/%W]
200+
195201 cmd /c &CONFIGURECOMMANDLINE&
196202 if errorlevel 1 exit 1
197203
@@ -286,6 +292,9 @@ set PARALLELNUM=0
286292
287293 set /a PARALLELNUM=%NUMBER_OF_PROCESSORS%+1
288294
295+rem Pay attention to space before EOL next line! Keep it!
296+set NINJA_STATUS=[%f/%t %P/%o/%c %w/%W]
297+
289298 cmd /c &CONFIGURECOMMANDLINE&
290299 if errorlevel 1 exit 1
291300
@@ -434,6 +443,8 @@ if [ $? -ne 0 ]; then
434443 fi
435444 fi
436445
446+NINJA_STATUS='[%f/%t %P/%o/%c %w/%W] '; export NINJA_STATUS
447+
437448 &CONFIGURECOMMANDLINE&
438449 [ $? -eq 0 ] || exit 1
439450
@@ -552,6 +563,8 @@ if [ $? -ne 0 ]; then
552563 fi
553564 fi
554565
566+NINJA_STATUS='[%f/%t %P/%o/%c %w/%W] '; export NINJA_STATUS
567+
555568 &CONFIGURECOMMANDLINE&
556569 [ $? -eq 0 ] || exit 1
557570
@@ -902,6 +915,8 @@ if [ $? -ne 0 ]; then
902915 fi
903916 fi
904917
918+NINJA_STATUS='[%f/%t %P/%o/%c %w/%W] '; export NINJA_STATUS
919+
905920 &CONFIGURECOMMANDLINE&
906921 [ $? -eq 0 ] || exit 1
907922