aboutsummaryrefslogtreecommitdiff
path: root/scripts/boost/post-source-stubs
diff options
context:
space:
mode:
authorniclar <niclar80@gmail.com>2020-11-06 22:30:37 +0100
committerGitHub <noreply@github.com>2020-11-06 13:30:37 -0800
commit0e1252388d5353f031e177b2826bab98d6c2e21c (patch)
treebebed137e3ec460899eafda8710bedcd25526952 /scripts/boost/post-source-stubs
parenteeeea96d9a944e58aad4db09cb372513e96d1ec8 (diff)
downloadvcpkg-0e1252388d5353f031e177b2826bab98d6c2e21c.tar.gz
vcpkg-0e1252388d5353f031e177b2826bab98d6c2e21c.zip
[boost] Update to 1.74.0 (#14089)
Diffstat (limited to 'scripts/boost/post-source-stubs')
-rw-r--r--scripts/boost/post-source-stubs/nowide.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/boost/post-source-stubs/nowide.cmake b/scripts/boost/post-source-stubs/nowide.cmake
new file mode 100644
index 000000000..4005c3a80
--- /dev/null
+++ b/scripts/boost/post-source-stubs/nowide.cmake
@@ -0,0 +1,11 @@
+file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
+
+string(REPLACE "import ../../config/checks/config" "import config/checks/config" _contents "${_contents}")
+
+string(REPLACE "check-target-builds cxx11_moveable_fstreams" "check-target-builds ../check_movable_fstreams.cpp" _contents "${_contents}")
+string(REPLACE "check-target-builds lfs_support" "check-target-builds ../check_lfs_support.cpp" _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(COPY "${SOURCE_PATH}/test/check_lfs_support.cpp" "${SOURCE_PATH}/test/check_movable_fstreams.cpp" DESTINATION "${SOURCE_PATH}/build/config")