aboutsummaryrefslogtreecommitdiff
path: root/scripts/boost/post-source-stubs/log.cmake
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-09-27 10:41:02 -0700
committerCurtis J Bezault <curtbezault@gmail.com>2019-09-27 10:41:02 -0700
commit9433136b22b5e443d550ca7665a562637c8a86b9 (patch)
treebf29de1962d1810f52e1d8537734ad3def9ea52d /scripts/boost/post-source-stubs/log.cmake
parent50b49af28a7ab619b341f3ba20d47592d302baab (diff)
downloadvcpkg-9433136b22b5e443d550ca7665a562637c8a86b9.tar.gz
vcpkg-9433136b22b5e443d550ca7665a562637c8a86b9.zip
[boost] Update to 1.71.0 (#7959)
* [boost] Update to 1.71.0 * [openmvs] Fixes for boost 1.71 * [telnetpp] DISABLE_PARALLEL_CONFIGURE * [execute_process] Fix output variables (like error_code) not getting populated * [telnetpp] Add missing boost-exception dependency * [boost] Refactor generate-ports.ps1 into scripts dir. Enable boost-thread on uwp. * [boost-iostreams] Revert removal of zstd dependency * [openmvs] Fix tools deployment
Diffstat (limited to 'scripts/boost/post-source-stubs/log.cmake')
-rw-r--r--scripts/boost/post-source-stubs/log.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/boost/post-source-stubs/log.cmake b/scripts/boost/post-source-stubs/log.cmake
new file mode 100644
index 000000000..78500ddc3
--- /dev/null
+++ b/scripts/boost/post-source-stubs/log.cmake
@@ -0,0 +1,13 @@
+file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
+string(REPLACE "import ../../config/checks/config" "import config/checks/config" _contents "${_contents}")
+string(REPLACE " <conditional>@select-arch-specific-sources" "#<conditional>@select-arch-specific-sources" _contents "${_contents}")
+file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
+file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
+
+file(READ ${SOURCE_PATH}/build/log-architecture.jam _contents)
+string(REPLACE
+ "\nproject.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ] ;"
+ "\nproject.load [ path.join [ path.make $(here:D) ] config/checks/architecture ] ;"
+ _contents "${_contents}")
+file(WRITE ${SOURCE_PATH}/build/log-architecture.jam "${_contents}")
+