mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
windows ports: update readme for cmake build
This commit is contained in:
parent
7367e9aa96
commit
9085f7a510
@ -26,16 +26,21 @@ We've used the Msys2 package available from the [downloads page](https://www.min
|
||||
In the MSYS2 shell, you can install everything with pacman:
|
||||
|
||||
$ pacman -S git
|
||||
$ pacman -S cmake
|
||||
$ pacman -S make
|
||||
$ pacman -S mingw-w64-x86_64-toolchain
|
||||
$ pacman -S mingw-w64-x86_64-portaudio
|
||||
$ pacman -S python
|
||||
$ pacman -S winpty
|
||||
|
||||
### Compilation
|
||||
### Compilation with CMake
|
||||
|
||||
With mingw64-w64 installed, just go to the port/windows-h4-da14585 directory and run make
|
||||
With mingw64-w64 installed, just go to the port/windows-h4 directory and use CMake as usual
|
||||
|
||||
$ cd port/windows-h4-da14585
|
||||
$ cd port/windows-h4
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
|
||||
Note: When compiling with msys2-32 bit and/or the 32-bit toolchain, compilation fails
|
||||
|
@ -42,16 +42,21 @@ mingw64-w64 is based on [MinGW](https://en.wikipedia.org/wiki/MinGW), which '...
|
||||
In the MSYS2 shell, you can install everything with pacman:
|
||||
|
||||
$ pacman -S git
|
||||
$ pacman -S cmake
|
||||
$ pacman -S make
|
||||
$ pacman -S mingw-w64-x86_64-toolchain
|
||||
$ pacman -S mingw-w64-x86_64-portaudio
|
||||
$ pacman -S python
|
||||
$ pacman -S winpty
|
||||
|
||||
## Compile Examples
|
||||
### Compilation with CMake
|
||||
|
||||
With mingw64-w64 installed, just go to the port/windows-h4-zephyr directory and run make
|
||||
With mingw64-w64 installed, just go to the port/windows-h4 directory and use CMake as usual
|
||||
|
||||
$ cd btstack/port/windows-h4-zephyr
|
||||
$ cd port/windows-h4
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
|
||||
Note: When compiling with msys2-32 bit and/or the 32-bit toolchain, compilation fails
|
||||
|
@ -20,16 +20,21 @@ We've used the Msys2 package available from the [downloads page](https://www.min
|
||||
In the MSYS2 shell, you can install everything with pacman:
|
||||
|
||||
$ pacman -S git
|
||||
$ pacman -S cmake
|
||||
$ pacman -S make
|
||||
$ pacman -S mingw-w64-x86_64-toolchain
|
||||
$ pacman -S mingw-w64-x86_64-portaudio
|
||||
$ pacman -S python
|
||||
$ pacman -S winpty
|
||||
|
||||
### Compilation
|
||||
### Compilation with CMake
|
||||
|
||||
With mingw64-w64 installed, just go to the port/windows-h4 directory and run make
|
||||
With mingw64-w64 installed, just go to the port/windows-h4 directory and use CMake as usual
|
||||
|
||||
$ cd port/windows-h4
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
|
||||
Note: When compiling with msys2-32 bit and/or the 32-bit toolchain, compilation fails
|
||||
|
@ -28,17 +28,24 @@ Visual Studio can directly open the provided `port/windows-windows-h4-zephyr/CMa
|
||||
It can also be compiles with a regular Unix-style toolchain like [mingw-w64](https://www.mingw-w64.org).
|
||||
mingw64-w64 is based on [MinGW](https://en.wikipedia.org/wiki/MinGW), which '...provides a complete Open Source programming tool set which is suitable for the development of native MS-Windows applications, and which do not depend on any 3rd-party C-Runtime DLLs.'
|
||||
|
||||
In the MSYS2 shell, you can install git, python, and, winpty with pacman:
|
||||
In the MSYS2 shell, you can install everything with pacman:
|
||||
|
||||
$ pacman -S git
|
||||
$ pacman -S cmake
|
||||
$ pacman -S make
|
||||
$ pacman -S mingw-w64-x86_64-toolchain
|
||||
$ pacman -S mingw-w64-x86_64-portaudio
|
||||
$ pacman -S python
|
||||
$ pacman -S winpty
|
||||
|
||||
## Compilation
|
||||
### Compilation with CMake
|
||||
|
||||
With mingw64-w64 installed, just go to the port/windows-winusb-intel directory and run make
|
||||
With mingw64-w64 installed, just go to the port/windows-h4 directory and use CMake as usual
|
||||
|
||||
$ cd btstack/port/windows-winusb
|
||||
$ cd port/windows-h4
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
|
||||
Note: When compiling with msys2-32 bit and/or the 32-bit toolchain, compilation fails
|
||||
|
@ -29,16 +29,21 @@ mingw64-w64 is based on [MinGW](https://en.wikipedia.org/wiki/MinGW), which '...
|
||||
In the MSYS2 shell, you can install everything with pacman:
|
||||
|
||||
$ pacman -S git
|
||||
$ pacman -S cmake
|
||||
$ pacman -S make
|
||||
$ pacman -S mingw-w64-x86_64-toolchain
|
||||
$ pacman -S mingw-w64-x86_64-portaudio
|
||||
$ pacman -S python
|
||||
$ pacman -S winpty
|
||||
|
||||
## Compilation
|
||||
### Compilation with CMake
|
||||
|
||||
With mingw64-w64 installed, just go to the port/windows-winusb directory and run make
|
||||
With mingw64-w64 installed, just go to the port/windows-h4 directory and use CMake as usual
|
||||
|
||||
$ cd btstack/port/windows-winusb
|
||||
$ cd port/windows-h4
|
||||
$ mkdir build
|
||||
$ cd build
|
||||
$ cmake ..
|
||||
$ make
|
||||
|
||||
Note: When compiling with msys2-32 bit and/or the 32-bit toolchain, compilation fails
|
||||
|
Loading…
Reference in New Issue
Block a user