From 3b683eaa935356ac960fca68c7173e1c9b1b3c1e 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 --- INSTALL | 2 +- etc/sqlite/README | 2 +- etc/sqlite/sqlite3-vc8.sln | 26 +++ etc/sqlite/sqlite3-vc8.vcproj | 360 ++++++++++++++++++++++++++++++++++++ libodb-sqlite-vc8.sln | 26 +++ makefile | 4 +- odb/sqlite/libodb-sqlite-vc8.vcproj | 352 +++++++++++++++++++++++++++++++++++ odb/sqlite/makefile | 5 +- 8 files changed, 772 insertions(+), 5 deletions(-) create mode 100644 etc/sqlite/sqlite3-vc8.sln create mode 100644 etc/sqlite/sqlite3-vc8.vcproj create mode 100644 libodb-sqlite-vc8.sln create mode 100644 odb/sqlite/libodb-sqlite-vc8.vcproj diff --git a/INSTALL b/INSTALL index 842f545..2a55ef1 100644 --- a/INSTALL +++ b/INSTALL @@ -80,7 +80,7 @@ macro from the project's "Preprocessor Definitions" settings). The SQLite source distribution for Windows lacks Visual Studio project/solution files. To rectify this situation, the libodb-sqlite distribution includes, in the -etc\sqlite\ directory, Visual Studio 9, 10, and 11 project/solution files +etc\sqlite\ directory, Visual Studio 8, 9, 10, and 11 project/solution files for building 32 and 64-bit SQLite libraries with unlock notify support. Refer to the accompanying README file for information on how to build the libraries and configure VC++ Directories to automatically locate them. diff --git a/etc/sqlite/README b/etc/sqlite/README index b147916..126c52c 100644 --- a/etc/sqlite/README +++ b/etc/sqlite/README @@ -1,5 +1,5 @@ This directory contains project/solution files for building SQLite libraries -with Microsoft Visual Studio versions 9, 10, and 11. +with Microsoft Visual Studio versions 8, 9, 10, and 11. To build SQLite, you will need to download two SQLite packages: sqlite- amalgamation and sqlite-dll. Copy the sqlite3.c and sqlite3.h files from the diff --git a/etc/sqlite/sqlite3-vc8.sln b/etc/sqlite/sqlite3-vc8.sln new file mode 100644 index 0000000..e5ed1d0 --- /dev/null +++ b/etc/sqlite/sqlite3-vc8.sln @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqlite3", "sqlite3-vc8.vcproj", "{6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}" +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 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Debug|Win32.ActiveCfg = Debug|Win32 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Debug|Win32.Build.0 = Debug|Win32 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Debug|x64.ActiveCfg = Debug|x64 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Debug|x64.Build.0 = Debug|x64 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Release|Win32.ActiveCfg = Release|Win32 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Release|Win32.Build.0 = Release|Win32 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Release|x64.ActiveCfg = Release|x64 + {6AAE1E22-4BE0-4CB4-A94E-B908167D88C2}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/etc/sqlite/sqlite3-vc8.vcproj b/etc/sqlite/sqlite3-vc8.vcproj new file mode 100644 index 0000000..8e1e552 --- /dev/null +++ b/etc/sqlite/sqlite3-vc8.vcproj @@ -0,0 +1,360 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/libodb-sqlite-vc8.sln b/libodb-sqlite-vc8.sln new file mode 100644 index 0000000..94d3f87 --- /dev/null +++ b/libodb-sqlite-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-sqlite", "odb\sqlite\libodb-sqlite-vc8.vcproj", "{E4055842-E6F1-4305-9FD2-EF70A92290C9}" +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 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Debug|Win32.ActiveCfg = Debug|Win32 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Debug|Win32.Build.0 = Debug|Win32 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Debug|x64.ActiveCfg = Debug|x64 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Debug|x64.Build.0 = Debug|x64 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Release|Win32.ActiveCfg = Release|Win32 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Release|Win32.Build.0 = Release|Win32 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Release|x64.ActiveCfg = Release|x64 + {E4055842-E6F1-4305-9FD2-EF70A92290C9}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/makefile b/makefile index d53519c..19eee70 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-sqlite-vc9.sln libodb-sqlite-vc10.sln \ -libodb-sqlite-vc11.sln \ +$(dist): data_dist := INSTALL libodb-sqlite-vc8.sln libodb-sqlite-vc9.sln \ +libodb-sqlite-vc10.sln libodb-sqlite-vc11.sln \ $(subst $(src_base)/,,$(shell find $(src_base)/etc -type f)) $(dist): exec_dist := bootstrap $(dist): export extra_dist := $(data_dist) $(exec_dist) diff --git a/odb/sqlite/libodb-sqlite-vc8.vcproj b/odb/sqlite/libodb-sqlite-vc8.vcproj new file mode 100644 index 0000000..7bcc784 --- /dev/null +++ b/odb/sqlite/libodb-sqlite-vc8.vcproj @@ -0,0 +1,352 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entries__(sources) + + +__file_entries__(headers) + + + + + diff --git a/odb/sqlite/makefile b/odb/sqlite/makefile index 3c33009..bfde3aa 100644 --- a/odb/sqlite/makefile +++ b/odb/sqlite/makefile @@ -100,7 +100,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-sqlite-vc9.vcproj \ +$(dist): export extra_dist := $(data_dist) \ +libodb-sqlite-vc8.vcproj libodb-sqlite-vc9.vcproj \ libodb-sqlite-vc10.vcxproj libodb-sqlite-vc10.vcxproj.filters \ libodb-sqlite-vc11.vcxproj libodb-sqlite-vc11.vcxproj.filters $(dist): export interface_version = $(shell sed -e \ @@ -109,6 +110,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/sqlite/details) + $(call meta-vc8proj,$(src_base)/libodb-sqlite-vc8.vcproj) $(call meta-vc9proj,$(src_base)/libodb-sqlite-vc9.vcproj) $(call meta-vc10proj,$(src_base)/libodb-sqlite-vc10.vcxproj) $(call meta-vc11proj,$(src_base)/libodb-sqlite-vc11.vcxproj) @@ -137,6 +139,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