mirror of
https://github.com/opencv/opencv.git
synced 2024-12-18 03:18:01 +08:00
add pushd popd
This commit is contained in:
parent
3e9a659f4c
commit
82ad0749af
@ -67,7 +67,7 @@ else
|
||||
cd ..
|
||||
fi
|
||||
RepoSource=opencv
|
||||
cd Build/$RepoSource
|
||||
pushd Build/$RepoSource
|
||||
CMAKE_OPTIONS='-DBUILD_PERF_TESTS:BOOL=OFF -DBUILD_TESTS:BOOL=OFF -DBUILD_DOCS:BOOL=OFF -DWITH_CUDA:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DINSTALL_CREATE_DISTRIB=ON'
|
||||
cmake -G"$CMAKE_CONFIG_GENERATOR" $CMAKE_OPTIONS -DOPENCV_EXTRA_MODULES_PATH="$myRepo"/opencv_contrib/modules -DCMAKE_INSTALL_PREFIX="$myRepo"/install/"$RepoSource" "$myRepo/$RepoSource"
|
||||
echo "************************* $Source_DIR -->debug"
|
||||
@ -76,7 +76,7 @@ echo "************************* $Source_DIR -->release"
|
||||
cmake --build . --config release
|
||||
cmake --build . --target install --config release
|
||||
cmake --build . --target install --config debug
|
||||
cd ..
|
||||
popd
|
||||
@endcode
|
||||
In this script I suppose you use VS 2015 in 64 bits
|
||||
@code{.bash}
|
||||
|
Loading…
Reference in New Issue
Block a user