2020-11-07 05:30:37 +08:00
|
|
|
file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
|
|
|
|
string(REPLACE "import ../../config/checks/config" "import config/checks/config" _contents "${_contents}")
|
2020-12-24 09:16:42 +08:00
|
|
|
string(REPLACE "check-target-builds ../config//cxx11_moveable_fstreams" "check-target-builds ../check_movable_fstreams.cpp" _contents "${_contents}")
|
|
|
|
string(REPLACE "check-target-builds ../config//lfs_support" "check-target-builds ../check_lfs_support.cpp" _contents "${_contents}")
|
2020-11-07 05:30:37 +08:00
|
|
|
file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
|
|
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/build/config")
|
2020-12-24 09:16:42 +08:00
|
|
|
file(COPY "${SOURCE_PATH}/config/check_lfs_support.cpp" "${SOURCE_PATH}/config/check_movable_fstreams.cpp" DESTINATION "${SOURCE_PATH}/build/config")
|