From 2f058bf82b2ba9b4d0383e0cdca5732a2bd613b4 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Mon, 10 Apr 2017 23:34:59 +0300 Subject: [PATCH] mdbx: fix MSVC dirs (minor). --- .appveyor.yml | 10 +++++++--- dll.vcxproj | 6 +++++- mdbx.sln | 20 ++++++++++---------- test/test.vcxproj | 4 ++++ 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index a164b1c8..84a7d43f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -11,8 +11,8 @@ environment: - Toolset: v100 platform: - - x86 - - x64 + - Win32 + - x64 configuration: - Release @@ -24,4 +24,8 @@ build: test_script: - ps: | - & "C:\projects\mdbx\$env:PLATFORM\$env:CONFIGURATION\test\test.exe" --pathname=tmp.db --basic --dont-cleanup-after + if (($env:PLATFORM -eq "x86") -and (Test-Path "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" -PathType Leaf)) { + & "C:\projects\libmdbx\Win32\$env:CONFIGURATION\test.exe" --pathname=tmp.db --basic --dont-cleanup-after + } else { + & "C:\projects\libmdbx\$env:PLATFORM\$env:CONFIGURATION\test.exe" --pathname=tmp.db --basic --dont-cleanup-after + } diff --git a/dll.vcxproj b/dll.vcxproj index ccdd2cb1..42658ccb 100644 --- a/dll.vcxproj +++ b/dll.vcxproj @@ -64,9 +64,13 @@ true + $(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ false + $(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ false @@ -154,4 +158,4 @@ - \ No newline at end of file + diff --git a/mdbx.sln b/mdbx.sln index aa2025d8..29c42c0f 100644 --- a/mdbx.sln +++ b/mdbx.sln @@ -10,27 +10,27 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 + Debug|Win32 = Debug|Win32 Release|x64 = Release|x64 - Release|x86 = Release|x86 + Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Debug|x64.ActiveCfg = Debug|x64 {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Debug|x64.Build.0 = Debug|x64 - {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Debug|x86.ActiveCfg = Debug|Win32 - {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Debug|x86.Build.0 = Debug|Win32 + {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Debug|Win32.ActiveCfg = Debug|Win32 + {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Debug|Win32.Build.0 = Debug|Win32 {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Release|x64.ActiveCfg = Release|x64 {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Release|x64.Build.0 = Release|x64 - {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Release|x86.ActiveCfg = Release|Win32 - {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Release|x86.Build.0 = Release|Win32 + {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Release|Win32.ActiveCfg = Release|Win32 + {6D19209B-ECE7-4B9C-941C-0AA2B484F199}.Release|Win32.Build.0 = Release|Win32 {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Debug|x64.ActiveCfg = Debug|x64 {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Debug|x64.Build.0 = Debug|x64 - {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Debug|x86.ActiveCfg = Debug|Win32 - {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Debug|x86.Build.0 = Debug|Win32 + {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Debug|Win32.ActiveCfg = Debug|Win32 + {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Debug|Win32.Build.0 = Debug|Win32 {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Release|x64.ActiveCfg = Release|x64 {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Release|x64.Build.0 = Release|x64 - {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Release|x86.ActiveCfg = Release|Win32 - {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Release|x86.Build.0 = Release|Win32 + {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Release|Win32.ActiveCfg = Release|Win32 + {30E29CE6-E6FC-4D32-AA07-46A55FAF3A31}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/test/test.vcxproj b/test/test.vcxproj index 331963a8..e2a123f6 100644 --- a/test/test.vcxproj +++ b/test/test.vcxproj @@ -76,12 +76,16 @@ true + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ true false + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ false