mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Invalid build method error is now more verbose (umk/ide)
git-svn-id: svn://ultimatepp.org/upp/trunk@9833 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
eaa611a529
commit
9bd388c679
6 changed files with 35 additions and 9 deletions
|
|
@ -115,10 +115,14 @@ String IdeContext::GetDefaultMethod()
|
|||
VectorMap<String, String> IdeContext::GetMethodVars(const String& method)
|
||||
{
|
||||
VectorMap<String, String> map;
|
||||
LoadVarFile(ConfigFile((String)~method + ".bm"), map);
|
||||
LoadVarFile(ConfigFile(GetMethodName(method)), map);
|
||||
return map;
|
||||
}
|
||||
|
||||
String IdeContext::GetMethodName(const String& method)
|
||||
{
|
||||
return (String)~method + ".bm";
|
||||
}
|
||||
|
||||
String GetDefaultMethod()
|
||||
{
|
||||
|
|
@ -130,6 +134,11 @@ VectorMap<String, String> GetMethodVars(const String& method)
|
|||
return the_ide ? the_ide->GetMethodVars(method) : VectorMap<String, String>();
|
||||
}
|
||||
|
||||
String GetMethodPath(const String& method)
|
||||
{
|
||||
return the_ide ? the_ide->GetMethodName(method) : "";
|
||||
}
|
||||
|
||||
bool IdeIsBuilding()
|
||||
{
|
||||
return the_ide && the_ide->IdeIsBuilding();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue