ultimatepp/uppsrc/ide/Android/NDKBuild.cpp
cxl 597466fea8 uppsrc: NAMESPACE_UPP / END_UPP_NAMESPACE removed
git-svn-id: svn://ultimatepp.org/upp/trunk@10186 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2016-08-26 17:15:30 +00:00

27 lines
343 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;
}
}