mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-15 13:03:04 +02:00
fpcunit: set unitoutput dir, target filename and testrunner dependency to fpcunit ide project templates
git-svn-id: trunk@52291 -
This commit is contained in:
parent
3b980db521
commit
c3103372dc
@ -170,9 +170,13 @@ begin
|
||||
// add
|
||||
AProject.AddPackageDependency('FCL');
|
||||
AProject.AddPackageDependency('LCL');
|
||||
AProject.AddPackageDependency('fpcunittestrunner');
|
||||
|
||||
// compiler options
|
||||
AProject.LazCompilerOptions.UseLineInfoUnit:=true;
|
||||
AProject.LazCompilerOptions.Win32GraphicApp:=true;
|
||||
AProject.LazCompilerOptions.TargetFilename:='fpunitproject1';
|
||||
AProject.LazCompilerOptions.UnitOutputDirectory:='lib'+PathDelim+'$(TargetCPU)-$(TargetOS)';
|
||||
Result:=mrOK;
|
||||
end;
|
||||
|
||||
@ -357,6 +361,8 @@ begin
|
||||
|
||||
// compiler options
|
||||
AProject.LazCompilerOptions.UseLineInfoUnit:=true;
|
||||
AProject.LazCompilerOptions.TargetFilename:='fpunitproject1';
|
||||
AProject.LazCompilerOptions.UnitOutputDirectory:='lib'+PathDelim+'$(TargetCPU)-$(TargetOS)';
|
||||
Result:=mrOK;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user