aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-10-27 14:09:40 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-10-27 14:09:40 -0700
commit5d1dccf618870da571e498a52923fbbe3b11c180 (patch)
tree1c9476e5a25e4635ebce07a10c70e0da155676df /toolsrc/src
parentb2d4660bdc07c49e019ec68e272e877945077043 (diff)
downloadvcpkg-5d1dccf618870da571e498a52923fbbe3b11c180.tar.gz
vcpkg-5d1dccf618870da571e498a52923fbbe3b11c180.zip
[post-build-checks] Fix debug/release file vectors that were swapped
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/post_build_lint.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolsrc/src/post_build_lint.cpp b/toolsrc/src/post_build_lint.cpp
index 9b23013de..c9b36a0fb 100644
--- a/toolsrc/src/post_build_lint.cpp
+++ b/toolsrc/src/post_build_lint.cpp
@@ -403,11 +403,11 @@ namespace vcpkg
if (debug_count == 0)
{
- System::println(System::color::warning, "Debug binaries were not built");
+ System::println(System::color::warning, "Debug binaries were not found");
}
if (release_count == 0)
{
- System::println(System::color::warning, "Release binaries were not built");
+ System::println(System::color::warning, "Release binaries were not found");
}
System::println("");
@@ -457,8 +457,8 @@ namespace vcpkg
{
case triplet::BuildType::DYNAMIC:
{
- const std::vector<fs::path> debug_dlls = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "bin", ".dll");
- const std::vector<fs::path> release_dlls = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "debug" / "bin", ".dll");
+ const std::vector<fs::path> debug_dlls = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "debug" / "bin", ".dll");
+ const std::vector<fs::path> release_dlls = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "bin", ".dll");
error_count += check_matching_debug_and_release_binaries(debug_dlls, release_dlls);
@@ -487,8 +487,8 @@ namespace vcpkg
error_count += check_no_subdirectories(paths.packages / spec.dir() / "lib");
error_count += check_no_subdirectories(paths.packages / spec.dir() / "debug" / "lib");
#endif
- const std::vector<fs::path> debug_libs = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "lib", ".lib");
- const std::vector<fs::path> release_libs = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "debug" / "lib", ".lib");
+ const std::vector<fs::path> debug_libs = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "debug" / "lib", ".lib");
+ const std::vector<fs::path> release_libs = recursive_find_files_with_extension_in_dir(paths.packages / spec.dir() / "lib", ".lib");
error_count += check_matching_debug_and_release_binaries(debug_libs, release_libs);