mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-21 18:26:06 +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.AddFile(MainFile,false);
|
||||||
AProject.MainFileID:=0;
|
AProject.MainFileID:=0;
|
||||||
SetDefaultWebCompileOptions(AProject.LazCompilerOptions);
|
SetDefaultWebCompileOptions(AProject.LazCompilerOptions);
|
||||||
|
AProject.LazCompilerOptions.TargetFilename:='project1';
|
||||||
SetDefaultWebRunParams(AProject.RunParameters.GetOrCreate('Default'));
|
SetDefaultWebRunParams(AProject.RunParameters.GetOrCreate('Default'));
|
||||||
AProject.MainFile.SetSourceText(CreateProjectSource,true);
|
AProject.MainFile.SetSourceText(CreateProjectSource,true);
|
||||||
AProject.CustomData.Values[PJSProjectWebBrowser]:='1';
|
AProject.CustomData.Values[PJSProjectWebBrowser]:='1';
|
||||||
|
@ -108,7 +108,7 @@ begin
|
|||||||
CompOpts.CustomOptions:=CustomOpts;
|
CompOpts.CustomOptions:=CustomOpts;
|
||||||
|
|
||||||
if PJSOptions.CompilerFilename='' then
|
if PJSOptions.CompilerFilename='' then
|
||||||
Compiler:='$MakeExe(pas2js)'
|
Compiler:='$MakeExe(IDE,pas2js)'
|
||||||
else
|
else
|
||||||
Compiler:=PJSOptions.CompilerFilename;
|
Compiler:=PJSOptions.CompilerFilename;
|
||||||
CompOpts.CompilerPath:=Compiler;
|
CompOpts.CompilerPath:=Compiler;
|
||||||
|
Loading…
Reference in New Issue
Block a user