mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-20 04:29:24 +01:00
manager routines (in particular for locale-based routines, such as upper/
lowercase), and which falls back to cwstring for functionality not
supported by CoreFoundation (such as converting an UTF-8 string with
illegal sequences to a different encoding)
o this unit is particularly useful on iOS 7 (and 8?), as Apple no
longer includes command line locale information on that platform and
hence locale-dependent libc routines only work with the "C" locale
there)
git-svn-id: trunk@29828 -
32 lines
544 B
ObjectPascal
32 lines
544 B
ObjectPascal
{$ifndef ALLPACKAGES}
|
|
{$mode objfpc}{$H+}
|
|
program fpmake;
|
|
|
|
uses fpmkunit;
|
|
|
|
Var
|
|
P : TPackage;
|
|
T : TTarget;
|
|
begin
|
|
With Installer do
|
|
begin
|
|
{$endif ALLPACKAGES}
|
|
|
|
P:=AddPackage('iosxlocale');
|
|
P.Dependencies.Add('univint');
|
|
{$ifdef ALLPACKAGES}
|
|
P.Directory:=ADirectory;
|
|
{$endif ALLPACKAGES}
|
|
P.Version:='3.1.1';
|
|
P.SourcePath.Add('src');
|
|
P.OSes:=[darwin,iphonesim];
|
|
|
|
T:=P.Targets.AddUnit('iosxlocale.pp');
|
|
T:=P.Targets.AddUnit('iosxwstr.pp');
|
|
|
|
{$ifndef ALLPACKAGES}
|
|
Run;
|
|
end;
|
|
end.
|
|
{$endif ALLPACKAGES}
|