Template
20 lines
705 B
Batchfile
20 lines
705 B
Batchfile
REM %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
REM Add a enviroment variable with the Opencv install path, like this,
|
|
REM NAME: OPENCV_DIR
|
|
REM VALUE: C:\Libs\OpenCV\opencv-build-x64\install
|
|
REM Add to the PATH enviroment variable the following
|
|
REM "%OPENCV_DIR%\bin"
|
|
REM
|
|
REM In visual studio just use the configuration file use_opencv_release.props
|
|
REM
|
|
REM This script should be used in the lib directory of opencv to
|
|
REM generate the list of required .lib files
|
|
REM %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
@echo off
|
|
set file=libs_list.txt
|
|
pause
|
|
FOR %%I in ( *.lib ) DO (
|
|
echo %%~nI.lib >> %file%
|
|
)
|
|
pause |