[openrtm-commit:01117] r87 - in branches/newCMakeForVC2010/ImageProcessing/opencv: bin 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年 8月 6日 (火) 14:16:54 JST
Author: kawauchi
Date: 2013-08-06 14:16:54 +0900 (Tue, 06 Aug 2013)
New Revision: 87
Modified:
branches/newCMakeForVC2010/ImageProcessing/opencv/bin/rtc.conf
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 all components, executable file copy process isolate under Linux and Windows. refs #2704
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/bin/rtc.conf
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/bin/rtc.conf 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/bin/rtc.conf 2013-08-06 05:16:54 UTC (rev 87)
@@ -1,2 +1,2 @@
corba.nameservers: localhost
-logger.enable: NO
\ No newline at end of file
+logger.enable: NO
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Affine/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -1,8 +1,8 @@
set(comp_srcs Affine.cpp )
set(standalone_srcs AffineComp.cpp)
-find_package(OpenCV REQUIRED)
-
+find_package(OpenCV REQUIRED)
+
if (DEFINED OPENRTM_INCLUDE_DIRS)
string(REGEX REPLACE "-I" ";"
OPENRTM_INCLUDE_DIRS "${OPENRTM_INCLUDE_DIRS}")
@@ -59,16 +59,31 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
+
+
+
+
+
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/BackGroundSubtractionSimple/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Binarization/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Chromakey/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Dilationerosion/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/DirectShowCam/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -70,16 +70,18 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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 (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Edge/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Findcontour/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Flip/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Houghline/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageCalibration/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ImageSubstraction/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/ObjectTracking/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/OpenCVCamera/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Perspective/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/RockPaperScissors/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Rotate/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Scale/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Sepia/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/SubStractCaptureImage/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Template/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt 2013-07-22 05:49:25 UTC (rev 86)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Translate/src/CMakeLists.txt 2013-08-06 05:16:54 UTC (rev 87)
@@ -59,16 +59,26 @@
FILE ${PROJECT_NAME}Depends.cmake)
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
- )
+ if (MSVC)
+ 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
+ )
+
+ else (MSVC)
+ add_custom_command(
+ TARGET ${PROJECT_NAME}Comp
+ POST_BUILD
+ COMMAND ${CMAKE_COMMAND} -E
+ copy ${PROJECT_BINARY_DIR}/src/${PROJECT_NAME}Comp ${SolutionDir}/bin
+ )
+ endif (MSVC)
endif (SolutionDir)
More information about the openrtm-commit
mailing list