vcpkg_replace_string

The latest version of this document lives in the vcpkg repo.

Replace a string in a file.

vcpkg_replace_string(filename match_string replace_string)

Source

scripts/cmake/vcpkg_replace_string.cmake