diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-10 16:30:44 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-03-10 17:04:28 -0800 |
| commit | 7b14894dc75b720434e0a7095c05a11cfa308cc4 (patch) | |
| tree | c182ac82cd0573f004b03df71247fedccc1cce20 /toolsrc/include | |
| parent | 47b53b9015deaa2f569d788447254c8bc3de96a9 (diff) | |
| download | vcpkg-7b14894dc75b720434e0a7095c05a11cfa308cc4.tar.gz vcpkg-7b14894dc75b720434e0a7095c05a11cfa308cc4.zip | |
[vcpkg_paths] Add get_cmake/git/nuget_exe() functions
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg_paths.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg_paths.h b/toolsrc/include/vcpkg_paths.h index ba6defb9f..99fd14905 100644 --- a/toolsrc/include/vcpkg_paths.h +++ b/toolsrc/include/vcpkg_paths.h @@ -3,6 +3,7 @@ #include "expected.h" #include "package_spec.h" #include "BinaryParagraph.h" +#include "lazy.h" namespace vcpkg { @@ -35,5 +36,14 @@ namespace vcpkg fs::path vcpkg_dir_updates; fs::path ports_cmake; + + const fs::path& get_cmake_exe() const; + const fs::path& get_git_exe() const; + const fs::path& get_nuget_exe() const; + + private: + lazy<fs::path> cmake_exe; + lazy<fs::path> git_exe; + lazy<fs::path> nuget_exe; }; } |
