diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-21 23:40:24 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-21 23:40:24 -0700 |
| commit | f03590eeb7f49495b1f3276c56ee3c84843b4bd1 (patch) | |
| tree | dc49d664c4eb51c191dba77450dbd35188b48057 | |
| parent | 869a3b22ad9d13fa29b40751998127270365880b (diff) | |
| download | vcpkg-f03590eeb7f49495b1f3276c56ee3c84843b4bd1.tar.gz vcpkg-f03590eeb7f49495b1f3276c56ee3c84843b4bd1.zip | |
Cleanup boost buildtrees before initiating a build
| -rw-r--r-- | ports/boost/portfile.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/boost/portfile.cmake b/ports/boost/portfile.cmake index b133b4275..1b9e00561 100644 --- a/ports/boost/portfile.cmake +++ b/ports/boost/portfile.cmake @@ -34,6 +34,9 @@ if(TRIPLET_SYSTEM_NAME MATCHES "WindowsStore") set(ENV{BOOST_BUILD_PATH} ${CMAKE_CURRENT_LIST_DIR}) endif() + +file(REMOVE_RECURSE ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel ${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg) + message(STATUS "Building ${TARGET_TRIPLET}-rel") vcpkg_execute_required_process( COMMAND "${CURRENT_BUILDTREES_DIR}/src/boost_1_61_0/b2.exe" |
