File tree Expand file tree Collapse file tree 5 files changed +18
-6
lines changed
Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ class CppExporter final : public ExporterBase {
5555 if (shouldQuit)
5656 return true ;
5757
58- start (args.joinIntoString (" " ));
58+ auto compileString = args.joinIntoString (" " );
59+ exportingView->logToConsole (" Command: " + compileString + " \n " );
60+ start (compileString);
5961
6062 waitForProcessToFinish (-1 );
6163 exportingView->flushConsole ();
Original file line number Diff line number Diff line change @@ -220,7 +220,9 @@ class DPFExporter final : public ExporterBase {
220220 if (shouldQuit)
221221 return true ;
222222
223- start (args.joinIntoString (" " ));
223+ auto compileString = args.joinIntoString (" " );
224+ exportingView->logToConsole (" Command: " + compileString + " \n " );
225+ start (compileString);
224226
225227 waitForProcessToFinish (-1 );
226228 exportingView->flushConsole ();
Original file line number Diff line number Diff line change @@ -114,7 +114,10 @@ class OWLExporter : public ExporterBase {
114114
115115 args.add (paths);
116116
117- start (args.joinIntoString (" " ));
117+ auto compileString = args.joinIntoString (" " );
118+ exportingView->logToConsole (" Command: " + compileString + " \n " );
119+ start (compileString);
120+
118121 waitForProcessToFinish (-1 );
119122 exportingView->flushConsole ();
120123
Original file line number Diff line number Diff line change @@ -88,7 +88,9 @@ class PdExporter final : public ExporterBase {
8888 if (shouldQuit)
8989 return true ;
9090
91- start (args.joinIntoString (" " ));
91+ auto compileString = args.joinIntoString (" " );
92+ exportingView->logToConsole (" Command: " + compileString + " \n " );
93+ start (compileString);
9294
9395 waitForProcessToFinish (-1 );
9496 exportingView->flushConsole ();
Original file line number Diff line number Diff line change @@ -95,10 +95,13 @@ class WASMExporter : public ExporterBase {
9595 if (shouldQuit)
9696 return true ;
9797
98+ auto compileString = args.joinIntoString (" " );
99+ exportingView->logToConsole (" Command: " + compileString + " \n " );
100+
98101#if JUCE_WINDOWS
99- auto buildScript = " source " + emsdkPath.replaceCharacter (' \\ ' , ' /' ) + " /emsdk_env.sh; " + args. joinIntoString ( " " ) ;
102+ auto buildScript = " source " + emsdkPath.replaceCharacter (' \\ ' , ' /' ) + " /emsdk_env.sh; " + compileString ;
100103#else
101- auto buildScript = " source " + emsdkPath + " /emsdk_env.sh; " + args. joinIntoString ( " " ) ;
104+ auto buildScript = " source " + emsdkPath + " /emsdk_env.sh; " + compileString ;
102105#endif
103106
104107 Toolchain::startShellScript (buildScript, this );
You can’t perform that action at this time.
0 commit comments