pas2js: targetfilename

git-svn-id: trunk@58035 -
This commit is contained in:
mattias 2018-05-26 11:12:00 +00:00
parent d6f38850b5
commit a03c3c6674
2 changed files with 2 additions and 1 deletions

View File

@ -499,6 +499,7 @@ begin
AProject.AddFile(MainFile,false);
AProject.MainFileID:=0;
SetDefaultWebCompileOptions(AProject.LazCompilerOptions);
AProject.LazCompilerOptions.TargetFilename:='project1';
SetDefaultWebRunParams(AProject.RunParameters.GetOrCreate('Default'));
AProject.MainFile.SetSourceText(CreateProjectSource,true);
AProject.CustomData.Values[PJSProjectWebBrowser]:='1';

View File

@ -108,7 +108,7 @@ begin
CompOpts.CustomOptions:=CustomOpts;
if PJSOptions.CompilerFilename='' then
Compiler:='$MakeExe(pas2js)'
Compiler:='$MakeExe(IDE,pas2js)'
else
Compiler:=PJSOptions.CompilerFilename;
CompOpts.CompilerPath:=Compiler;