Skip to content

Commit

Permalink
Updated info for build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed May 15, 2023
1 parent 5bcd366 commit 52ad1e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# Build instructions for VSCP Works.
#
# Copyright (c) 2000-2022 Åke Hedman, the VSCP Project
# Copyright (c) 2000-2023 Åke Hedman, the VSCP Project
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ Now do

## How to build on Windows

### Install Visual Studio 2019 Buildtools
### Install Visual Studio 2022 Buildtools

You can install them from: https://visualstudio.microsoft.com/en/downloads. You find them in the _Tools for Visual Studio 2019_ on the lower part of the page.
You can install them from: https://visualstudio.microsoft.com/en/downloads. You find them in the _Tools for Visual Studio 2022_ on the lower part of the page.

In the Visual Studio Installer, select:

Expand All @@ -89,7 +89,7 @@ You find it here https://cmake.org/install/
You find it here https://gitforwindows.org/
### Install the vcpkg package manager

Open a Visual Studio 2019 command prompt (_x64 Native Tools Command Prompt_) window and type:
Open a Visual Studio 2022 command prompt (_x64 Native Tools Command Prompt_) window and type:

```bash
git clone https://github.com/microsoft/vcpkg.git
Expand Down Expand Up @@ -126,10 +126,10 @@ The two projects should be cloned on the same directory level. vscp-helper-lib i
cd vscp-helper-lib
mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_TOOLCHAIN_FILE=C:\Users\Administrator\Desktop\Development\vcpkg\scripts\buildsystems\vcpkg.cmake
cmake .. -G "Visual Studio 17 2022" -DVCPKG_TARGET_TRIPLET=x64-windows -DCMAKE_TOOLCHAIN_FILE=C:\Users\Administrator\Desktop\Development\vcpkg\scripts\buildsystems\vcpkg.cmake
```

The path to the vspkg build script is obviously different in your case.
The path to the vspkg build script (_C:\Users\Administrator\Desktop.._) is obviously different in your case.

Now use

Expand Down

0 comments on commit 52ad1e6

Please sign in to comment.