diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-07-08 14:54:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-07-08 14:54:19 +0200 |
commit | fe9276a017e09b1504a3b09002cefae337bd8354 (patch) | |
tree | c6ed06e79aa89d064a8d9ce5a49dac85923f400c | |
parent | 2475b7eaf84805e4ec4f5b29e1510e73876a0542 (diff) |
Add support for Visual Studio 2005
-rw-r--r-- | libodb-mssql-vc8.sln | 26 | ||||
-rw-r--r-- | makefile | 4 | ||||
-rw-r--r-- | odb/mssql/libodb-mssql-vc8.vcproj | 352 | ||||
-rw-r--r-- | odb/mssql/makefile | 5 |
4 files changed, 384 insertions, 3 deletions
diff --git a/libodb-mssql-vc8.sln b/libodb-mssql-vc8.sln new file mode 100644 index 0000000..345b4c4 --- /dev/null +++ b/libodb-mssql-vc8.sln @@ -0,0 +1,26 @@ +
+Microsoft Visual Studio Solution File, Format Version 9.00
+# Visual Studio 2005
+Project("{C3AD7165-4D15-4E93-BE2A-D2B237C7A33C}") = "libodb-mssql", "odb\mssql\libodb-mssql-vc8.vcproj", "{43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Debug|Win32.ActiveCfg = Debug|Win32
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Debug|Win32.Build.0 = Debug|Win32
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Debug|x64.ActiveCfg = Debug|x64
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Debug|x64.Build.0 = Debug|x64
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Release|Win32.ActiveCfg = Release|Win32
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Release|Win32.Build.0 = Release|Win32
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Release|x64.ActiveCfg = Release|x64
+ {43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
@@ -14,8 +14,8 @@ $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) $(dist): export docs := NCUEL LICENSE README NEWS version -$(dist): data_dist := INSTALL libodb-mssql-vc9.sln libodb-mssql-vc10.sln \ -libodb-mssql-vc11.sln +$(dist): data_dist := INSTALL libodb-mssql-vc8.sln libodb-mssql-vc9.sln \ +libodb-mssql-vc10.sln libodb-mssql-vc11.sln $(dist): exec_dist := bootstrap $(dist): export extra_dist := $(data_dist) $(exec_dist) $(dist): export version = $(shell cat $(src_root)/version) diff --git a/odb/mssql/libodb-mssql-vc8.vcproj b/odb/mssql/libodb-mssql-vc8.vcproj new file mode 100644 index 0000000..5fadaa9 --- /dev/null +++ b/odb/mssql/libodb-mssql-vc8.vcproj @@ -0,0 +1,352 @@ +<?xml version="1.0" encoding="Windows-1252"?> +<VisualStudioProject + ProjectType="Visual C++" + Version="8.00" + Name="libodb-mssql" + ProjectGUID="{43BDD7EE-1811-4C49-8ED6-76E2B0222AF0}" + RootNamespace="libodb-mssql" + Keyword="Win32Proj" + > + <Platforms> + <Platform + Name="Win32" + /> + <Platform + Name="x64" + /> + </Platforms> + <ToolFiles> + </ToolFiles> + <Configurations> + <Configuration + Name="Debug|Win32" + OutputDirectory="..\.." + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267" + Optimization="0" + AdditionalIncludeDirectories="..\.." + PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="4" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + CommandLine="if not exist ..\..\lib mkdir ..\..\lib" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="odb-d.lib odbc32.lib" + OutputFile="$(OutDir)\bin\odb-mssql-d-__value__(interface_version)-vc8.dll" + LinkIncremental="2" + GenerateDebugInformation="true" + SubSystem="2" + ImportLibrary="$(OutDir)\lib\odb-mssql-d.lib" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Debug|x64" + OutputDirectory="..\.." + IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267" + Optimization="0" + AdditionalIncludeDirectories="..\.." + PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB" + MinimalRebuild="true" + BasicRuntimeChecks="3" + RuntimeLibrary="3" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + CommandLine="if not exist ..\..\lib64 mkdir ..\..\lib64" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="odb-d.lib odbc32.lib" + OutputFile="$(OutDir)\bin64\odb-mssql-d-__value__(interface_version)-vc8.dll" + LinkIncremental="2" + GenerateDebugInformation="true" + SubSystem="2" + ImportLibrary="$(OutDir)\lib64\odb-mssql-d.lib" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|Win32" + OutputDirectory="..\.." + IntermediateDirectory="$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="1" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267" + AdditionalIncludeDirectories="..\.." + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB" + RuntimeLibrary="2" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + CommandLine="if not exist ..\..\lib mkdir ..\..\lib" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="odb.lib odbc32.lib" + OutputFile="$(OutDir)\bin\odb-mssql-__value__(interface_version)-vc8.dll" + LinkIncremental="1" + GenerateDebugInformation="true" + SubSystem="2" + OptimizeReferences="2" + EnableCOMDATFolding="2" + ImportLibrary="$(OutDir)\lib\odb-mssql.lib" + TargetMachine="1" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + <Configuration + Name="Release|x64" + OutputDirectory="..\.." + IntermediateDirectory="$(PlatformName)\$(ConfigurationName)" + ConfigurationType="2" + CharacterSet="1" + WholeProgramOptimization="1" + > + <Tool + Name="VCPreBuildEventTool" + /> + <Tool + Name="VCCustomBuildTool" + /> + <Tool + Name="VCXMLDataGeneratorTool" + /> + <Tool + Name="VCWebServiceProxyGeneratorTool" + /> + <Tool + Name="VCMIDLTool" + TargetEnvironment="3" + /> + <Tool + Name="VCCLCompilerTool" + AdditionalOptions="/wd4355 /wd4800 /wd4290 /wd4267" + AdditionalIncludeDirectories="..\.." + PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB" + RuntimeLibrary="2" + UsePrecompiledHeader="0" + WarningLevel="3" + DebugInformationFormat="3" + /> + <Tool + Name="VCManagedResourceCompilerTool" + /> + <Tool + Name="VCResourceCompilerTool" + /> + <Tool + Name="VCPreLinkEventTool" + CommandLine="if not exist ..\..\lib64 mkdir ..\..\lib64" + /> + <Tool + Name="VCLinkerTool" + AdditionalDependencies="odb.lib odbc32.lib" + OutputFile="$(OutDir)\bin64\odb-mssql-__value__(interface_version)-vc8.dll" + LinkIncremental="1" + GenerateDebugInformation="true" + SubSystem="2" + OptimizeReferences="2" + EnableCOMDATFolding="2" + ImportLibrary="$(OutDir)\lib64\odb-mssql.lib" + TargetMachine="17" + /> + <Tool + Name="VCALinkTool" + /> + <Tool + Name="VCManifestTool" + /> + <Tool + Name="VCXDCMakeTool" + /> + <Tool + Name="VCBscMakeTool" + /> + <Tool + Name="VCFxCopTool" + /> + <Tool + Name="VCAppVerifierTool" + /> + <Tool + Name="VCPostBuildEventTool" + /> + </Configuration> + </Configurations> + <References> + </References> + <Files> + <Filter + Name="Source Files" + Filter="cxx" + UniqueIdentifier="{1BBB6A3A-1B33-4A95-ABE9-465F904B44D6}" + > +__source_entries__(sources) + </Filter> + <Filter + Name="Header Files" + Filter="h;hxx;ixx;txx" + UniqueIdentifier="{77B4FCC8-3D05-4009-8EB9-5BFBC0941C65}" + > +__file_entries__(headers) + </Filter> + </Files> + <Globals> + </Globals> +</VisualStudioProject> diff --git a/odb/mssql/makefile b/odb/mssql/makefile index e4a2d68..23b92cd 100644 --- a/odb/mssql/makefile +++ b/odb/mssql/makefile @@ -97,7 +97,8 @@ $(dist): gen_headers := $(cli_tun:.cli=.hxx) $(cli_tun:.cli=.ixx) $(dist): export headers = $(sort $(headers_dist) $(gen_headers)) $(dist): gen_dist := $(gen) $(dist): data_dist := $(cli_tun) details/config.h.in -$(dist): export extra_dist := $(data_dist) libodb-mssql-vc9.vcproj \ +$(dist): export extra_dist := $(data_dist) \ +libodb-mssql-vc8.vcproj libodb-mssql-vc9.vcproj \ libodb-mssql-vc10.vcxproj libodb-mssql-vc10.vcxproj.filters \ libodb-mssql-vc11.vcxproj libodb-mssql-vc11.vcxproj.filters $(dist): export interface_version = $(shell sed -e \ @@ -106,6 +107,7 @@ $(dist): export interface_version = $(shell sed -e \ $(dist): $(gen) $(call dist-data,$(sources_dist) $(headers_dist) $(data_dist)) $(call dist-data,$(gen_dist),$(dist_prefix)/odb/mssql/details) + $(call meta-vc8proj,$(src_base)/libodb-mssql-vc8.vcproj) $(call meta-vc9proj,$(src_base)/libodb-mssql-vc9.vcproj) $(call meta-vc10proj,$(src_base)/libodb-mssql-vc10.vcxproj) $(call meta-vc11proj,$(src_base)/libodb-mssql-vc11.vcxproj) @@ -134,6 +136,7 @@ endif # How to. # $(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/vc8proj.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) |