mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
27 lines
357 B
C++
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
|