Add Windows build helper
This commit is contained in:
12
readme.md
12
readme.md
@@ -47,6 +47,18 @@ OpenCV_DIR=C:/opencv/build/x64/vc16/lib
|
||||
|
||||
### 命令行构建示例
|
||||
|
||||
也可以直接使用项目提供的 `build_windows.bat`:
|
||||
|
||||
```bat
|
||||
build_windows.bat C:\Qt\6.6.0\mingw_64 C:\opencv\build "MinGW Makefiles"
|
||||
```
|
||||
|
||||
或 MSVC:
|
||||
|
||||
```bat
|
||||
build_windows.bat C:\Qt\6.6.0\msvc2019_64 C:\opencv\build\x64\vc16\lib "Visual Studio 17 2022"
|
||||
```
|
||||
|
||||
MinGW 示例:
|
||||
|
||||
```bat
|
||||
|
||||
Reference in New Issue
Block a user