aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-10 16:30:44 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-10 17:04:28 -0800
commit7b14894dc75b720434e0a7095c05a11cfa308cc4 (patch)
treec182ac82cd0573f004b03df71247fedccc1cce20 /toolsrc/include
parent47b53b9015deaa2f569d788447254c8bc3de96a9 (diff)
downloadvcpkg-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.h10
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;
};
}