From cc73421f5a617c8c9e93dbddb6825a53a23d5a29 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 16 Sep 2012 13:21:49 +0200 Subject: Add support for Visual Studio 2012 --- libodb-boost-vc11.sln | 26 ++++ makefile | 3 +- odb/boost/libodb-boost-vc11.vcxproj | 178 ++++++++++++++++++++++++++++ odb/boost/libodb-boost-vc11.vcxproj.filters | 19 +++ odb/boost/makefile | 9 +- 5 files changed, 231 insertions(+), 4 deletions(-) create mode 100644 libodb-boost-vc11.sln create mode 100644 odb/boost/libodb-boost-vc11.vcxproj create mode 100644 odb/boost/libodb-boost-vc11.vcxproj.filters diff --git a/libodb-boost-vc11.sln b/libodb-boost-vc11.sln new file mode 100644 index 0000000..0efcf76 --- /dev/null +++ b/libodb-boost-vc11.sln @@ -0,0 +1,26 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libodb-boost", "odb\boost\libodb-boost-vc11.vcxproj", "{2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}" +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 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Debug|Win32.ActiveCfg = Debug|Win32 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Debug|Win32.Build.0 = Debug|Win32 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Debug|x64.ActiveCfg = Debug|x64 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Debug|x64.Build.0 = Debug|x64 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Release|Win32.ActiveCfg = Release|Win32 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Release|Win32.Build.0 = Release|Win32 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Release|x64.ActiveCfg = Release|x64 + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/makefile b/makefile index 4c1f49e..ad7dc42 100644 --- a/makefile +++ b/makefile @@ -15,7 +15,8 @@ $(default): $(addprefix $(out_base)/,$(addsuffix /,$(dirs))) $(dist): export dirs := $(dirs) $(dist): export docs := GPLv2 LICENSE README NEWS version $(dist): export options := odb/boost.options -$(dist): data_dist := INSTALL libodb-boost-vc9.sln libodb-boost-vc10.sln +$(dist): data_dist := INSTALL libodb-boost-vc9.sln libodb-boost-vc10.sln \ +libodb-boost-vc11.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/boost/libodb-boost-vc11.vcxproj b/odb/boost/libodb-boost-vc11.vcxproj new file mode 100644 index 0000000..c80bdf4 --- /dev/null +++ b/odb/boost/libodb-boost-vc11.vcxproj @@ -0,0 +1,178 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {2C6C42B3-81CA-4697-AA55-AAFDC166CAFE} + Win32Proj + libodb-boost + + + + DynamicLibrary + true + v110 + Unicode + + + DynamicLibrary + true + v110 + Unicode + + + DynamicLibrary + false + v110 + true + Unicode + + + DynamicLibrary + false + v110 + true + Unicode + + + + + + + + + + + + + + + + + + + true + ..\..\bin\ + odb-boost-d-__value__(interface_version)-vc11 + + + true + ..\..\bin64\ + odb-boost-d-__value__(interface_version)-vc11 + + + false + ..\..\bin\ + odb-boost-__value__(interface_version)-vc11 + + + false + ..\..\bin64\ + odb-boost-__value__(interface_version)-vc11 + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_BOOST_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb-d.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib\odb-boost-d.lib + + + + + + + Level3 + Disabled + WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBODB_BOOST_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb-d.lib;%(AdditionalDependencies) + Windows + true + $(TargetPath) + ..\..\lib64\odb-boost-d.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_BOOST_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib\odb-boost.lib + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;LIBODB_BOOST_DYNAMIC_LIB;%(PreprocessorDefinitions) + ..\.. + 4355;4800;4290;4251;%(DisableSpecificWarnings) + + + odb.lib;%(AdditionalDependencies) + Windows + true + true + true + $(TargetPath) + ..\..\lib64\odb-boost.lib + + + +__header_entries__(headers) + + +__source_entries__(sources) + + + + + diff --git a/odb/boost/libodb-boost-vc11.vcxproj.filters b/odb/boost/libodb-boost-vc11.vcxproj.filters new file mode 100644 index 0000000..ac01f4e --- /dev/null +++ b/odb/boost/libodb-boost-vc11.vcxproj.filters @@ -0,0 +1,19 @@ + + + + + {15DBF883-C83E-460B-8F93-44361F5783E3} + cxx + + + {C2A3CC20-2248-4590-ABAC-DE29A478D2BD} + h;hxx;ixx;txx + + + +__header_filter_entries__(headers) + + +__source_filter_entries__(sources) + + diff --git a/odb/boost/makefile b/odb/boost/makefile index ed562f4..9071ba6 100644 --- a/odb/boost/makefile +++ b/odb/boost/makefile @@ -56,14 +56,16 @@ $(dist): export headers = $(subst $(src_base)/,,$(shell find $(src_base) \ $(dist): export options = $(subst $(src_base)/,,$(shell find $(src_base) \ -name '*.options')) $(dist): export extra_dist := libodb-boost-vc9.vcproj \ -libodb-boost-vc10.vcxproj libodb-boost-vc10.vcxproj.filters +libodb-boost-vc10.vcxproj libodb-boost-vc10.vcxproj.filters \ +libodb-boost-vc11.vcxproj libodb-boost-vc11.vcxproj.filters $(dist): export interface_version = $(shell sed -e \ 's/^\([0-9]*\.[0-9]*\).*/\1/' $(src_root)/version) $(dist): $(call dist-data,$(sources) $(headers) $(options) details/config.h.in) - $(call meta-vc9proj,libodb-boost-vc9.vcproj) - $(call meta-vc10proj,libodb-boost-vc10.vcxproj) + $(call meta-vc9proj,$(src_base)/libodb-boost-vc9.vcproj) + $(call meta-vc10proj,$(src_base)/libodb-boost-vc10.vcxproj) + $(call meta-vc11proj,$(src_base)/libodb-boost-vc11.vcxproj) $(call meta-automake) # Clean. @@ -90,6 +92,7 @@ endif $(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/automake.make) $(call include,$(bld_root)/cxx/o-l.make) -- cgit v1.1