2018-04-18 06:18:09 +08:00
|
|
|
file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
|
2022-01-11 03:47:12 +08:00
|
|
|
string(REPLACE "import ../../config/checks/config" "import ../config/checks/config" _contents "${_contents}")
|
2018-04-18 06:18:09 +08:00
|
|
|
string(REPLACE " <conditional>@select-arch-specific-sources" "#<conditional>@select-arch-specific-sources" _contents "${_contents}")
|
|
|
|
file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
|
2022-01-11 03:47:12 +08:00
|
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
|
2018-04-18 06:18:09 +08:00
|
|
|
|
2020-12-24 09:16:42 +08:00
|
|
|
file(READ ${SOURCE_PATH}/build/log-arch-config.jam _contents)
|
2018-04-18 06:18:09 +08:00
|
|
|
string(REPLACE
|
2020-12-24 09:16:42 +08:00
|
|
|
"project.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ]"
|
2022-01-11 03:47:12 +08:00
|
|
|
"project.load [ path.join [ path.make $(here:D) ] ../config/checks/architecture ]"
|
2018-04-18 06:18:09 +08:00
|
|
|
_contents "${_contents}")
|
2020-12-24 09:16:42 +08:00
|
|
|
file(WRITE ${SOURCE_PATH}/build/log-arch-config.jam "${_contents}")
|