aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2020-12-15 10:27:32 -0800
committerGitHub <noreply@github.com>2020-12-15 10:27:32 -0800
commitef7e1abfb1df7b150710f06fb3041daaff939da8 (patch)
treead2ac710cee7601a4c5b0dc08131fde5ec2463fb /toolsrc/include
parent815396fa4e9e99da7af7d8454859f6247af1ef81 (diff)
downloadvcpkg-ef7e1abfb1df7b150710f06fb3041daaff939da8.tar.gz
vcpkg-ef7e1abfb1df7b150710f06fb3041daaff939da8.zip
[vcpkg] Fix CMAKE_CURRENT_LIST_DIR in load_dep_info_vars() (#15110)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/base/files.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/base/files.h b/toolsrc/include/vcpkg/base/files.h
index b05f79a05..a6cc06c19 100644
--- a/toolsrc/include/vcpkg/base/files.h
+++ b/toolsrc/include/vcpkg/base/files.h
@@ -184,6 +184,10 @@ namespace vcpkg::Files
std::error_code& ec) = 0;
void write_contents(const fs::path& path, const std::string& data, LineInfo linfo);
virtual void write_contents(const fs::path& file_path, const std::string& data, std::error_code& ec) = 0;
+ void write_contents_and_dirs(const fs::path& path, const std::string& data, LineInfo linfo);
+ virtual void write_contents_and_dirs(const fs::path& file_path,
+ const std::string& data,
+ std::error_code& ec) = 0;
void rename(const fs::path& oldpath, const fs::path& newpath, LineInfo linfo);
virtual void rename(const fs::path& oldpath, const fs::path& newpath, std::error_code& ec) = 0;
virtual void rename_or_copy(const fs::path& oldpath,