mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 08:58:23 +02:00
LazDataDesktop: Enable MSSQL for FPC 3.0.2 and newer, issue #32680, patch from Sven Barth
git-svn-id: trunk@56369 -
This commit is contained in:
parent
098ed06162
commit
4a07f5355d
@ -258,6 +258,34 @@ type
|
||||
TProjectSessionStorages = set of TProjectSessionStorage;
|
||||
|
||||
const
|
||||
ProjectFlagNames : array[TProjectFlag] of string = (
|
||||
'SaveClosedFiles',
|
||||
'SaveOnlyProjectUnits',
|
||||
'MainUnitIsPascalSource',
|
||||
'MainUnitHasUsesSectionForAllUnits',
|
||||
'MainUnitHasCreateFormStatements',
|
||||
'MainUnitHasTitleStatement',
|
||||
'MainUnitHasScaledStatement',
|
||||
'Runnable',
|
||||
'AlwaysBuild',
|
||||
'UseDesignTimePackages',
|
||||
'LRSInOutputDirectory',
|
||||
'UseDefaultCompilerOptions',
|
||||
'SaveJumpHistory',
|
||||
'SaveFoldState'
|
||||
);
|
||||
ProjectSessionStorageNames: array[TProjectSessionStorage] of string = (
|
||||
'InProjectInfo',
|
||||
'InProjectDir',
|
||||
'InIDEConfig',
|
||||
'None'
|
||||
);
|
||||
|
||||
CompilationExecutableTypeNames: array[TCompilationExecutableType] of string =(
|
||||
'Program',
|
||||
'Library'
|
||||
);
|
||||
|
||||
pssHasSeparateSession = [pssInProjectDir,pssInIDEConfig];
|
||||
DefaultProjectCleanOutputFileMask = '*';
|
||||
DefaultProjectCleanSourcesFileMask = '*.ppu;*.ppl;*.o;*.or';
|
||||
@ -549,45 +577,17 @@ function ProjectDescriptorCustomProgram: TProjectDescriptor;
|
||||
function ProjectDescriptorEmptyProject: TProjectDescriptor;
|
||||
|
||||
const
|
||||
DefaultProjectFlags = [pfSaveClosedUnits,
|
||||
DefaultProjectNoApplicationFlags = [pfSaveClosedUnits,
|
||||
pfMainUnitIsPascalSource,
|
||||
pfMainUnitHasUsesSectionForAllUnits,
|
||||
pfMainUnitHasCreateFormStatements,
|
||||
pfMainUnitHasTitleStatement,
|
||||
pfMainUnitHasScaledStatement,
|
||||
pfRunnable,
|
||||
pfLRSFilesInOutputDirectory,
|
||||
pfSaveJumpHistory,
|
||||
pfSaveFoldState];
|
||||
ProjectFlagNames : array[TProjectFlag] of string = (
|
||||
'SaveClosedFiles',
|
||||
'SaveOnlyProjectUnits',
|
||||
'MainUnitIsPascalSource',
|
||||
'MainUnitHasUsesSectionForAllUnits',
|
||||
'MainUnitHasCreateFormStatements',
|
||||
'MainUnitHasTitleStatement',
|
||||
'MainUnitHasScaledStatement',
|
||||
'Runnable',
|
||||
'AlwaysBuild',
|
||||
'UseDesignTimePackages',
|
||||
'LRSInOutputDirectory',
|
||||
'UseDefaultCompilerOptions',
|
||||
'SaveJumpHistory',
|
||||
'SaveFoldState'
|
||||
);
|
||||
|
||||
ProjectSessionStorageNames: array[TProjectSessionStorage] of string = (
|
||||
'InProjectInfo',
|
||||
'InProjectDir',
|
||||
'InIDEConfig',
|
||||
'None'
|
||||
);
|
||||
|
||||
CompilationExecutableTypeNames: array[TCompilationExecutableType] of string =(
|
||||
'Program',
|
||||
'Library'
|
||||
);
|
||||
|
||||
DefaultProjectFlags = DefaultProjectNoApplicationFlags+[
|
||||
pfMainUnitHasCreateFormStatements,
|
||||
pfMainUnitHasTitleStatement,
|
||||
pfMainUnitHasScaledStatement];
|
||||
|
||||
function LoadProjectIconIntoImages(const ProjFile: string;
|
||||
const Images: TCustomImageList; const Index: TStringList): Integer;
|
||||
|
@ -25,8 +25,8 @@
|
||||
When done so, add the unit to the uses clause in the implementation, and register it in RegisterDDEngines
|
||||
}
|
||||
|
||||
{ MS-SQL server connectop}
|
||||
{$IFDEF VER3_1_1}
|
||||
{ MS-SQL server connection}
|
||||
{$IF FPC_FULLVERSION>30001}
|
||||
{$DEFINE HAVEMSSQLCONN}
|
||||
{$ENDIF}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user