[openrtm-commit:01115] r85 - in branches/newCMakeForVC2010/ImageProcessing/opencv: . components/Affine/src components/BackGroundSubtractionSimple/src components/Binarization/src components/CameraViewer/src components/Chromakey/src components/Dilationerosion/src components/DirectShowCam/src components/Edge/src components/Findcontour/src components/Flip/src components/Histogram/src components/Houghline/src components/ImageCalibration/src components/ImageSubstraction/src components/ObjectTracking/src components/OpenCVCamera/src components/Perspective/src components/RockPaperScissors/src components/Rotate/src components/Scale/src components/Sepia/src components/SubStractCaptureImage/src components/Template/src components/Translate/src
openrtm @ openrtm.org
openrtm @ openrtm.org
2013年 7月 18日 (木) 16:28:31 JST
Author: kawauchi
Date: 2013-07-18 16:28:31 +0900 (Thu, 18 Jul 2013)
New Revision: 85
Removed:
branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt.0626back
Modified:
branches/newCMakeForVC2010/ImageProcessing/opencv/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt
Log:
After building each component, copy '${PROJECT_NAME}.dll' and '${PROJECT_NAME}Comp.exe' to 'ImageProcessing/opencv/bin'. refs #2704
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(ImageProcessing_opencv)
-#SUBDIRS(rtm components)
SUBDIRS(components)
+set(SolutionDir ${PROJECT_SOURCE_DIR})
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -69,3 +69,15 @@
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Deleted: branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt.0626back
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt.0626back 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt.0626back 2013-07-18 07:28:31 UTC (rev 85)
@@ -1,65 +0,0 @@
-set(comp_srcs DirectShowCam.cpp )
-set(standalone_srcs DirectShowCamComp.cpp)
-
-find_package(OpenCV REQUIRED)
-#include(../baseclasses/FindDirectShow.cmake)
-#include(include(FindDirectShow.cmake))
-
-if (DEFINED OPENRTM_INCLUDE_DIRS)
- string(REGEX REPLACE "-I" ";"
- OPENRTM_INCLUDE_DIRS "${OPENRTM_INCLUDE_DIRS}")
- string(REGEX REPLACE " ;" ";"
- OPENRTM_INCLUDE_DIRS "${OPENRTM_INCLUDE_DIRS}")
-endif (DEFINED OPENRTM_INCLUDE_DIRS)
-
-if (DEFINED OPENRTM_LIBRARY_DIRS)
- string(REGEX REPLACE "-L" ";"
- OPENRTM_LIBRARY_DIRS "${OPENRTM_LIBRARY_DIRS}")
- string(REGEX REPLACE " ;" ";"
- OPENRTM_LIBRARY_DIRS "${OPENRTM_LIBRARY_DIRS}")
-endif (DEFINED OPENRTM_LIBRARY_DIRS)
-
-if (DEFINED OPENRTM_LIBRARIES)
- string(REGEX REPLACE "-l" ";"
- OPENRTM_LIBRARIES "${OPENRTM_LIBRARIES}")
- string(REGEX REPLACE " ;" ";"
- OPENRTM_LIBRARIES "${OPENRTM_LIBRARIES}")
-endif (DEFINED OPENRTM_LIBRARIES)
-
-include_directories(${PROJECT_SOURCE_DIR}/include)
-include_directories(${PROJECT_SOURCE_DIR}/include/${PROJECT_NAME})
-include_directories(${PROJECT_BINARY_DIR})
-include_directories(${PROJECT_BINARY_DIR}/idl)
-include_directories(${OPENRTM_INCLUDE_DIRS})
-include_directories(${OMNIORB_INCLUDE_DIRS})
-include_directories(${DIRECTSHOW_BASECLASS_DIR})
-add_definitions(${OPENRTM_CFLAGS})
-add_definitions(${OMNIORB_CFLAGS})
-
-MAP_ADD_STR(comp_hdrs "../" comp_headers)
-
-link_directories(${OPENRTM_LIBRARY_DIRS})
-link_directories(${OMNIORB_LIBRARY_DIRS})
-
-add_library(${PROJECT_NAME} ${LIB_TYPE} ${comp_srcs}
- ${comp_headers} ${ALL_IDL_SRCS})
-set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
-set_source_files_properties(${ALL_IDL_SRCS} PROPERTIES GENERATED 1)
-add_dependencies(${PROJECT_NAME} ALL_IDL_TGT)
-set(DIRECTSHOW_STRMBASE ${PROJECT_SOURCE_DIR}/baseclasses/Release/strmbase.lib)
-#target_link_libraries(${PROJECT_NAME} ${OPENRTM_LIBRARIES} ${OpenCV_LIBS} ${DIRECTSHOW_STRMBASE})
-target_link_libraries(${PROJECT_NAME} ${OPENRTM_LIBRARIES} ${OpenCV_LIBS} ${DIRECTSHOW_STRMBASE} ${DIRECTSHOW_STRMIIDS_LIBRARY})
-
-add_executable(${PROJECT_NAME}Comp ${standalone_srcs}
- ${comp_srcs} ${comp_headers} ${ALL_IDL_SRCS})
-#target_link_libraries(${PROJECT_NAME}Comp ${OPENRTM_LIBRARIES} ${OpenCV_LIBS} ${DIRECTSHOW_STRMBASE})
-target_link_libraries(${PROJECT_NAME}Comp ${OPENRTM_LIBRARIES} ${OpenCV_LIBS} ${DIRECTSHOW_STRMBASE} ${DIRECTSHOW_STRMIIDS_LIBRARY})
-
-install(TARGETS ${PROJECT_NAME} ${PROJECT_NAME}Comp
- EXPORT ${PROJECT_NAME}
- RUNTIME DESTINATION ${BIN_INSTALL_DIR} COMPONENT component
- LIBRARY DESTINATION ${LIB_INSTALL_DIR} COMPONENT component
- ARCHIVE DESTINATION ${LIB_INSTALL_DIR} COMPONENT component)
-install(EXPORT ${PROJECT_NAME}
- DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
- FILE ${PROJECT_NAME}Depends.cmake)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt 2013-07-17 06:59:24 UTC (rev 84)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
@@ -57,3 +57,16 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+add_custom_command(
+ TARGET ${PROJECT_NAME}
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}.dll ${SolutionDir}/bin
+)
+add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/Release/${PROJECT_NAME}Comp.exe ${SolutionDir}/bin
+)
More information about the openrtm-commit
mailing list