From 7b31bf12b9f517e2a9795d63a1701cdf23279d5a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jul 2013 14:54:20 +0200 Subject: Add support for Visual Studio 2005 --- qt/mysql/basic/makefile | 3 + qt/mysql/date-time/makefile | 3 + qt/mysql/makefile | 3 + qt/mysql/qt-mysql-qt4-vc8.sln | 15 ++ qt/mysql/template/makefile | 3 + qt/mysql/template/template-qt4-vc8.vcproj | 354 ++++++++++++++++++++++++++++++ 6 files changed, 381 insertions(+) create mode 100644 qt/mysql/qt-mysql-qt4-vc8.sln create mode 100644 qt/mysql/template/template-qt4-vc8.vcproj (limited to 'qt/mysql') diff --git a/qt/mysql/basic/makefile b/qt/mysql/basic/makefile index f0e8814..5d8d0fc 100644 --- a/qt/mysql/basic/makefile +++ b/qt/mysql/basic/makefile @@ -56,6 +56,7 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(subst /,-,$(subst $(src_root)/qt/mysql/,,$(src_base))) $(dist): export extra_dist := $(data_dist) \ +$(name)-qt4-vc8.vcproj \ $(name)-qt4-vc9.vcproj $(name)-qt5-vc9.vcproj \ $(name)-qt4-vc10.vcxproj $(name)-qt4-vc10.vcxproj.filters \ $(name)-qt5-vc10.vcxproj $(name)-qt5-vc10.vcxproj.filters \ @@ -64,6 +65,7 @@ $(name)-qt5-vc11.vcxproj $(name)-qt5-vc11.vcxproj.filters $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8proj,../template/template-qt4-vc8.vcproj,$(name)-qt4-vc8.vcproj) $(call meta-vc9proj,../template/template-qt4-vc9.vcproj,$(name)-qt4-vc9.vcproj) $(call meta-vc9proj,../template/template-qt5-vc9.vcproj,$(name)-qt5-vc9.vcproj) $(call meta-vc10proj,../template/template-qt4-vc10.vcxproj,$(name)-qt4-vc10.vcxproj) @@ -98,6 +100,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) diff --git a/qt/mysql/date-time/makefile b/qt/mysql/date-time/makefile index ded9a6c..2327f49 100644 --- a/qt/mysql/date-time/makefile +++ b/qt/mysql/date-time/makefile @@ -56,6 +56,7 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(subst /,-,$(subst $(src_root)/qt/mysql/,,$(src_base))) $(dist): export extra_dist := $(data_dist) \ +$(name)-qt4-vc8.vcproj \ $(name)-qt4-vc9.vcproj $(name)-qt5-vc9.vcproj \ $(name)-qt4-vc10.vcxproj $(name)-qt4-vc10.vcxproj.filters \ $(name)-qt5-vc10.vcxproj $(name)-qt5-vc10.vcxproj.filters \ @@ -64,6 +65,7 @@ $(name)-qt5-vc11.vcxproj $(name)-qt5-vc11.vcxproj.filters $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8proj,../template/template-qt4-vc8.vcproj,$(name)-qt4-vc8.vcproj) $(call meta-vc9proj,../template/template-qt4-vc9.vcproj,$(name)-qt4-vc9.vcproj) $(call meta-vc9proj,../template/template-qt5-vc9.vcproj,$(name)-qt5-vc9.vcproj) $(call meta-vc10proj,../template/template-qt4-vc10.vcxproj,$(name)-qt4-vc10.vcxproj) @@ -98,6 +100,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) diff --git a/qt/mysql/makefile b/qt/mysql/makefile index e94b718..eeffed7 100644 --- a/qt/mysql/makefile +++ b/qt/mysql/makefile @@ -14,11 +14,13 @@ $(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) $(dist): name := qt-mysql $(dist): export dirs := $(tests) $(dist): export extra_dist := test.bat \ +$(name)-qt4-vc8.sln \ $(name)-qt4-vc9.sln $(name)-qt5-vc9.sln \ $(name)-qt4-vc10.sln $(name)-qt5-vc10.sln \ $(name)-qt4-vc11.sln $(name)-qt5-vc11.sln $(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(tests))) $(call meta-automake) + $(call meta-vc8sln,$(name)-qt4-vc8.sln,,-qt4-vc8.vcproj) $(call meta-vc9sln,$(name)-qt4-vc9.sln,,-qt4-vc9.vcproj) $(call meta-vc9sln,$(name)-qt5-vc9.sln,,-qt5-vc9.vcproj) $(call meta-vc10sln,$(name)-qt4-vc10.sln,,-qt4-vc10.vcxproj) @@ -31,6 +33,7 @@ $(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(tests))) $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) +$(call include,$(bld_root)/meta/vc8sln.make) $(call include,$(bld_root)/meta/vc9sln.make) $(call include,$(bld_root)/meta/vc10sln.make) $(call include,$(bld_root)/meta/vc11sln.make) diff --git a/qt/mysql/qt-mysql-qt4-vc8.sln b/qt/mysql/qt-mysql-qt4-vc8.sln new file mode 100644 index 0000000..f38bad2 --- /dev/null +++ b/qt/mysql/qt-mysql-qt4-vc8.sln @@ -0,0 +1,15 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +__projects__ +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution +__solution_configurations__ + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution +__project_configurations__ + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/qt/mysql/template/makefile b/qt/mysql/template/makefile index 9870235..e35f84e 100644 --- a/qt/mysql/template/makefile +++ b/qt/mysql/template/makefile @@ -50,6 +50,7 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(subst /,-,$(subst $(src_root)/qt/mysql/,,$(src_base))) $(dist): export extra_dist := $(data_dist) \ +$(name)-qt4-vc8.vcproj \ $(name)-qt4-vc9.vcproj $(name)-qt5-vc9.vcproj \ $(name)-qt4-vc10.vcxproj $(name)-qt4-vc10.vcxproj.filters \ $(name)-qt5-vc10.vcxproj $(name)-qt5-vc10.vcxproj.filters \ @@ -58,6 +59,7 @@ $(name)-qt5-vc11.vcxproj $(name)-qt5-vc11.vcxproj.filters $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8proj,../template/template-qt4-vc8.vcproj,$(name)-qt4-vc8.vcproj) $(call meta-vc9proj,../template/template-qt4-vc9.vcproj,$(name)-qt4-vc9.vcproj) $(call meta-vc9proj,../template/template-qt5-vc9.vcproj,$(name)-qt5-vc9.vcproj) $(call meta-vc10proj,../template/template-qt4-vc10.vcxproj,$(name)-qt4-vc10.vcxproj) @@ -92,6 +94,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) diff --git a/qt/mysql/template/template-qt4-vc8.vcproj b/qt/mysql/template/template-qt4-vc8.vcproj new file mode 100644 index 0000000..25e096f --- /dev/null +++ b/qt/mysql/template/template-qt4-vc8.vcproj @@ -0,0 +1,354 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entry__(driver.cxx) +__ifelse__(__value__(odb_options),,,__source_entry__(test-odb.cxx)) +__source_entries__(extra_sources) + + +__ifelse__(__value__(odb_options),,, +__file_entry_custom_build__( +test.hxx, +odb test.hxx, +odb.exe __xml__(__shell_quotes__(__value__(odb_options) -DHAVE_CONFIG_VC_H -DODB_MSC_VER=1400 -I$(SolutionDir)\..\..\libcommon)) test.hxx, +test-odb.hxx;test-odb.ixx;test-odb.cxx) +__file_entry__(test-odb.hxx) +__file_entry__(test-odb.ixx)) +__file_entries__(extra_headers) + + + + + -- cgit v1.1