From e44bdb87e8b58b401034cbf1d96e63eac00fee64 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jul 2013 14:54:19 +0200 Subject: Add support for Visual Studio 2005 --- libodb-pgsql-vc8.sln | 26 +++ makefile | 4 +- odb/pgsql/libodb-pgsql-vc8.vcproj | 352 ++++++++++++++++++++++++++++++++++++++ odb/pgsql/makefile | 5 +- 4 files changed, 384 insertions(+), 3 deletions(-) create mode 100644 libodb-pgsql-vc8.sln create mode 100644 odb/pgsql/libodb-pgsql-vc8.vcproj diff --git a/libodb-pgsql-vc8.sln b/libodb-pgsql-vc8.sln new file mode 100644 index 0000000..d8092f4 --- /dev/null +++ b/libodb-pgsql-vc8.sln @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libodb-pgsql", "odb\pgsql\libodb-pgsql-vc8.vcproj", "{574D4042-A2C5-482C-B0EA-F1C2A8B0D374}" +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 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Debug|Win32.ActiveCfg = Debug|Win32 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Debug|Win32.Build.0 = Debug|Win32 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Debug|x64.ActiveCfg = Debug|x64 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Debug|x64.Build.0 = Debug|x64 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Release|Win32.ActiveCfg = Release|Win32 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Release|Win32.Build.0 = Release|Win32 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Release|x64.ActiveCfg = Release|x64 + {574D4042-A2C5-482C-B0EA-F1C2A8B0D374}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/makefile b/makefile index 6c36a59..e67091f 100644 --- a/makefile +++ b/makefile @@ -14,8 +14,8 @@ $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) $(dist): export docs := GPLv2 LICENSE README NEWS version -$(dist): data_dist := INSTALL libodb-pgsql-vc9.sln libodb-pgsql-vc10.sln \ -libodb-pgsql-vc11.sln +$(dist): data_dist := INSTALL libodb-pgsql-vc8.sln libodb-pgsql-vc9.sln \ +libodb-pgsql-vc10.sln libodb-pgsql-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/pgsql/libodb-pgsql-vc8.vcproj b/odb/pgsql/libodb-pgsql-vc8.vcproj new file mode 100644 index 0000000..8e3718c --- /dev/null +++ b/odb/pgsql/libodb-pgsql-vc8.vcproj @@ -0,0 +1,352 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entries__(sources) + + +__file_entries__(headers) + + + + + diff --git a/odb/pgsql/makefile b/odb/pgsql/makefile index b1f8629..77810f6 100644 --- a/odb/pgsql/makefile +++ b/odb/pgsql/makefile @@ -99,7 +99,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-pgsql-vc9.vcproj \ +$(dist): export extra_dist := $(data_dist) \ +libodb-pgsql-vc8.vcproj libodb-pgsql-vc9.vcproj \ libodb-pgsql-vc10.vcxproj libodb-pgsql-vc10.vcxproj.filters \ libodb-pgsql-vc11.vcxproj libodb-pgsql-vc11.vcxproj.filters $(dist): export interface_version = $(shell sed -e \ @@ -108,6 +109,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/pgsql/details) + $(call meta-vc8proj,$(src_base)/libodb-pgsql-vc8.vcproj) $(call meta-vc9proj,$(src_base)/libodb-pgsql-vc9.vcproj) $(call meta-vc10proj,$(src_base)/libodb-pgsql-vc10.vcxproj) $(call meta-vc11proj,$(src_base)/libodb-pgsql-vc11.vcxproj) @@ -136,6 +138,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) -- cgit v1.1