mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-25 02:04:23 +00:00
Introjucer work.
This commit is contained in:
parent
113dd5627b
commit
172d2a1c8b
12 changed files with 20 additions and 720 deletions
|
|
@ -180,6 +180,22 @@ namespace
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int listModules()
|
||||
{
|
||||
std::cout << "Downloading list of available modules..." << std::endl;
|
||||
ModuleList list;
|
||||
list.loadFromWebsite();
|
||||
|
||||
for (int i = 0; i < list.modules.size(); ++i)
|
||||
{
|
||||
ModuleList::Module* m = list.modules.getUnchecked(i);
|
||||
|
||||
std::cout << m->uid << ": " << m->version << std::endl;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -198,5 +214,8 @@ int performCommandLine (const String& commandLine)
|
|||
if (tokens[0] == "buildallmodules")
|
||||
return buildModules (tokens, true);
|
||||
|
||||
if (tokens[0] == "listmodules")
|
||||
return listModules();
|
||||
|
||||
return commandLineNotPerformed;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue