diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-23 15:12:43 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-01-23 15:12:52 -0800 |
| commit | 6d3ab4579d50f74cbe43373fa16ba875a97a8717 (patch) | |
| tree | 974e87e31031089dd82c7d5839a9292a2ce48c54 | |
| parent | 58aeb684429f107715a1b60500f8e24ea5a95f3c (diff) | |
| download | vcpkg-6d3ab4579d50f74cbe43373fa16ba875a97a8717.tar.gz vcpkg-6d3ab4579d50f74cbe43373fa16ba875a97a8717.zip | |
[vcpkg_paths] Add "scripts" entry
| -rw-r--r-- | toolsrc/include/vcpkg_paths.h | 1 | ||||
| -rw-r--r-- | toolsrc/src/vcpkg_paths.cpp | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/toolsrc/include/vcpkg_paths.h b/toolsrc/include/vcpkg_paths.h index a2932070d..ba6defb9f 100644 --- a/toolsrc/include/vcpkg_paths.h +++ b/toolsrc/include/vcpkg_paths.h @@ -24,6 +24,7 @@ namespace vcpkg fs::path ports; fs::path installed; fs::path triplets; + fs::path scripts; fs::path buildsystems; fs::path buildsystems_msbuild_targets; diff --git a/toolsrc/src/vcpkg_paths.cpp b/toolsrc/src/vcpkg_paths.cpp index b7e716307..39e4c8986 100644 --- a/toolsrc/src/vcpkg_paths.cpp +++ b/toolsrc/src/vcpkg_paths.cpp @@ -31,8 +31,9 @@ namespace vcpkg paths.ports = paths.root / "ports"; paths.installed = paths.root / "installed"; paths.triplets = paths.root / "triplets"; + paths.scripts = paths.root / "scripts"; - paths.buildsystems = paths.root / "scripts" / "buildsystems"; + paths.buildsystems = paths.scripts / "buildsystems"; paths.buildsystems_msbuild_targets = paths.buildsystems / "msbuild" / "vcpkg.targets"; paths.vcpkg_dir = paths.installed / "vcpkg"; @@ -40,7 +41,7 @@ namespace vcpkg paths.vcpkg_dir_info = paths.vcpkg_dir / "info"; paths.vcpkg_dir_updates = paths.vcpkg_dir / "updates"; - paths.ports_cmake = paths.root / "scripts" / "ports.cmake"; + paths.ports_cmake = paths.scripts / "ports.cmake"; return paths; } |
