mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Projucer: Code tidy up
This commit is contained in:
parent
f50d08494a
commit
235bbd46cf
3 changed files with 14 additions and 10 deletions
|
|
@ -776,11 +776,15 @@ namespace
|
|||
|
||||
PIPGenerator generator (pipFile, outputDir);
|
||||
|
||||
if (! generator.createJucerFile())
|
||||
throw CommandLineError ("Failed to create .jucer file in " + outputDir.getFullPathName()+ ".");
|
||||
auto createJucerFileResult = generator.createJucerFile();
|
||||
|
||||
if (! generator.createMainCpp())
|
||||
throw CommandLineError ("Failed to create Main.cpp.");
|
||||
if (! createJucerFileResult)
|
||||
throw CommandLineError (createJucerFileResult.getErrorMessage());
|
||||
|
||||
auto createMainCppResult = generator.createMainCpp();
|
||||
|
||||
if (! createMainCppResult)
|
||||
throw CommandLineError (createMainCppResult.getErrorMessage());
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue