Skip to content

Commit

Permalink
update windows command
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-sam committed Jan 8, 2024
1 parent b3373db commit 4b26177
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ Please follow the instructions provided for your preferred platform.
#### a. Unix
```sh
mkdir build && cd build
cmake -GNinja -DCMAKE_INSTALL_PREFIX=<path-to-ion-kit-install> -DHalide_DIR=<path-to-HalideConfig.cmake> -DONNXRUNTIME_ROOT=<path-to-onnxruntime-root> -DOPENCV_DIR=<path-to-opencv-cmake> ../
cmake -GNinja -DCMAKE_INSTALL_PREFIX=<path-to-ion-kit-install> -DHalide_DIR=<path-to-HalideConfig.cmake> -DHalideHelpers_DIR=<path-to-halide-helpers> -DONNXRUNTIME_ROOT=<path-to-onnxruntime-root> -DOPENCV_DIR=<path-to-opencv-cmake> ../
cmake --build .
```
#### b. Windows
```
mkdir build
cd build
cmake -G "Visual Studio 17 2022" -A x64 -DHalide_DIR=<path-to-HalideConfig.cmake> -DOpenCV_DIR=<path-to-opencv-cmake> ../
cmake -G "Visual Studio 17 2022" -A x64 -DHalideHelpers_DIR=<> -DHalide_DIR=<path-to-HalideConfig.cmake> -DOpenCV_DIR=<path-to-opencv-cmake> -D ION_BUILD_ALL_BB=OFF -DION_BBS_TO_BUILD="ion-bb-core;ion-bb-image-processing;ion-bb-sgm;ion-bb-image-io" ../
cmake --build . --config Release
```

Expand Down

0 comments on commit 4b26177

Please sign in to comment.