From 722487f238c559cdf78fd36610b1733540a631b4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Jun 2014 18:28:35 +0200 Subject: Support for VC12 (2013), initial work --- libodb-mysql-vc12.sln | 28 +++++ makefile | 2 +- odb/mysql/libodb-mysql-vc12.vcxproj | 182 ++++++++++++++++++++++++++++ odb/mysql/libodb-mysql-vc12.vcxproj.filters | 19 +++ odb/mysql/makefile | 5 +- 5 files changed, 234 insertions(+), 2 deletions(-) create mode 100644 libodb-mysql-vc12.sln create mode 100644 odb/mysql/libodb-mysql-vc12.vcxproj create mode 100644 odb/mysql/libodb-mysql-vc12.vcxproj.filters diff --git a/libodb-mysql-vc12.sln b/libodb-mysql-vc12.sln new file mode 100644 index 0000000..e5dfe82 --- /dev/null +++ b/libodb-mysql-vc12.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.21005.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libodb-mysql", "odb\mysql\libodb-mysql-vc11.vcxproj", "{95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}" +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 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Debug|Win32.ActiveCfg = Debug|Win32 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Debug|Win32.Build.0 = Debug|Win32 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Debug|x64.ActiveCfg = Debug|x64 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Debug|x64.Build.0 = Debug|x64 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Release|Win32.ActiveCfg = Release|Win32 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Release|Win32.Build.0 = Release|Win32 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Release|x64.ActiveCfg = Release|x64 + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/makefile b/makefile index 48fbb02..a3b1543 100644 --- a/makefile +++ b/makefile @@ -15,7 +15,7 @@ $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) $(dist): export docs := GPLv2 LICENSE README NEWS version $(dist): data_dist := INSTALL libodb-mysql-vc8.sln libodb-mysql-vc9.sln \ -libodb-mysql-vc10.sln libodb-mysql-vc11.sln +libodb-mysql-vc10.sln libodb-mysql-vc11.sln libodb-mysql-vc12.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/mysql/libodb-mysql-vc12.vcxproj b/odb/mysql/libodb-mysql-vc12.vcxproj new file mode 100644 index 0000000..3f398bd --- /dev/null +++ b/odb/mysql/libodb-mysql-vc12.vcxproj @@ -0,0 +1,182 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {95CDD546-E71F-41BC-9D8D-ADF60CEAEF8C} + Win32Proj + libodb-mysql + + + + DynamicLibrary + true + v120 + Unicode + + + DynamicLibrary + true + v120 + Unicode + + + DynamicLibrary + false + v120 + true + Unicode + + + DynamicLibrary + false + v120 + true + Unicode + + + + + + + + + + + + + + + + + + + true + ..\..\bin\ + odb-mysql-d-__value__(interface_version)-vc11 + + + true + ..\..\bin64\ + odb-mysql-d-__value__(interface_version)-vc11 + + + false + ..\..\bin\ + odb-mysql-__value__(interface_version)-vc11 + + + false + ..\..\bin64\ + odb-mysql-__value__(interface_version)-vc11 + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb-d.lib;libmysql.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib\odb-mysql-d.lib + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb-d.lib;libmysql.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib64\odb-mysql-d.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb.lib;libmysql.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib\odb-mysql.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MYSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb.lib;libmysql.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib64\odb-mysql.lib + + + +__header_entries__(headers) + + +__source_entries__(sources) + + + + + diff --git a/odb/mysql/libodb-mysql-vc12.vcxproj.filters b/odb/mysql/libodb-mysql-vc12.vcxproj.filters new file mode 100644 index 0000000..115907d --- /dev/null +++ b/odb/mysql/libodb-mysql-vc12.vcxproj.filters @@ -0,0 +1,19 @@ + + + + + {0347216A-CA2E-4378-8C44-8539C22EE47C} + cxx + + + {EEA5E942-4493-4517-8D9B-660178508331} + h;hxx;ixx;txx + + + +__header_filter_entries__(headers) + + +__source_filter_entries__(sources) + + diff --git a/odb/mysql/makefile b/odb/mysql/makefile index fbe1aad..931e668 100644 --- a/odb/mysql/makefile +++ b/odb/mysql/makefile @@ -105,7 +105,8 @@ $(dist): data_dist := $(cli_tun) details/config.h.in $(dist): export extra_dist := $(data_dist) \ libodb-mysql-vc8.vcproj libodb-mysql-vc9.vcproj \ libodb-mysql-vc10.vcxproj libodb-mysql-vc10.vcxproj.filters \ -libodb-mysql-vc11.vcxproj libodb-mysql-vc11.vcxproj.filters +libodb-mysql-vc11.vcxproj libodb-mysql-vc11.vcxproj.filters \ +libodb-mysql-vc12.vcxproj libodb-mysql-vc12.vcxproj.filters $(dist): export interface_version = $(shell sed -e \ 's/^\([0-9]*\.[0-9]*\).*/\1/' $(src_root)/version) @@ -116,6 +117,7 @@ $(dist): $(gen) $(call meta-vc9proj,$(src_base)/libodb-mysql-vc9.vcproj) $(call meta-vc10proj,$(src_base)/libodb-mysql-vc10.vcxproj) $(call meta-vc11proj,$(src_base)/libodb-mysql-vc11.vcxproj) + $(call meta-vc12proj,$(src_base)/libodb-mysql-vc12.vcxproj) $(call meta-automake) # Clean. @@ -145,6 +147,7 @@ $(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) +$(call include,$(bld_root)/meta/vc12proj.make) $(call include,$(bld_root)/meta/automake.make) $(call include,$(cli_rules)) -- cgit v1.1