mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
239 B
14 lines
239 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
|
||
|
cmake -GNinja \
|
||
|
-DOPENCV_PLUGIN_NAME=opencv_highgui_$2 \
|
||
|
-DOPENCV_PLUGIN_DESTINATION=$1 \
|
||
|
-DCMAKE_BUILD_TYPE=$3 \
|
||
|
$DIR
|
||
|
|
||
|
ninja -v
|