From fd5311fddd134f7a998b29952b32e3d721b7f544 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-mssql-vc12.sln | 28 +++++ makefile | 2 +- odb/mssql/libodb-mssql-vc12.vcxproj | 182 ++++++++++++++++++++++++++++ odb/mssql/libodb-mssql-vc12.vcxproj.filters | 19 +++ odb/mssql/makefile | 5 +- 5 files changed, 234 insertions(+), 2 deletions(-) create mode 100644 libodb-mssql-vc12.sln create mode 100644 odb/mssql/libodb-mssql-vc12.vcxproj create mode 100644 odb/mssql/libodb-mssql-vc12.vcxproj.filters diff --git a/libodb-mssql-vc12.sln b/libodb-mssql-vc12.sln new file mode 100644 index 0000000..f5457ac --- /dev/null +++ b/libodb-mssql-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("{C1335C92-809F-41A7-877A-4A0193D974D3}") = "libodb-mssql", "odb\mssql\libodb-mssql-vc11.vcxproj", "{E1AB8673-9D52-4984-AF83-BCB5BC97BB13}" +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 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Debug|Win32.ActiveCfg = Debug|Win32 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Debug|Win32.Build.0 = Debug|Win32 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Debug|x64.ActiveCfg = Debug|x64 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Debug|x64.Build.0 = Debug|x64 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Release|Win32.ActiveCfg = Release|Win32 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Release|Win32.Build.0 = Release|Win32 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Release|x64.ActiveCfg = Release|x64 + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/makefile b/makefile index 6731715..be6d628 100644 --- a/makefile +++ b/makefile @@ -15,7 +15,7 @@ $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) $(dist): export docs := NCUEL LICENSE README NEWS version $(dist): data_dist := INSTALL libodb-mssql-vc8.sln libodb-mssql-vc9.sln \ -libodb-mssql-vc10.sln libodb-mssql-vc11.sln +libodb-mssql-vc10.sln libodb-mssql-vc11.sln libodb-mssql-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/mssql/libodb-mssql-vc12.vcxproj b/odb/mssql/libodb-mssql-vc12.vcxproj new file mode 100644 index 0000000..6ea3ec5 --- /dev/null +++ b/odb/mssql/libodb-mssql-vc12.vcxproj @@ -0,0 +1,182 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {E1AB8673-9D52-4984-AF83-BCB5BC97BB13} + Win32Proj + libodb-mssql + + + + DynamicLibrary + true + v120 + Unicode + + + DynamicLibrary + true + v120 + Unicode + + + DynamicLibrary + false + v120 + true + Unicode + + + DynamicLibrary + false + v120 + true + Unicode + + + + + + + + + + + + + + + + + + + true + ..\..\bin\ + odb-mssql-d-__value__(interface_version)-vc11 + + + true + ..\..\bin64\ + odb-mssql-d-__value__(interface_version)-vc11 + + + false + ..\..\bin\ + odb-mssql-__value__(interface_version)-vc11 + + + false + ..\..\bin64\ + odb-mssql-__value__(interface_version)-vc11 + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb-d.lib;odbc32.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib\odb-mssql-d.lib + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb-d.lib;odbc32.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib64\odb-mssql-d.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb.lib;odbc32.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib\odb-mssql.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_MSSQL_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;4267;%(DisableSpecificWarnings) + true + + + odb.lib;odbc32.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib64\odb-mssql.lib + + + +__header_entries__(headers) + + +__source_entries__(sources) + + + + + diff --git a/odb/mssql/libodb-mssql-vc12.vcxproj.filters b/odb/mssql/libodb-mssql-vc12.vcxproj.filters new file mode 100644 index 0000000..6c33a96 --- /dev/null +++ b/odb/mssql/libodb-mssql-vc12.vcxproj.filters @@ -0,0 +1,19 @@ + + + + + {DAC90661-7ECF-461C-9F48-0F11F46D656B} + cxx + + + {7AF464A2-7C7D-45E7-8265-7468885489FD} + h;hxx;ixx;txx + + + +__header_filter_entries__(headers) + + +__source_filter_entries__(sources) + + diff --git a/odb/mssql/makefile b/odb/mssql/makefile index e713718..0532d98 100644 --- a/odb/mssql/makefile +++ b/odb/mssql/makefile @@ -101,7 +101,8 @@ $(dist): data_dist := $(cli_tun) details/config.h.in $(dist): export extra_dist := $(data_dist) \ libodb-mssql-vc8.vcproj libodb-mssql-vc9.vcproj \ libodb-mssql-vc10.vcxproj libodb-mssql-vc10.vcxproj.filters \ -libodb-mssql-vc11.vcxproj libodb-mssql-vc11.vcxproj.filters +libodb-mssql-vc11.vcxproj libodb-mssql-vc11.vcxproj.filters \ +libodb-mssql-vc12.vcxproj libodb-mssql-vc12.vcxproj.filters $(dist): export interface_version = $(shell sed -e \ 's/^\([0-9]*\.[0-9]*\).*/\1/' $(src_root)/version) @@ -112,6 +113,7 @@ $(dist): $(gen) $(call meta-vc9proj,$(src_base)/libodb-mssql-vc9.vcproj) $(call meta-vc10proj,$(src_base)/libodb-mssql-vc10.vcxproj) $(call meta-vc11proj,$(src_base)/libodb-mssql-vc11.vcxproj) + $(call meta-vc12proj,$(src_base)/libodb-mssql-vc12.vcxproj) $(call meta-automake) # Clean. @@ -141,6 +143,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