[openrtm-commit:03260] r220 - trunk/ImageProcessing/opencv
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 3月 21日 (水) 22:14:49 JST
Author: kawauchi
Date: 2018-03-21 22:14:49 +0900 (Wed, 21 Mar 2018)
New Revision: 220
Added:
trunk/ImageProcessing/opencv/prepare_build.bat
Log:
[compat,->RELEASE_1_2_0] prepare_build.bat has been added. refs #4487
Added: trunk/ImageProcessing/opencv/prepare_build.bat
===================================================================
--- trunk/ImageProcessing/opencv/prepare_build.bat (rev 0)
+++ trunk/ImageProcessing/opencv/prepare_build.bat 2018-03-21 13:14:49 UTC (rev 220)
@@ -0,0 +1,31 @@
+ at echo off
+ at rem ============================================================
+ at rem Preparing ImageProcessing build environment on Windows
+ at rem
+ at rem @author Nobu Kawauchi
+ at rem Copyright (C) 2018 AIST All Rights Reserved
+ at rem
+ at rem Rewrite OpenRTMConfig.cmake as follows.
+ at rem
+ at rem set(OMNIORB_DIR "${OPENRTM_DIR}/omniORB/${OMNIORB_VERSION}_${RTM_VC_VER}")
+ at rem @@@«
+ at rem set(OMNIORB_DIR "${OPENRTM_DIR}/omniORB/")
+ at rem
+ at rem set(OPENRTM_LIBRARY_DIRS ${OPENRTM_BIN_PATH};${OMNIORB_DIR}/lib/x86_win32)
+ at rem @@@«
+ at rem set(OPENRTM_LIBRARY_DIRS ${OPENRTM_BIN_PATH};${OMNIORB_DIR}/lib/x86_win32;${OPENRTM_DIR}/OpenSSL/build/lib)
+ at rem ============================================================
+
+if not exist %RTM_ROOT%\cmake\OpenRTMConfig.cmake.org (
+ move %RTM_ROOT%\cmake\OpenRTMConfig.cmake %RTM_ROOT%\cmake\OpenRTMConfig.cmake.org
+)
+if exist OpenRTMConfig.cmake del OpenRTMConfig.cmake
+
+setlocal enabledelayedexpansion
+for /f "delims=" %%a in (%RTM_ROOT%\cmake\OpenRTMConfig.cmake.org) do (
+ set line=%%a
+ set line=!line:/${OMNIORB_VERSION}_${RTM_VC_VER}=/!
+ set line=!line:;${OMNIORB_DIR}/lib/x86_win32=;${OMNIORB_DIR}/lib/x86_win32;${OPENRTM_DIR}/OpenSSL/build/lib!
+ echo !line! >> %RTM_ROOT%\cmake\OpenRTMConfig.cmake
+)
+endlocal
openrtm-commit メーリングリストの案内