copying '.classpath' and '.project' to build dir, useful for opening in eclipse
authorAndrey Pavlenko <andrey.pavlenko@itseez.com>
Fri, 5 Apr 2013 04:50:08 +0000 (08:50 +0400)
committerAndrey Pavlenko <andrey.pavlenko@itseez.com>
Fri, 5 Apr 2013 04:50:08 +0000 (08:50 +0400)
modules/java/android_test/CMakeLists.txt

index 06ebf4a..41f69e6 100644 (file)
@@ -14,7 +14,7 @@ ocv_list_filterout(opencv_test_java_files ".svn")
 
 # copy sources out from the build tree
 set(opencv_test_java_file_deps "")
-foreach(f ${opencv_test_java_files} ${ANDROID_MANIFEST_FILE})
+foreach(f ${opencv_test_java_files} ${ANDROID_MANIFEST_FILE} ".classpath" ".project")
   add_custom_command(
       OUTPUT "${opencv_test_java_bin_dir}/${f}"
       COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/${f}" "${opencv_test_java_bin_dir}/${f}"