[openrtm-commit:01125] r95 - branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src
openrtm @ openrtm.org
openrtm @ openrtm.org
2013年 9月 5日 (木) 15:39:27 JST
Author: kawauchi
Date: 2013-09-05 15:39:27 +0900 (Thu, 05 Sep 2013)
New Revision: 95
Modified:
branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt
Log:
Fix mistakes when rv92. refs #2704
Modified: branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt
===================================================================
--- branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-09-04 08:16:31 UTC (rev 94)
+++ branches/newCMakeForVC2010/ImageProcessing/opencv/components/Histogram/src/CMakeLists.txt 2013-09-05 06:39:27 UTC (rev 95)
@@ -57,3 +57,33 @@
install(EXPORT ${PROJECT_NAME}
DESTINATION ${LIB_INSTALL_DIR}/${PROJECT_NAME}
FILE ${PROJECT_NAME}Depends.cmake)
+
+if (SolutionDir)
+ 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