Add a method to set the 'MainDotCsDir' when no main.cs is available

This commit is contained in:
Lukas Joergensen 2018-04-21 09:29:57 +02:00
parent 6b7be51d61
commit 951ca817bb

View file

@ -620,3 +620,8 @@ DefineEngineFunction( getUserHomeDirectory, const char *, (), , "getUserHomeDire
{
return Platform::getUserHomeDirectory();
}
DefineEngineFunction(setMainDotCsDir, void, (const char* path), , "setMainDotCsDir()")
{
Platform::setMainDotCsDir(StringTable->insert(path));
}