ultimatepp/uppsrc/ide/Android/NDKBuild.cpp
klugier 9f6e0fcf5b .android-builder code refactoring and starting developing LogCat infrastructure
git-svn-id: svn://ultimatepp.org/upp/trunk@8714 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2015-07-20 20:31:45 +00:00

27 lines
357 B
C++

#include "Executables.h"
NAMESPACE_UPP
NDKBuild::NDKBuild(const String& path)
{
this->path = path;
this->jobs = 0;
}
NDKBuild::~NDKBuild()
{
}
String NDKBuild::MakeCmd() const
{
String cmd = NormalizeExePath(path);
if(!workingDir.IsEmpty())
cmd << " -C " << workingDir;
if(jobs > 0)
cmd << " -j " << jobs;
return cmd;
}
END_UPP_NAMESPACE