Skip to content

Commit

Permalink
[gtest] Fix issue with renaming gtest DLLs in debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0219-msft committed Dec 15, 2017
1 parent 9af036f commit 8392855
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ports/gtest/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Source: gtest
Version: 1.8.0-4
Version: 1.8.0-5
Description: GoogleTest and GoogleMock testing frameworks.
8 changes: 4 additions & 4 deletions ports/gtest/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/gtest.dll)
endif()
if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/lib/gtest.dll)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/bin/)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gtest.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gtestd.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gtest_main.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gtest_maind.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gmock.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gmockd.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gmock_main.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gmock_maind.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gtest.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gtest.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gtest_main.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gtest_main.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gmock.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gmock.dll)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/gmock_main.dll ${CURRENT_PACKAGES_DIR}/debug/bin/gmock_main.dll)
endif()
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/gtest.lib)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib/manual-link)
Expand Down

0 comments on commit 8392855

Please sign in to comment.