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/common/basic/makefile | 3 + qt/common/containers/basics/makefile | 3 + qt/common/containers/change-tracking/makefile | 3 + qt/common/makefile | 3 + qt/common/qt-common-qt4-vc8.sln | 15 ++ qt/common/smart-ptr/makefile | 3 + qt/common/template/makefile | 3 + qt/common/template/template-qt4-vc8.vcproj | 353 ++++++++++++++++++++++++++ 8 files changed, 386 insertions(+) create mode 100644 qt/common/qt-common-qt4-vc8.sln create mode 100644 qt/common/template/template-qt4-vc8.vcproj (limited to 'qt/common') diff --git a/qt/common/basic/makefile b/qt/common/basic/makefile index db50659..c61d160 100644 --- a/qt/common/basic/makefile +++ b/qt/common/basic/makefile @@ -64,12 +64,14 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(name) $(dist): export extra_dist := $(data_dist) \ +$(call vc8projs,$(name)-qt4) \ $(call vc9projs,$(name)-qt4) $(call vc9projs,$(name)-qt5) \ $(call vc10projs,$(name)-qt4) $(call vc10projs,$(name)-qt5) \ $(call vc11projs,$(name)-qt4) $(call vc11projs,$(name)-qt5) $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../template/template-qt5,$(name)-qt5) $(call meta-vc10projs,../template/template-qt4,$(name)-qt4) @@ -108,6 +110,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/common/containers/basics/makefile b/qt/common/containers/basics/makefile index 5f3b201..caad81a 100644 --- a/qt/common/containers/basics/makefile +++ b/qt/common/containers/basics/makefile @@ -64,12 +64,14 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(name) $(dist): export extra_dist := $(data_dist) \ +$(call vc8projs,$(name)-qt4) \ $(call vc9projs,$(name)-qt4) $(call vc9projs,$(name)-qt5) \ $(call vc10projs,$(name)-qt4) $(call vc10projs,$(name)-qt5) \ $(call vc11projs,$(name)-qt4) $(call vc11projs,$(name)-qt5) $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../../template/Makefile.am) + $(call meta-vc8projs,../../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../../template/template-qt5,$(name)-qt5) $(call meta-vc10projs,../../template/template-qt4,$(name)-qt4) @@ -108,6 +110,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/common/containers/change-tracking/makefile b/qt/common/containers/change-tracking/makefile index 582c8c4..1e05409 100644 --- a/qt/common/containers/change-tracking/makefile +++ b/qt/common/containers/change-tracking/makefile @@ -64,12 +64,14 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(name) $(dist): export extra_dist := $(data_dist) \ +$(call vc8projs,$(name)-qt4) \ $(call vc9projs,$(name)-qt4) $(call vc9projs,$(name)-qt5) \ $(call vc10projs,$(name)-qt4) $(call vc10projs,$(name)-qt5) \ $(call vc11projs,$(name)-qt4) $(call vc11projs,$(name)-qt5) $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../../template/Makefile.am) + $(call meta-vc8projs,../../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../../template/template-qt5,$(name)-qt5) $(call meta-vc10projs,../../template/template-qt4,$(name)-qt4) @@ -108,6 +110,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/common/makefile b/qt/common/makefile index 6b72fb0..d03d843 100644 --- a/qt/common/makefile +++ b/qt/common/makefile @@ -20,11 +20,13 @@ name := qt-common $(dist): name := $(name) $(dist): export dirs := $(tests) $(dist): export extra_dist := test.bat \ +$(call vc9slns,$(name)-qt4) \ $(call vc9slns,$(name)-qt4) $(call vc9slns,$(name)-qt5) \ $(call vc10slns,$(name)-qt4) $(call vc10slns,$(name)-qt5) \ $(call vc11slns,$(name)-qt4) $(call vc11slns,$(name)-qt5) $(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(all_tests))) $(call meta-automake) + $(call meta-vc8slns,$(name)-qt4,-qt4) $(call meta-vc9slns,$(name)-qt4,-qt4) $(call meta-vc9slns,$(name)-qt5,-qt5) $(call meta-vc10slns,$(name)-qt4,-qt4) @@ -42,6 +44,7 @@ endif $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(all_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/common/qt-common-qt4-vc8.sln b/qt/common/qt-common-qt4-vc8.sln new file mode 100644 index 0000000..f38bad2 --- /dev/null +++ b/qt/common/qt-common-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/common/smart-ptr/makefile b/qt/common/smart-ptr/makefile index 7dad2e7..67cf8c3 100644 --- a/qt/common/smart-ptr/makefile +++ b/qt/common/smart-ptr/makefile @@ -64,12 +64,14 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(name) $(dist): export extra_dist := $(data_dist) \ +$(call vc8projs,$(name)-qt4) \ $(call vc9projs,$(name)-qt4) $(call vc9projs,$(name)-qt5) \ $(call vc10projs,$(name)-qt4) $(call vc10projs,$(name)-qt5) \ $(call vc11projs,$(name)-qt4) $(call vc11projs,$(name)-qt5) $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../template/template-qt5,$(name)-qt5) $(call meta-vc10projs,../template/template-qt4,$(name)-qt4) @@ -108,6 +110,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/common/template/makefile b/qt/common/template/makefile index 407094c..ff5d230 100644 --- a/qt/common/template/makefile +++ b/qt/common/template/makefile @@ -64,12 +64,14 @@ $(dist): headers := $(odb_hdr) $(dist): data_dist := test.std $(dist): export name := $(name) $(dist): export extra_dist := $(data_dist) \ +$(call vc8projs,$(name)-qt4) \ $(call vc9projs,$(name)-qt4) $(call vc9projs,$(name)-qt5) \ $(call vc10projs,$(name)-qt4) $(call vc10projs,$(name)-qt5) \ $(call vc11projs,$(name)-qt4) $(call vc11projs,$(name)-qt5) $(dist): $(call dist-data,$(sources) $(headers) $(data_dist)) $(call meta-automake,../template/Makefile.am) + $(call meta-vc8projs,../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../template/template-qt4,$(name)-qt4) $(call meta-vc9projs,../template/template-qt5,$(name)-qt5) $(call meta-vc10projs,../template/template-qt4,$(name)-qt4) @@ -108,6 +110,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/common/template/template-qt4-vc8.vcproj b/qt/common/template/template-qt4-vc8.vcproj new file mode 100644 index 0000000..63fc22c --- /dev/null +++ b/qt/common/template/template-qt4-vc8.vcproj @@ -0,0 +1,353 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +__source_entry__(driver.cxx) +__source_entry__(test-odb.cxx) +__source_entries__(extra_sources) + + +__file_entry_custom_build__( +test.hxx, +odb test.hxx, +odb.exe --database __value__(database) __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