DevYK пре 3 година
родитељ
комит
fb6131ec19

+ 21 - 8
CMakeLists.txt

@@ -49,11 +49,7 @@ include_directories(${OPENCV_INCLUDE})
 include_directories(${JNI_MD_PATH})
 
 
-add_executable(ImageBlurDetection_debug main.cpp
-        ${OPENCV_SRC}
-        count_down_latch.h
-        ${JAVA_JNI_SRC}
-        )
+
 
 add_library(piaoquan_java_opencv SHARED
         ${OPENCV_SRC}
@@ -118,9 +114,26 @@ set(OpenCV_LIBS
 #        -lopencv_alphamat
         )
 
-target_link_libraries(ImageBlurDetection_debug
-        ${OpenCV_LIBS}
-        )
+
+# 条件判断
+if(CMAKE_BUILD_TYPE AND (CMAKE_BUILD_TYPE STREQUAL "Debug"))
+    set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -Wall -O0")
+    message("Debug mode:${CMAKE_C_FLAGS_DEBUG}")
+    add_executable(ImageBlurDetection_debug main.cpp
+            ${OPENCV_SRC}
+            count_down_latch.h
+            ${JAVA_JNI_SRC}
+            )
+    target_link_libraries(ImageBlurDetection_debug -lpthread
+            ${OpenCV_LIBS}
+            )
+elseif(CMAKE_BUILD_TYPE AND (CMAKE_BUILD_TYPE STREQUAL "Release"))
+    set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Wall -O3")
+    message("Release mode:${CMAKE_C_FLAGS_RELEASE}")
+else()
+    message("else:${CMAKE_BUILD_TYPE}")
+    message("else:${CMAKE_C_FLAGS_RELEASE}")
+endif()
 
 target_link_libraries(piaoquan_java_opencv
         ${OpenCV_LIBS}

+ 1 - 1
README.md

@@ -15,7 +15,7 @@ mkdir build && cd build
 
 cmake -DCMAKE_BUILD_TYPE=Release ..
 
-make j4 && make install
+make -j8 && make install
 echo "安装成功,在当前 output/lib 下"
 
 ```

+ 6 - 0
cmake-build-debug/CMakeCache.txt

@@ -272,6 +272,12 @@ opencvSample_SOURCE_DIR:STATIC=/Users/devyk/Data/Project/sample/github_code/Open
 //Dependencies for the target
 piaoquan_java_opencv_LIB_DEPENDS:STATIC=general;-lopencv_imgproc;general;-lopencv_imgcodecs;general;-lopencv_core;
 
+//Value Computed by CMake
+test07_BINARY_DIR:STATIC=/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug
+
+//Value Computed by CMake
+test07_SOURCE_DIR:STATIC=/Users/devyk/Data/Project/sample/github_code/OpenCVSample
+
 
 ########################
 # INTERNAL cache entries

+ 1 - 1
cmake-build-debug/CMakeFiles/ImageBlurDetection_debug.dir/link.txt

@@ -1 +1 @@
-/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/ImageBlurDetection_debug.dir/main.cpp.o CMakeFiles/ImageBlurDetection_debug.dir/opencv/image_blur_detection.cpp.o CMakeFiles/ImageBlurDetection_debug.dir/jni/ImageBlurDetection.cpp.o -o ../output/bin/ImageBlurDetection_debug   -L/usr/local/Cellar/opencv/4.5.4_4/lib  -Wl,-rpath,/usr/local/Cellar/opencv/4.5.4_4/lib -lopencv_imgproc -lopencv_imgcodecs -lopencv_core 
+/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -g -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/ImageBlurDetection_debug.dir/main.cpp.o CMakeFiles/ImageBlurDetection_debug.dir/opencv/image_blur_detection.cpp.o CMakeFiles/ImageBlurDetection_debug.dir/jni/ImageBlurDetection.cpp.o -o ../output/bin/ImageBlurDetection_debug   -L/usr/local/Cellar/opencv/4.5.4_4/lib  -Wl,-rpath,/usr/local/Cellar/opencv/4.5.4_4/lib -lpthread -lopencv_imgproc -lopencv_imgcodecs -lopencv_core 

+ 1 - 1
cmake-build-debug/CMakeFiles/Makefile.cmake

@@ -54,6 +54,6 @@ set(CMAKE_MAKEFILE_PRODUCTS
 
 # Dependency information for all targets:
 set(CMAKE_DEPEND_INFO_FILES
-  "CMakeFiles/piaoquan_java_opencv.dir/DependInfo.cmake"
   "CMakeFiles/ImageBlurDetection_debug.dir/DependInfo.cmake"
+  "CMakeFiles/piaoquan_java_opencv.dir/DependInfo.cmake"
   )

+ 29 - 29
cmake-build-debug/CMakeFiles/Makefile2

@@ -72,8 +72,8 @@ CMAKE_BINARY_DIR = /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cma
 # Directory level rules for the build root directory
 
 # The main recursive "all" target.
-all: CMakeFiles/piaoquan_java_opencv.dir/all
 all: CMakeFiles/ImageBlurDetection_debug.dir/all
+all: CMakeFiles/piaoquan_java_opencv.dir/all
 all: opencv/all
 all: jni/all
 
@@ -86,8 +86,8 @@ preinstall: jni/preinstall
 .PHONY : preinstall
 
 # The main recursive "clean" target.
-clean: CMakeFiles/piaoquan_java_opencv.dir/clean
 clean: CMakeFiles/ImageBlurDetection_debug.dir/clean
+clean: CMakeFiles/piaoquan_java_opencv.dir/clean
 clean: opencv/clean
 clean: jni/clean
 
@@ -129,33 +129,6 @@ opencv/clean:
 
 .PHONY : opencv/clean
 
-#=============================================================================
-# Target rules for target CMakeFiles/piaoquan_java_opencv.dir
-
-# All Build rule for target.
-CMakeFiles/piaoquan_java_opencv.dir/all:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/depend
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/build
-	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles --progress-num=5,6,7 "Built target piaoquan_java_opencv"
-.PHONY : CMakeFiles/piaoquan_java_opencv.dir/all
-
-# Build rule for subdir invocation for target.
-CMakeFiles/piaoquan_java_opencv.dir/rule: cmake_check_build_system
-	$(CMAKE_COMMAND) -E cmake_progress_start /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles 3
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/piaoquan_java_opencv.dir/all
-	$(CMAKE_COMMAND) -E cmake_progress_start /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles 0
-.PHONY : CMakeFiles/piaoquan_java_opencv.dir/rule
-
-# Convenience name for target.
-piaoquan_java_opencv: CMakeFiles/piaoquan_java_opencv.dir/rule
-
-.PHONY : piaoquan_java_opencv
-
-# clean rule for target.
-CMakeFiles/piaoquan_java_opencv.dir/clean:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/clean
-.PHONY : CMakeFiles/piaoquan_java_opencv.dir/clean
-
 #=============================================================================
 # Target rules for target CMakeFiles/ImageBlurDetection_debug.dir
 
@@ -183,6 +156,33 @@ CMakeFiles/ImageBlurDetection_debug.dir/clean:
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/clean
 .PHONY : CMakeFiles/ImageBlurDetection_debug.dir/clean
 
+#=============================================================================
+# Target rules for target CMakeFiles/piaoquan_java_opencv.dir
+
+# All Build rule for target.
+CMakeFiles/piaoquan_java_opencv.dir/all:
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/depend
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/build
+	@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles --progress-num=5,6,7 "Built target piaoquan_java_opencv"
+.PHONY : CMakeFiles/piaoquan_java_opencv.dir/all
+
+# Build rule for subdir invocation for target.
+CMakeFiles/piaoquan_java_opencv.dir/rule: cmake_check_build_system
+	$(CMAKE_COMMAND) -E cmake_progress_start /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles 3
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/piaoquan_java_opencv.dir/all
+	$(CMAKE_COMMAND) -E cmake_progress_start /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles 0
+.PHONY : CMakeFiles/piaoquan_java_opencv.dir/rule
+
+# Convenience name for target.
+piaoquan_java_opencv: CMakeFiles/piaoquan_java_opencv.dir/rule
+
+.PHONY : piaoquan_java_opencv
+
+# clean rule for target.
+CMakeFiles/piaoquan_java_opencv.dir/clean:
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/clean
+.PHONY : CMakeFiles/piaoquan_java_opencv.dir/clean
+
 #=============================================================================
 # Special targets to cleanup operation of make.
 

+ 1 - 1
cmake-build-debug/CMakeFiles/TargetDirectories.txt

@@ -1,7 +1,7 @@
 /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles/rebuild_cache.dir
 /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles/edit_cache.dir
-/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles/piaoquan_java_opencv.dir
 /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles/ImageBlurDetection_debug.dir
+/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/CMakeFiles/piaoquan_java_opencv.dir
 /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/opencv/CMakeFiles/rebuild_cache.dir
 /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/opencv/CMakeFiles/edit_cache.dir
 /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/jni/CMakeFiles/rebuild_cache.dir

+ 1 - 0
cmake-build-debug/CMakeFiles/clion-log.txt

@@ -5,6 +5,7 @@ not defined environment variable:JAVA_HOME
 OPENCV_INCLUDE>/usr/local/Cellar/opencv/4.5.4_4/include/opencv4
 OPENCV_LIBS>/usr/local/Cellar/opencv/4.5.4_4/lib
 JAVA_HOME>/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home
+Debug mode:-g -Wall -O0
 -- Configuring done
 -- Generating done
 -- Build files have been written to: /Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug

+ 19 - 19
cmake-build-debug/Makefile

@@ -129,19 +129,6 @@ depend:
 	$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
 .PHONY : depend
 
-#=============================================================================
-# Target rules for targets named piaoquan_java_opencv
-
-# Build rule for target.
-piaoquan_java_opencv: cmake_check_build_system
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 piaoquan_java_opencv
-.PHONY : piaoquan_java_opencv
-
-# fast build rule for target.
-piaoquan_java_opencv/fast:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/build
-.PHONY : piaoquan_java_opencv/fast
-
 #=============================================================================
 # Target rules for targets named ImageBlurDetection_debug
 
@@ -155,14 +142,27 @@ ImageBlurDetection_debug/fast:
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/build
 .PHONY : ImageBlurDetection_debug/fast
 
+#=============================================================================
+# Target rules for targets named piaoquan_java_opencv
+
+# Build rule for target.
+piaoquan_java_opencv: cmake_check_build_system
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 piaoquan_java_opencv
+.PHONY : piaoquan_java_opencv
+
+# fast build rule for target.
+piaoquan_java_opencv/fast:
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/build
+.PHONY : piaoquan_java_opencv/fast
+
 jni/ImageBlurDetection.o: jni/ImageBlurDetection.cpp.o
 
 .PHONY : jni/ImageBlurDetection.o
 
 # target to build an object file
 jni/ImageBlurDetection.cpp.o:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/jni/ImageBlurDetection.cpp.o
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/jni/ImageBlurDetection.cpp.o
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/jni/ImageBlurDetection.cpp.o
 .PHONY : jni/ImageBlurDetection.cpp.o
 
 jni/ImageBlurDetection.i: jni/ImageBlurDetection.cpp.i
@@ -171,8 +171,8 @@ jni/ImageBlurDetection.i: jni/ImageBlurDetection.cpp.i
 
 # target to preprocess a source file
 jni/ImageBlurDetection.cpp.i:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/jni/ImageBlurDetection.cpp.i
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/jni/ImageBlurDetection.cpp.i
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/jni/ImageBlurDetection.cpp.i
 .PHONY : jni/ImageBlurDetection.cpp.i
 
 jni/ImageBlurDetection.s: jni/ImageBlurDetection.cpp.s
@@ -181,8 +181,8 @@ jni/ImageBlurDetection.s: jni/ImageBlurDetection.cpp.s
 
 # target to generate assembly for a file
 jni/ImageBlurDetection.cpp.s:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/jni/ImageBlurDetection.cpp.s
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/jni/ImageBlurDetection.cpp.s
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/jni/ImageBlurDetection.cpp.s
 .PHONY : jni/ImageBlurDetection.cpp.s
 
 main.o: main.cpp.o
@@ -218,8 +218,8 @@ opencv/image_blur_detection.o: opencv/image_blur_detection.cpp.o
 
 # target to build an object file
 opencv/image_blur_detection.cpp.o:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/opencv/image_blur_detection.cpp.o
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/opencv/image_blur_detection.cpp.o
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/opencv/image_blur_detection.cpp.o
 .PHONY : opencv/image_blur_detection.cpp.o
 
 opencv/image_blur_detection.i: opencv/image_blur_detection.cpp.i
@@ -228,8 +228,8 @@ opencv/image_blur_detection.i: opencv/image_blur_detection.cpp.i
 
 # target to preprocess a source file
 opencv/image_blur_detection.cpp.i:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/opencv/image_blur_detection.cpp.i
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/opencv/image_blur_detection.cpp.i
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/opencv/image_blur_detection.cpp.i
 .PHONY : opencv/image_blur_detection.cpp.i
 
 opencv/image_blur_detection.s: opencv/image_blur_detection.cpp.s
@@ -238,8 +238,8 @@ opencv/image_blur_detection.s: opencv/image_blur_detection.cpp.s
 
 # target to generate assembly for a file
 opencv/image_blur_detection.cpp.s:
-	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/opencv/image_blur_detection.cpp.s
 	$(MAKE) $(MAKESILENT) -f CMakeFiles/ImageBlurDetection_debug.dir/build.make CMakeFiles/ImageBlurDetection_debug.dir/opencv/image_blur_detection.cpp.s
+	$(MAKE) $(MAKESILENT) -f CMakeFiles/piaoquan_java_opencv.dir/build.make CMakeFiles/piaoquan_java_opencv.dir/opencv/image_blur_detection.cpp.s
 .PHONY : opencv/image_blur_detection.cpp.s
 
 # Help Target

+ 2 - 2
cmake-build-debug/Testing/Temporary/LastTest.log

@@ -1,3 +1,3 @@
-Start testing: Feb 24 14:25 CST
+Start testing: Feb 24 14:32 CST
 ----------------------------------------------------------
-End testing: Feb 24 14:25 CST
+End testing: Feb 24 14:32 CST

+ 24 - 24
cmake-build-debug/bytesflow-opencv-media.cbp

@@ -37,11 +37,11 @@
 					<DistClean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 				</MakeCommands>
 			</Target>
-			<Target title="piaoquan_java_opencv">
-				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/lib/libpiaoquan_java_opencv.dylib" prefix_auto="0" extension_auto="0"/>
-				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug"/>
+			<Target title="ImageBlurDetection_debug">
+				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin/ImageBlurDetection_debug" prefix_auto="0" extension_auto="0"/>
+				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin"/>
 				<Option object_output="./"/>
-				<Option type="3"/>
+				<Option type="1"/>
 				<Option compiler="gcc"/>
 				<Compiler>
 					<Add directory="/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/include"/>
@@ -55,17 +55,17 @@
 					<Add directory="/Library/Frameworks"/>
 				</Compiler>
 				<MakeCommands>
-					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 piaoquan_java_opencv"/>
+					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 ImageBlurDetection_debug"/>
 					<CompileFile command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 &quot;$file&quot;"/>
 					<Clean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 					<DistClean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 				</MakeCommands>
 			</Target>
-			<Target title="piaoquan_java_opencv/fast">
-				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/lib/libpiaoquan_java_opencv.dylib" prefix_auto="0" extension_auto="0"/>
-				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug"/>
+			<Target title="ImageBlurDetection_debug/fast">
+				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin/ImageBlurDetection_debug" prefix_auto="0" extension_auto="0"/>
+				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin"/>
 				<Option object_output="./"/>
-				<Option type="3"/>
+				<Option type="1"/>
 				<Option compiler="gcc"/>
 				<Compiler>
 					<Add directory="/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/include"/>
@@ -79,17 +79,17 @@
 					<Add directory="/Library/Frameworks"/>
 				</Compiler>
 				<MakeCommands>
-					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 piaoquan_java_opencv/fast"/>
+					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 ImageBlurDetection_debug/fast"/>
 					<CompileFile command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 &quot;$file&quot;"/>
 					<Clean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 					<DistClean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 				</MakeCommands>
 			</Target>
-			<Target title="ImageBlurDetection_debug">
-				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin/ImageBlurDetection_debug" prefix_auto="0" extension_auto="0"/>
-				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin"/>
+			<Target title="piaoquan_java_opencv">
+				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/lib/libpiaoquan_java_opencv.dylib" prefix_auto="0" extension_auto="0"/>
+				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug"/>
 				<Option object_output="./"/>
-				<Option type="1"/>
+				<Option type="3"/>
 				<Option compiler="gcc"/>
 				<Compiler>
 					<Add directory="/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/include"/>
@@ -103,17 +103,17 @@
 					<Add directory="/Library/Frameworks"/>
 				</Compiler>
 				<MakeCommands>
-					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 ImageBlurDetection_debug"/>
+					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 piaoquan_java_opencv"/>
 					<CompileFile command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 &quot;$file&quot;"/>
 					<Clean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 					<DistClean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 				</MakeCommands>
 			</Target>
-			<Target title="ImageBlurDetection_debug/fast">
-				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin/ImageBlurDetection_debug" prefix_auto="0" extension_auto="0"/>
-				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/bin"/>
+			<Target title="piaoquan_java_opencv/fast">
+				<Option output="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/output/lib/libpiaoquan_java_opencv.dylib" prefix_auto="0" extension_auto="0"/>
+				<Option working_dir="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug"/>
 				<Option object_output="./"/>
-				<Option type="1"/>
+				<Option type="3"/>
 				<Option compiler="gcc"/>
 				<Compiler>
 					<Add directory="/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/include"/>
@@ -127,7 +127,7 @@
 					<Add directory="/Library/Frameworks"/>
 				</Compiler>
 				<MakeCommands>
-					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 ImageBlurDetection_debug/fast"/>
+					<Build command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 piaoquan_java_opencv/fast"/>
 					<CompileFile command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 &quot;$file&quot;"/>
 					<Clean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
 					<DistClean command="/usr/bin/make -j16 -f &quot;/Users/devyk/Data/Project/sample/github_code/OpenCVSample/cmake-build-debug/Makefile&quot;  VERBOSE=1 clean"/>
@@ -138,23 +138,23 @@
 			<Option target="ImageBlurDetection_debug"/>
 		</Unit>
 		<Unit filename="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/jni/ImageBlurDetection.cpp">
-			<Option target="piaoquan_java_opencv"/>
 			<Option target="ImageBlurDetection_debug"/>
+			<Option target="piaoquan_java_opencv"/>
 		</Unit>
 		<Unit filename="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/jni/ImageBlurDetection.h">
-			<Option target="piaoquan_java_opencv"/>
 			<Option target="ImageBlurDetection_debug"/>
+			<Option target="piaoquan_java_opencv"/>
 		</Unit>
 		<Unit filename="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/main.cpp">
 			<Option target="ImageBlurDetection_debug"/>
 		</Unit>
 		<Unit filename="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/opencv/image_blur_detection.cpp">
-			<Option target="piaoquan_java_opencv"/>
 			<Option target="ImageBlurDetection_debug"/>
+			<Option target="piaoquan_java_opencv"/>
 		</Unit>
 		<Unit filename="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/opencv/image_blur_detection.h">
-			<Option target="piaoquan_java_opencv"/>
 			<Option target="ImageBlurDetection_debug"/>
+			<Option target="piaoquan_java_opencv"/>
 		</Unit>
 		<Unit filename="/Users/devyk/Data/Project/sample/github_code/OpenCVSample/CMakeLists.txt">
 			<Option virtualFolder="CMake Files\"/>