From 6f9ded221d69320047a8c3a0621cd797a86c07e2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 30 Apr 2014 08:02:42 +0200 Subject: Add support for VC12 (2013) --- tests/makefile | 4 +- tests/parser/makefile | 5 +- tests/roundtrip/makefile | 5 +- tests/serializer/makefile | 5 +- tests/template/template-vc12.vcxproj | 171 +++++++++++++++++++++++++++ tests/template/template-vc12.vcxproj.filters | 20 ++++ tests/tests-vc12.sln | 17 +++ 7 files changed, 223 insertions(+), 4 deletions(-) create mode 100644 tests/template/template-vc12.vcxproj create mode 100644 tests/template/template-vc12.vcxproj.filters create mode 100644 tests/tests-vc12.sln (limited to 'tests') diff --git a/tests/makefile b/tests/makefile index d058583..db15287 100644 --- a/tests/makefile +++ b/tests/makefile @@ -16,12 +16,13 @@ $(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) $(dist): export dirs := $(tests) $(dist): export extra_dist := test.bat tests-vc9.sln tests-vc10.sln \ -tests-vc11.sln +tests-vc11.sln tests-vc12.sln $(dist): $(addprefix $(out_base)/,$(addsuffix /.dist,$(tests))) $(call meta-automake) $(call meta-vc9sln,tests-vc9.sln) $(call meta-vc10sln,tests-vc10.sln) $(call meta-vc11sln,tests-vc11.sln) + $(call meta-vc12sln,tests-vc12.sln) $(call meta-vctest,tests-vc9.sln,test.bat) $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) @@ -29,6 +30,7 @@ $(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) $(call include,$(bld_root)/meta/vc9sln.make) $(call include,$(bld_root)/meta/vc10sln.make) $(call include,$(bld_root)/meta/vc11sln.make) +$(call include,$(bld_root)/meta/vc12sln.make) $(call include,$(bld_root)/meta/vctest.make) $(call include,$(bld_root)/meta/automake.make) diff --git a/tests/parser/makefile b/tests/parser/makefile index 1529317..1336e3f 100644 --- a/tests/parser/makefile +++ b/tests/parser/makefile @@ -34,13 +34,15 @@ $(dist): name := $(subst $(src_root)/tests/,,$(src_base)) $(dist): sources := $(cxx_tun) $(dist): export extra_dist := $(name)-vc9.vcproj \ $(name)-vc10.vcxproj $(name)-vc10.vcxproj.filters \ -$(name)-vc11.vcxproj $(name)-vc11.vcxproj.filters +$(name)-vc11.vcxproj $(name)-vc11.vcxproj.filters \ +$(name)-vc12.vcxproj $(name)-vc12.vcxproj.filters $(dist): $(call dist-data,$(sources)) $(call meta-automake,../template/Makefile.am) $(call meta-vc9proj,../template/template-vc9.vcproj,$(name)-vc9.vcproj) $(call meta-vc10proj,../template/template-vc10.vcxproj,$(name)-vc10.vcxproj) $(call meta-vc11proj,../template/template-vc11.vcxproj,$(name)-vc11.vcxproj) + $(call meta-vc12proj,../template/template-vc12.vcxproj,$(name)-vc12.vcxproj) # Test. @@ -75,6 +77,7 @@ $(call include,$(bld_root)/dist.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) +$(call include,$(bld_root)/meta/vc12proj.make) $(call include,$(bld_root)/meta/automake.make) $(call include,$(bld_root)/cxx/o-e.make) diff --git a/tests/roundtrip/makefile b/tests/roundtrip/makefile index d550036..672951c 100644 --- a/tests/roundtrip/makefile +++ b/tests/roundtrip/makefile @@ -45,13 +45,15 @@ $(dist): sources := $(cxx_tun) $(dist): extras := $(tests) $(dist): export extra_dist := $(extras) $(name)-vc9.vcproj \ $(name)-vc10.vcxproj $(name)-vc10.vcxproj.filters \ -$(name)-vc11.vcxproj $(name)-vc11.vcxproj.filters +$(name)-vc11.vcxproj $(name)-vc11.vcxproj.filters \ +$(name)-vc12.vcxproj $(name)-vc12.vcxproj.filters $(dist): $(call dist-data,$(sources) $(extras)) $(call meta-automake,../template/Makefile.am) $(call meta-vc9proj,../template/template-vc9.vcproj,$(name)-vc9.vcproj) $(call meta-vc10proj,../template/template-vc10.vcxproj,$(name)-vc10.vcxproj) $(call meta-vc11proj,../template/template-vc11.vcxproj,$(name)-vc11.vcxproj) + $(call meta-vc12proj,../template/template-vc12.vcxproj,$(name)-vc12.vcxproj) # Test. # @@ -88,6 +90,7 @@ $(call include,$(bld_root)/dist.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) +$(call include,$(bld_root)/meta/vc12proj.make) $(call include,$(bld_root)/meta/automake.make) $(call include,$(bld_root)/cxx/o-e.make) diff --git a/tests/serializer/makefile b/tests/serializer/makefile index fb5ca5a..da37254 100644 --- a/tests/serializer/makefile +++ b/tests/serializer/makefile @@ -36,13 +36,15 @@ $(dist): name := $(subst $(src_root)/tests/,,$(src_base)) $(dist): sources := $(cxx_tun) $(dist): export extra_dist := $(name)-vc9.vcproj \ $(name)-vc10.vcxproj $(name)-vc10.vcxproj.filters \ -$(name)-vc11.vcxproj $(name)-vc11.vcxproj.filters +$(name)-vc11.vcxproj $(name)-vc11.vcxproj.filters \ +$(name)-vc12.vcxproj $(name)-vc12.vcxproj.filters $(dist): $(call dist-data,$(sources)) $(call meta-automake,../template/Makefile.am) $(call meta-vc9proj,../template/template-vc9.vcproj,$(name)-vc9.vcproj) $(call meta-vc10proj,../template/template-vc10.vcxproj,$(name)-vc10.vcxproj) $(call meta-vc11proj,../template/template-vc11.vcxproj,$(name)-vc11.vcxproj) + $(call meta-vc12proj,../template/template-vc12.vcxproj,$(name)-vc12.vcxproj) # Test. @@ -77,6 +79,7 @@ $(call include,$(bld_root)/dist.make) $(call include,$(bld_root)/meta/vc9proj.make) $(call include,$(bld_root)/meta/vc10proj.make) $(call include,$(bld_root)/meta/vc11proj.make) +$(call include,$(bld_root)/meta/vc12proj.make) $(call include,$(bld_root)/meta/automake.make) $(call include,$(bld_root)/cxx/o-e.make) diff --git a/tests/template/template-vc12.vcxproj b/tests/template/template-vc12.vcxproj new file mode 100644 index 0000000..411c7e0 --- /dev/null +++ b/tests/template/template-vc12.vcxproj @@ -0,0 +1,171 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {__uuid__()} + Win32Proj + __value__(name) + + + + Application + true + v120 + Unicode + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + + + + + + + true + $(Configuration)\ + driver + + + true + $(Platform)\$(Configuration)\ + driver + + + false + $(Configuration)\ + driver + + + false + $(Platform)\$(Configuration)\ + driver + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + $(SolutionDir)\.. + 4068;4355;4800;4290;%(DisableSpecificWarnings) + + + $(SolutionDir)\..\lib\studxml-d.lib;%(AdditionalDependencies) + Console + true + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + $(SolutionDir)\.. + 4068;4355;4800;4290;%(DisableSpecificWarnings) + + + $(SolutionDir)\..\lib64\studxml-d.lib;%(AdditionalDependencies) + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + $(SolutionDir)\.. + 4068;4355;4800;4290;%(DisableSpecificWarnings) + + + $(SolutionDir)\..\lib\studxml.lib;%(AdditionalDependencies) + Console + true + true + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;_CONSOLE;_LIB;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions) + $(SolutionDir)\.. + 4068;4355;4800;4290;%(DisableSpecificWarnings) + + + $(SolutionDir)\..\lib64\studxml.lib;%(AdditionalDependencies) + Console + true + true + true + + + +__header_entries__(extra_headers) + + +__source_entry__(driver.cxx) +__source_entries__(extra_sources) + + + + + diff --git a/tests/template/template-vc12.vcxproj.filters b/tests/template/template-vc12.vcxproj.filters new file mode 100644 index 0000000..6d459fa --- /dev/null +++ b/tests/template/template-vc12.vcxproj.filters @@ -0,0 +1,20 @@ + + + + + {__uuid__()} + cxx + + + {__uuid__()} + h;hxx;ixx;txx + + + +__header_filter_entries__(extra_headers) + + +__source_filter_entry__(driver.cxx) +__source_filter_entries__(extra_sources) + + diff --git a/tests/tests-vc12.sln b/tests/tests-vc12.sln new file mode 100644 index 0000000..446d701 --- /dev/null +++ b/tests/tests-vc12.sln @@ -0,0 +1,17 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +__projects__ +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution +__solution_configurations__ + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution +__project_configurations__ + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal -- cgit v1.1