2023-02-02 05:34:29 +08:00
|
|
|
file(READ "${SOURCE_PATH}/build/Jamfile.v2" _contents)
|
2024-01-23 02:56:30 +08:00
|
|
|
string(REPLACE "import config : requires" "import ../config/checks/config : requires" _contents "${_contents}")
|
2023-02-02 05:34:29 +08:00
|
|
|
string(REPLACE " <conditional>@select-arch-specific-sources" "#<conditional>@select-arch-specific-sources" _contents "${_contents}")
|
|
|
|
file(WRITE "${SOURCE_PATH}/build/Jamfile.v2" "${_contents}")
|
|
|
|
vcpkg_replace_string("${SOURCE_PATH}/build/log-arch-config.jam"
|
|
|
|
"project.load [ path.join [ path.make $(here:D) ] ../../config/checks/architecture ]"
|
|
|
|
"project.load [ path.join [ path.make $(here:D) ] ../config/checks/architecture ]"
|
|
|
|
)
|
|
|
|
file(COPY "${CURRENT_INSTALLED_DIR}/share/boost-config/checks" DESTINATION "${SOURCE_PATH}/config")
|