[openrtm-commit:00197] r49 - in branches/ForVC2010/ImageProcessing/opencv/components: Affine BackGroundSubtractionSimple Binarization CameraViewer Chromakey Dilationerosion Edge Findcontour Flip Histogram Houghline ImageCalibration ImageSubstraction ObjectTracking OpenCVCamera Perspective RockPaperScissors Rotate Scale Sepia SubStractCaptureImage Template Translate
openrtm @ openrtm.org
openrtm @ openrtm.org
2011年 6月 22日 (水) 17:23:45 JST
Author: fsi-katami
Date: 2011-06-22 17:23:45 +0900 (Wed, 22 Jun 2011)
New Revision: 49
Modified:
branches/ForVC2010/ImageProcessing/opencv/components/Affine/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Binarization/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/CameraViewer/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Chromakey/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Dilationerosion/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Edge/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Findcontour/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Flip/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Histogram/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Houghline/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/ImageCalibration/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/ImageSubstraction/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/ObjectTracking/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/OpenCVCamera/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Perspective/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/RockPaperScissors/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Rotate/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Scale/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Sepia/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Template/CMakeLists.txt
branches/ForVC2010/ImageProcessing/opencv/components/Translate/CMakeLists.txt
Log:
For vc2010. refs #1915
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Affine/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Affine/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Affine/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -151,6 +151,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Binarization/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Binarization/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Binarization/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/CameraViewer/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/CameraViewer/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/CameraViewer/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Chromakey/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Chromakey/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Chromakey/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Dilationerosion/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Dilationerosion/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Dilationerosion/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Edge/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Edge/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Edge/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Findcontour/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Findcontour/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Findcontour/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Flip/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Flip/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Flip/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Histogram/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Histogram/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Histogram/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Houghline/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Houghline/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Houghline/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/ImageCalibration/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/ImageCalibration/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/ImageCalibration/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/ImageSubstraction/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/ImageSubstraction/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/ImageSubstraction/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/ObjectTracking/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/ObjectTracking/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/ObjectTracking/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/OpenCVCamera/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/OpenCVCamera/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/OpenCVCamera/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Perspective/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Perspective/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Perspective/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -154,6 +154,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/RockPaperScissors/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/RockPaperScissors/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/RockPaperScissors/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Rotate/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Rotate/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Rotate/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Scale/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Scale/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Scale/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Sepia/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Sepia/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Sepia/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Template/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Template/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Template/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
Modified: branches/ForVC2010/ImageProcessing/opencv/components/Translate/CMakeLists.txt
===================================================================
--- branches/ForVC2010/ImageProcessing/opencv/components/Translate/CMakeLists.txt 2011-06-21 04:35:42 UTC (rev 48)
+++ branches/ForVC2010/ImageProcessing/opencv/components/Translate/CMakeLists.txt 2011-06-22 08:23:45 UTC (rev 49)
@@ -153,6 +153,26 @@
set_target_properties(${RTC_NAME}Comp PROPERTIES LINK_FLAGS "${LDFLAGS}")
endif()
+if(WIN32)
+ set (LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/)
+ set (EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/)
+
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}/Release/${RTC_NAME}.dll"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+ ADD_CUSTOM_COMMAND(
+ TARGET ${RTC_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E copy
+ "${CMAKE_CURRENT_SOURCE_DIR}/${RTC_NAME}Comp/Release/${RTC_NAME}Comp.exe"
+ "${CMAKE_CURRENT_SOURCE_DIR}/../../bin"
+ )
+endif()
+
install(TARGETS ${RTC_NAME} LIBRARY DESTINATION "${INSTALL_PREFIX}"
ARCHIVE DESTINATION "${INSTALL_PREFIX}"
RUNTIME DESTINATION "${INSTALL_PREFIX}"
openrtm-commit メーリングリストの案内