mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-14 03:19:32 +02:00
pas2js: targetfilename
git-svn-id: trunk@58035 -
This commit is contained in:
parent
d6f38850b5
commit
a03c3c6674
@ -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';
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user