From de4edd0e8c8487158aedbf4d9cd4cd78554127c6 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Tue, 24 Apr 2018 11:03:47 -0700 Subject: [README] Show cmake instructions in the README instead of only linking to another md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99075569d..4983508a4 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,8 @@ C:\src\vcpkg> .\vcpkg install sdl2 curl ``` Finally, create a New Project (or open an existing one) in Visual Studio 2017 or 2015. All installed libraries are immediately ready to be `#include`'d and used in your project. -For CMake projects, simply include our toolchain file. See our [using a package](docs/examples/using-sqlite.md) example for the specifics. +The best way to use installed libraries with cmake is via the toolchain file `scripts\buildsystems\vcpkg.cmake`. To use this file, you simply need to add it onto your CMake command line as `-DCMAKE_TOOLCHAIN_FILE=D:\src\vcpkg\scripts\buildsystems\vcpkg.cmake`. +For more information, see our [using a package](docs/examples/using-sqlite.md) example for the specifics. ## Tab-Completion / Auto-Completion `Vcpkg` supports auto-completion of commands, package names, options etc. To enable tab-completion in Powershell, use -- cgit v1.2.3