[openrtm-commit:01116] r86 - in branches/newCMakeForVC2010/ImageProcessing/opencv/components: Affine/src BackGroundSubtractionSimple/src Binarization/src CameraViewer/src Chromakey/src Dilationerosion/src DirectShowCam/src Edge/src Findcontour/src Flip/src Histogram/src Houghline/src ImageCalibration/src ImageSubstraction/src ObjectTracking/src OpenCVCamera/src Perspective/src RockPaperScissors/src Rotate/src Scale/src Sepia/src SubStractCaptureImage/src Template/src Translate/src
openrtm @ openrtm.org
openrtm @ openrtm.org
2013年 7月 22日 (月) 14:49:25 JST
Author: kawauchi
Date: 2013-07-22 14:49:25 +0900 (Mon, 22 Jul 2013)
New Revision: 86
Modified:
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:
When build a single component, not copy 'dll' and 'exe' to 'Image Processing/opencv/bin'. refs #2704
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -69,15 +69,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt 2013-07-18 07:28:31 UTC (rev 85)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
@@ -58,15 +58,17 @@
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
-)
+if (SolutionDir)
+ 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
+ )
+endif (SolutionDir)
More information about the openrtm-commit
mailing list