Skip to content

Commit

Permalink
Updating the information on CLion integration (microsoft#36196)
Browse files Browse the repository at this point in the history
This commit changes the 'Vcpkg with CLion' section. Starting from the version 2023.2, CLion integrates with vcpkg and there is no need for additional CMake option as before. Also added a link to the official documentation.

Signed-off-by: Marina.Kalashina <[email protected]>
  • Loading branch information
MarinaKalashina authored Jan 24, 2024
1 parent e5e9f2f commit 2986359
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,16 +226,8 @@ add the path to the vcpkg toolchain file:

### Vcpkg with CLion

Open the Toolchains settings
(File > Settings on Windows and Linux, CLion > Preferences on macOS),
and go to the CMake settings (Build, Execution, Deployment > CMake).
Finally, in `CMake options`, add the following line:

```
-DCMAKE_TOOLCHAIN_FILE=[vcpkg root]/scripts/buildsystems/vcpkg.cmake
```

You must add this line to each profile.
Vcpkg is integrated in the CLion IDE.
For details, see the [official documentation](https://www.jetbrains.com/help/clion/package-management.html).

### Vcpkg as a Submodule with CMake

Expand Down

0 comments on commit 2986359

Please sign in to comment.