mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 00:09:31 +02:00
* Fixed compilation of mssql
git-svn-id: trunk@20618 -
This commit is contained in:
parent
241ea31e97
commit
8799956817
@ -13,6 +13,7 @@ const
|
||||
SqldbConnectionOSes = [beos,linux,freebsd,win32,win64,wince,darwin,iphonesim,netbsd,openbsd];
|
||||
SqliteOSes = [beos,haiku,linux,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,win32,wince];
|
||||
DBaseOSes = [beos,haiku,linux,freebsd,darwin,iphonesim,solaris,netbsd,openbsd,win32,win64,wince];
|
||||
MSSQLOSes = [beos,haiku,linux,freebsd,netbsd,openbsd,win32];
|
||||
SqldbWithoutPostgresOSes = [win64];
|
||||
|
||||
Var
|
||||
@ -46,6 +47,7 @@ begin
|
||||
P.SourcePath.Add('src/sqldb/odbc', SqldbConnectionOSes);
|
||||
P.SourcePath.Add('src/sqldb/examples', SqldbConnectionOSes);
|
||||
P.SourcePath.Add('src/sqldb/oracle', SqldbConnectionOSes-SqldbWithoutPostgresOSes);
|
||||
P.SourcePath.Add('src/sqldb/mssql', MSSQlOSes);
|
||||
P.SourcePath.Add('src/sdf');
|
||||
P.SourcePath.Add('src/json');
|
||||
P.SourcePath.Add('src/datadict', DatadictOSes);
|
||||
@ -72,6 +74,7 @@ begin
|
||||
P.Dependencies.Add('oracle', SqldbConnectionOSes-SqldbWithoutPostgresOSes);
|
||||
P.Dependencies.Add('postgres', SqldbConnectionOSes-SqldbWithoutPostgresOSes);
|
||||
P.Dependencies.Add('sqlite', SqldbConnectionOSes+SqliteOSes);
|
||||
P.Dependencies.Add('dblib', MSSQLOses);
|
||||
P.Dependencies.Add('pxlib',ParadoxOSes);
|
||||
P.Dependencies.Add('fcl-json');
|
||||
|
||||
@ -631,6 +634,15 @@ begin
|
||||
AddUnit('bufdataset_parser');
|
||||
end;
|
||||
T:=P.Targets.AddUnit('pqconnection.pp', SqldbConnectionOSes-SqldbWithoutPostgresOSes);
|
||||
T.ResourceStrings:=true;
|
||||
with T.Dependencies do
|
||||
begin
|
||||
AddUnit('sqldb');
|
||||
AddUnit('db');
|
||||
AddUnit('dbconst');
|
||||
AddUnit('bufdataset');
|
||||
end;
|
||||
T:=P.Targets.AddUnit('mssqlconn.pp', mssqlOSes);
|
||||
T.ResourceStrings:=true;
|
||||
with T.Dependencies do
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user