aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_integrate.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-16 20:38:59 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-16 20:38:59 -0800
commit357591471820647436f2d37fc8b53912bc3f8228 (patch)
tree27b7ae98818079411a4603f307a2f4eadd2f121c /toolsrc/src/commands_integrate.cpp
parent0dbc59da7a582612171fbc7985f71470265062b9 (diff)
downloadvcpkg-357591471820647436f2d37fc8b53912bc3f8228.tar.gz
vcpkg-357591471820647436f2d37fc8b53912bc3f8228.zip
Improve message of `vcpkg integrate install`
Diffstat (limited to 'toolsrc/src/commands_integrate.cpp')
-rw-r--r--toolsrc/src/commands_integrate.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolsrc/src/commands_integrate.cpp b/toolsrc/src/commands_integrate.cpp
index aa5edeb8a..12a45c238 100644
--- a/toolsrc/src/commands_integrate.cpp
+++ b/toolsrc/src/commands_integrate.cpp
@@ -214,10 +214,13 @@ namespace vcpkg::Commands::Integrate
exit(EXIT_FAILURE);
}
System::println(System::color::success, "Applied user-wide integration for this vcpkg root.");
+ const fs::path cmake_toolchain = paths.buildsystems / "vcpkg.cmake";
System::println("\n"
- "All C++ projects can now #include any installed libraries.\n"
+ "All MSBuild C++ projects can now #include any installed libraries.\n"
"Linking will be handled automatically.\n"
- "Installing new libraries will make them instantly available.");
+ "Installing new libraries will make them instantly available.\n"
+ "\n"
+ "CMake projects should use -DCMAKE_TOOLCHAIN_FILE=%s", cmake_toolchain.generic_string());
exit(EXIT_SUCCESS);
}