updata readme
Showing
45 changed files
with
28 additions
and
1337 deletions
.gitignore
0 → 100644
| 1 | *.vscode | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | 
| ... | @@ -6,9 +6,10 @@ set(CMAKE_CXX_STANDARD 11) | ... | @@ -6,9 +6,10 @@ set(CMAKE_CXX_STANDARD 11) | 
| 6 | find_package(OpenCV REQUIRED) | 6 | find_package(OpenCV REQUIRED) | 
| 7 | set(MNN_DIR /home/situ/MNN/MNN1.0/MNN) | 7 | set(MNN_DIR /home/situ/MNN/MNN1.0/MNN) | 
| 8 | include_directories(${MNN_DIR}/include) | 8 | include_directories(${MNN_DIR}/include) | 
| 9 | include_directories(/home/situ/qfs/face_recognize_mnn/include) | 9 | include_directories(/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/include) | 
| 10 | link_directories(${MNN_DIR}/build) | 10 | link_directories(${MNN_DIR}/build) | 
| 11 | add_executable(main main.cpp facerecognize.cpp retinaface.cpp facelandmarks.cpp facecomparison.cpp) | 11 | aux_source_directory(/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/tools ALL_TOOLS) | 
| 12 | add_executable(main main.cpp facecomparison.cpp ${ALL_TOOLS}) | ||
| 12 | target_link_libraries(main -lMNN ${OpenCV_LIBS}) | 13 | target_link_libraries(main -lMNN ${OpenCV_LIBS}) | 
| 13 | 14 | ||
| 14 | 15 | ... | ... | 
| 1 | 1 | ||
| 2 | MNN1.0.0+opencv | 2 | # MNN1.0.0+opencv3.x | 
| 3 | 3 | ||
| 4 | 信息结构体 | 4 | # CMakeLists | 
| 5 | |||
| 6 | cmake_minimum_required(VERSION 3.10) | ||
| 7 | project(main) | ||
| 8 | set(CMAKE_CXX_STANDARD 11) | ||
| 9 | find_package(OpenCV REQUIRED) | ||
| 10 | set(MNN_DIR ***) // MNN路径 | ||
| 11 | include_directories(${MNN_DIR}/include) | ||
| 12 | link_directories(${MNN_DIR}/build) | ||
| 13 | include_directories(***/face_recognize_mnn/include) // 当前项目include路径 | ||
| 14 | aux_source_directory(***/face_recognize_mnn/tools ALL_TOOLS) // source cpp文件路径 | ||
| 15 | add_executable(main main.cpp facecomparison.cpp ${ALL_TOOLS}) | ||
| 16 | target_link_libraries(main -lMNN ${OpenCV_LIBS}) | ||
| 17 | |||
| 18 | # 信息结构体 | ||
| 5 | 19 | ||
| 6 | struct OutputInfo{ | 20 | struct OutputInfo{ | 
| 7 | int error_code; | 21 | int error_code; | 
| ... | @@ -12,7 +26,7 @@ MNN1.0.0+opencv | ... | @@ -12,7 +26,7 @@ MNN1.0.0+opencv | 
| 12 | vector<bool> init_error; | 26 | vector<bool> init_error; | 
| 13 | }; | 27 | }; | 
| 14 | 28 | ||
| 15 | 模型初始化 | 29 | # 模型初始化 | 
| 16 | 30 | ||
| 17 | InitModelError init_model_code; | 31 | InitModelError init_model_code; | 
| 18 | FaceComparison face_rec = FaceComparison(); | 32 | FaceComparison face_rec = FaceComparison(); | 
| ... | @@ -23,7 +37,7 @@ MNN1.0.0+opencv | ... | @@ -23,7 +37,7 @@ MNN1.0.0+opencv | 
| 23 | rec_model_path:人脸识别模型的模型路径 | 37 | rec_model_path:人脸识别模型的模型路径 | 
| 24 | init_model_code:保存每个模型初始化状态true/false | 38 | init_model_code:保存每个模型初始化状态true/false | 
| 25 | 39 | ||
| 26 | 重要参数(include/facecomparison.h文件) | 40 | # 重要参数(include/facecomparison.h文件) | 
| 27 | 41 | ||
| 28 | // 人脸检测阈值 | 42 | // 人脸检测阈值 | 
| 29 | float confidence_threshold = 0.5; | 43 | float confidence_threshold = 0.5; | 
| ... | @@ -36,17 +50,17 @@ MNN1.0.0+opencv | ... | @@ -36,17 +50,17 @@ MNN1.0.0+opencv | 
| 36 | // 推理方式 | 50 | // 推理方式 | 
| 37 | MNNForwardType forward_type = MNN_FORWARD_CPU; | 51 | MNNForwardType forward_type = MNN_FORWARD_CPU; | 
| 38 | 52 | ||
| 39 | 接口(返回结果 bool:true/false) | 53 | # 接口(返回结果 bool:true/false) | 
| 40 | 54 | ||
| 41 | int inference(string image_path1,string image_path2,OutputInfo &output_info);参数为两张图像地址,其中iamge1_path为face_id图像输入 | 55 | int inference(string image_path1,string image_path2,OutputInfo &output_info);参数为两张图像地址,其中iamge1_path为face_id图像输入 | 
| 42 | int inference(Mat image1,Mat image2,OutputInfo &output_info);参数为两张opencv读取的图像矩阵,其中iamge1为face_id图像输入 | 56 | int inference(Mat image1,Mat image2,OutputInfo &output_info);参数为两张opencv读取的图像矩阵,其中iamge1为face_id图像输入 | 
| 43 | 57 | ||
| 44 | 调用方式 | 58 | # 调用方式 | 
| 45 | 59 | ||
| 46 | OutputInfo output_info; | 60 | OutputInfo output_info; | 
| 47 | int result = face_rec.inference(image1,image2,output_info); | 61 | int result = face_rec.inference(image1,image2,output_info); | 
| 48 | 62 | ||
| 49 | 编译 | 63 | # 编译 | 
| 50 | 64 | ||
| 51 | 将CMakeLists.txt 中 set(FACECOMPARISON_DIR /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/include) | 65 | 将CMakeLists.txt 中 set(FACECOMPARISON_DIR /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/include) | 
| 52 | 改为include文件夹所在的绝对地址 | 66 | 改为include文件夹所在的绝对地址 | ... | ... | 
build/CMakeCache.txt
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
| 1 | set(CMAKE_C_COMPILER "/usr/bin/cc") | ||
| 2 | set(CMAKE_C_COMPILER_ARG1 "") | ||
| 3 | set(CMAKE_C_COMPILER_ID "GNU") | ||
| 4 | set(CMAKE_C_COMPILER_VERSION "7.5.0") | ||
| 5 | set(CMAKE_C_COMPILER_VERSION_INTERNAL "") | ||
| 6 | set(CMAKE_C_COMPILER_WRAPPER "") | ||
| 7 | set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") | ||
| 8 | set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") | ||
| 9 | set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") | ||
| 10 | set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") | ||
| 11 | set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") | ||
| 12 | |||
| 13 | set(CMAKE_C_PLATFORM_ID "Linux") | ||
| 14 | set(CMAKE_C_SIMULATE_ID "") | ||
| 15 | set(CMAKE_C_SIMULATE_VERSION "") | ||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | set(CMAKE_AR "/usr/bin/ar") | ||
| 20 | set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-7") | ||
| 21 | set(CMAKE_RANLIB "/usr/bin/ranlib") | ||
| 22 | set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7") | ||
| 23 | set(CMAKE_LINKER "/usr/bin/ld") | ||
| 24 | set(CMAKE_COMPILER_IS_GNUCC 1) | ||
| 25 | set(CMAKE_C_COMPILER_LOADED 1) | ||
| 26 | set(CMAKE_C_COMPILER_WORKS TRUE) | ||
| 27 | set(CMAKE_C_ABI_COMPILED TRUE) | ||
| 28 | set(CMAKE_COMPILER_IS_MINGW ) | ||
| 29 | set(CMAKE_COMPILER_IS_CYGWIN ) | ||
| 30 | if(CMAKE_COMPILER_IS_CYGWIN) | ||
| 31 | set(CYGWIN 1) | ||
| 32 | set(UNIX 1) | ||
| 33 | endif() | ||
| 34 | |||
| 35 | set(CMAKE_C_COMPILER_ENV_VAR "CC") | ||
| 36 | |||
| 37 | if(CMAKE_COMPILER_IS_MINGW) | ||
| 38 | set(MINGW 1) | ||
| 39 | endif() | ||
| 40 | set(CMAKE_C_COMPILER_ID_RUN 1) | ||
| 41 | set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) | ||
| 42 | set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
| 43 | set(CMAKE_C_LINKER_PREFERENCE 10) | ||
| 44 | |||
| 45 | # Save compiler ABI information. | ||
| 46 | set(CMAKE_C_SIZEOF_DATA_PTR "8") | ||
| 47 | set(CMAKE_C_COMPILER_ABI "ELF") | ||
| 48 | set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 49 | |||
| 50 | if(CMAKE_C_SIZEOF_DATA_PTR) | ||
| 51 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") | ||
| 52 | endif() | ||
| 53 | |||
| 54 | if(CMAKE_C_COMPILER_ABI) | ||
| 55 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") | ||
| 56 | endif() | ||
| 57 | |||
| 58 | if(CMAKE_C_LIBRARY_ARCHITECTURE) | ||
| 59 | set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 60 | endif() | ||
| 61 | |||
| 62 | set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") | ||
| 63 | if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) | ||
| 64 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") | ||
| 65 | endif() | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") | ||
| 72 | set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") | ||
| 73 | set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") | 
| 1 | set(CMAKE_CXX_COMPILER "/usr/bin/c++") | ||
| 2 | set(CMAKE_CXX_COMPILER_ARG1 "") | ||
| 3 | set(CMAKE_CXX_COMPILER_ID "GNU") | ||
| 4 | set(CMAKE_CXX_COMPILER_VERSION "7.5.0") | ||
| 5 | set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") | ||
| 6 | set(CMAKE_CXX_COMPILER_WRAPPER "") | ||
| 7 | set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") | ||
| 8 | set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17") | ||
| 9 | set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") | ||
| 10 | set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") | ||
| 11 | set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") | ||
| 12 | set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") | ||
| 13 | |||
| 14 | set(CMAKE_CXX_PLATFORM_ID "Linux") | ||
| 15 | set(CMAKE_CXX_SIMULATE_ID "") | ||
| 16 | set(CMAKE_CXX_SIMULATE_VERSION "") | ||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | set(CMAKE_AR "/usr/bin/ar") | ||
| 21 | set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-7") | ||
| 22 | set(CMAKE_RANLIB "/usr/bin/ranlib") | ||
| 23 | set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7") | ||
| 24 | set(CMAKE_LINKER "/usr/bin/ld") | ||
| 25 | set(CMAKE_COMPILER_IS_GNUCXX 1) | ||
| 26 | set(CMAKE_CXX_COMPILER_LOADED 1) | ||
| 27 | set(CMAKE_CXX_COMPILER_WORKS TRUE) | ||
| 28 | set(CMAKE_CXX_ABI_COMPILED TRUE) | ||
| 29 | set(CMAKE_COMPILER_IS_MINGW ) | ||
| 30 | set(CMAKE_COMPILER_IS_CYGWIN ) | ||
| 31 | if(CMAKE_COMPILER_IS_CYGWIN) | ||
| 32 | set(CYGWIN 1) | ||
| 33 | set(UNIX 1) | ||
| 34 | endif() | ||
| 35 | |||
| 36 | set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") | ||
| 37 | |||
| 38 | if(CMAKE_COMPILER_IS_MINGW) | ||
| 39 | set(MINGW 1) | ||
| 40 | endif() | ||
| 41 | set(CMAKE_CXX_COMPILER_ID_RUN 1) | ||
| 42 | set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) | ||
| 43 | set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP) | ||
| 44 | set(CMAKE_CXX_LINKER_PREFERENCE 30) | ||
| 45 | set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) | ||
| 46 | |||
| 47 | # Save compiler ABI information. | ||
| 48 | set(CMAKE_CXX_SIZEOF_DATA_PTR "8") | ||
| 49 | set(CMAKE_CXX_COMPILER_ABI "ELF") | ||
| 50 | set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 51 | |||
| 52 | if(CMAKE_CXX_SIZEOF_DATA_PTR) | ||
| 53 | set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") | ||
| 54 | endif() | ||
| 55 | |||
| 56 | if(CMAKE_CXX_COMPILER_ABI) | ||
| 57 | set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") | ||
| 58 | endif() | ||
| 59 | |||
| 60 | if(CMAKE_CXX_LIBRARY_ARCHITECTURE) | ||
| 61 | set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu") | ||
| 62 | endif() | ||
| 63 | |||
| 64 | set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") | ||
| 65 | if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) | ||
| 66 | set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") | ||
| 67 | endif() | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") | ||
| 74 | set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") | ||
| 75 | set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") | 
No preview for this file type
No preview for this file type
| 1 | set(CMAKE_HOST_SYSTEM "Linux-4.15.0-29-generic") | ||
| 2 | set(CMAKE_HOST_SYSTEM_NAME "Linux") | ||
| 3 | set(CMAKE_HOST_SYSTEM_VERSION "4.15.0-29-generic") | ||
| 4 | set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") | ||
| 5 | |||
| 6 | |||
| 7 | |||
| 8 | set(CMAKE_SYSTEM "Linux-4.15.0-29-generic") | ||
| 9 | set(CMAKE_SYSTEM_NAME "Linux") | ||
| 10 | set(CMAKE_SYSTEM_VERSION "4.15.0-29-generic") | ||
| 11 | set(CMAKE_SYSTEM_PROCESSOR "x86_64") | ||
| 12 | |||
| 13 | set(CMAKE_CROSSCOMPILING "FALSE") | ||
| 14 | |||
| 15 | set(CMAKE_SYSTEM_LOADED 1) | 
This diff is collapsed.
Click to expand it.
No preview for this file type
This diff is collapsed.
Click to expand it.
No preview for this file type
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # Relative path conversion top directories. | ||
| 5 | set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn") | ||
| 6 | set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build") | ||
| 7 | |||
| 8 | # Force unix paths in dependencies. | ||
| 9 | set(CMAKE_FORCE_UNIX_PATHS 1) | ||
| 10 | |||
| 11 | |||
| 12 | # The C and CXX include file regular expressions for this directory. | ||
| 13 | set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") | ||
| 14 | set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") | ||
| 15 | set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) | ||
| 16 | set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) | 
build/CMakeFiles/CMakeError.log
deleted
100644 → 0
| 1 | Determining if the pthread_create exist failed with the following output: | ||
| 2 | Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp | ||
| 3 | |||
| 4 | Run Build Command:"/usr/bin/make" "cmTC_48047/fast" | ||
| 5 | /usr/bin/make -f CMakeFiles/cmTC_48047.dir/build.make CMakeFiles/cmTC_48047.dir/build | ||
| 6 | make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp” | ||
| 7 | Building C object CMakeFiles/cmTC_48047.dir/CheckSymbolExists.c.o | ||
| 8 | /usr/bin/cc -fPIC -o CMakeFiles/cmTC_48047.dir/CheckSymbolExists.c.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c | ||
| 9 | Linking C executable cmTC_48047 | ||
| 10 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_48047.dir/link.txt --verbose=1 | ||
| 11 | /usr/bin/cc -fPIC CMakeFiles/cmTC_48047.dir/CheckSymbolExists.c.o -o cmTC_48047 | ||
| 12 | CMakeFiles/cmTC_48047.dir/CheckSymbolExists.c.o:在函数‘main’中: | ||
| 13 | CheckSymbolExists.c:(.text+0x1b):对‘pthread_create’未定义的引用 | ||
| 14 | collect2: error: ld returned 1 exit status | ||
| 15 | CMakeFiles/cmTC_48047.dir/build.make:97: recipe for target 'cmTC_48047' failed | ||
| 16 | make[1]: *** [cmTC_48047] Error 1 | ||
| 17 | make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp” | ||
| 18 | Makefile:126: recipe for target 'cmTC_48047/fast' failed | ||
| 19 | make: *** [cmTC_48047/fast] Error 2 | ||
| 20 | |||
| 21 | File /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: | ||
| 22 | /* */ | ||
| 23 | #include <pthread.h> | ||
| 24 | |||
| 25 | int main(int argc, char** argv) | ||
| 26 | { | ||
| 27 | (void)argv; | ||
| 28 | #ifndef pthread_create | ||
| 29 | return ((int*)(&pthread_create))[argc]; | ||
| 30 | #else | ||
| 31 | (void)argc; | ||
| 32 | return 0; | ||
| 33 | #endif | ||
| 34 | } | ||
| 35 | |||
| 36 | Determining if the function pthread_create exists in the pthreads failed with the following output: | ||
| 37 | Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp | ||
| 38 | |||
| 39 | Run Build Command:"/usr/bin/make" "cmTC_ee8c6/fast" | ||
| 40 | /usr/bin/make -f CMakeFiles/cmTC_ee8c6.dir/build.make CMakeFiles/cmTC_ee8c6.dir/build | ||
| 41 | make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp” | ||
| 42 | Building C object CMakeFiles/cmTC_ee8c6.dir/CheckFunctionExists.c.o | ||
| 43 | /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_ee8c6.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c | ||
| 44 | Linking C executable cmTC_ee8c6 | ||
| 45 | /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ee8c6.dir/link.txt --verbose=1 | ||
| 46 | /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_ee8c6.dir/CheckFunctionExists.c.o -o cmTC_ee8c6 -lpthreads | ||
| 47 | /usr/bin/ld: 找不到 -lpthreads | ||
| 48 | collect2: error: ld returned 1 exit status | ||
| 49 | CMakeFiles/cmTC_ee8c6.dir/build.make:97: recipe for target 'cmTC_ee8c6' failed | ||
| 50 | make[1]: *** [cmTC_ee8c6] Error 1 | ||
| 51 | make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp” | ||
| 52 | Makefile:126: recipe for target 'cmTC_ee8c6/fast' failed | ||
| 53 | make: *** [cmTC_ee8c6/fast] Error 2 | ||
| 54 | |||
| 55 | 
build/CMakeFiles/CMakeOutput.log
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
build/CMakeFiles/Makefile.cmake
deleted
100644 → 0
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # The generator used is: | ||
| 5 | set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") | ||
| 6 | |||
| 7 | # The top level Makefile was generated from the following files: | ||
| 8 | set(CMAKE_MAKEFILE_DEPENDS | ||
| 9 | "CMakeCache.txt" | ||
| 10 | "../CMakeLists.txt" | ||
| 11 | "CMakeFiles/3.10.2/CMakeCCompiler.cmake" | ||
| 12 | "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake" | ||
| 13 | "CMakeFiles/3.10.2/CMakeSystem.cmake" | ||
| 14 | "CMakeFiles/feature_tests.c" | ||
| 15 | "CMakeFiles/feature_tests.cxx" | ||
| 16 | "/usr/local/lib/cmake/opencv4/OpenCVConfig-version.cmake" | ||
| 17 | "/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake" | ||
| 18 | "/usr/local/lib/cmake/opencv4/OpenCVModules-release.cmake" | ||
| 19 | "/usr/local/lib/cmake/opencv4/OpenCVModules.cmake" | ||
| 20 | "/usr/share/cmake-3.10/Modules/CMakeCCompiler.cmake.in" | ||
| 21 | "/usr/share/cmake-3.10/Modules/CMakeCCompilerABI.c" | ||
| 22 | "/usr/share/cmake-3.10/Modules/CMakeCInformation.cmake" | ||
| 23 | "/usr/share/cmake-3.10/Modules/CMakeCXXCompiler.cmake.in" | ||
| 24 | "/usr/share/cmake-3.10/Modules/CMakeCXXCompilerABI.cpp" | ||
| 25 | "/usr/share/cmake-3.10/Modules/CMakeCXXInformation.cmake" | ||
| 26 | "/usr/share/cmake-3.10/Modules/CMakeCommonLanguageInclude.cmake" | ||
| 27 | "/usr/share/cmake-3.10/Modules/CMakeCompilerIdDetection.cmake" | ||
| 28 | "/usr/share/cmake-3.10/Modules/CMakeConfigurableFile.in" | ||
| 29 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake" | ||
| 30 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCXXCompiler.cmake" | ||
| 31 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompileFeatures.cmake" | ||
| 32 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompiler.cmake" | ||
| 33 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompilerABI.cmake" | ||
| 34 | "/usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake" | ||
| 35 | "/usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake" | ||
| 36 | "/usr/share/cmake-3.10/Modules/CMakeFindBinUtils.cmake" | ||
| 37 | "/usr/share/cmake-3.10/Modules/CMakeGenericSystem.cmake" | ||
| 38 | "/usr/share/cmake-3.10/Modules/CMakeLanguageInformation.cmake" | ||
| 39 | "/usr/share/cmake-3.10/Modules/CMakeParseImplicitLinkInfo.cmake" | ||
| 40 | "/usr/share/cmake-3.10/Modules/CMakeSystem.cmake.in" | ||
| 41 | "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInformation.cmake" | ||
| 42 | "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInitialize.cmake" | ||
| 43 | "/usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake" | ||
| 44 | "/usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake" | ||
| 45 | "/usr/share/cmake-3.10/Modules/CMakeTestCompilerCommon.cmake" | ||
| 46 | "/usr/share/cmake-3.10/Modules/CMakeUnixFindMake.cmake" | ||
| 47 | "/usr/share/cmake-3.10/Modules/CheckFunctionExists.c" | ||
| 48 | "/usr/share/cmake-3.10/Modules/CheckIncludeFile.c.in" | ||
| 49 | "/usr/share/cmake-3.10/Modules/CheckIncludeFile.cmake" | ||
| 50 | "/usr/share/cmake-3.10/Modules/CheckLibraryExists.cmake" | ||
| 51 | "/usr/share/cmake-3.10/Modules/CheckSymbolExists.cmake" | ||
| 52 | "/usr/share/cmake-3.10/Modules/Compiler/ADSP-DetermineCompiler.cmake" | ||
| 53 | "/usr/share/cmake-3.10/Modules/Compiler/ARMCC-DetermineCompiler.cmake" | ||
| 54 | "/usr/share/cmake-3.10/Modules/Compiler/AppleClang-DetermineCompiler.cmake" | ||
| 55 | "/usr/share/cmake-3.10/Modules/Compiler/Borland-DetermineCompiler.cmake" | ||
| 56 | "/usr/share/cmake-3.10/Modules/Compiler/Bruce-C-DetermineCompiler.cmake" | ||
| 57 | "/usr/share/cmake-3.10/Modules/Compiler/CMakeCommonCompilerMacros.cmake" | ||
| 58 | "/usr/share/cmake-3.10/Modules/Compiler/Clang-DetermineCompiler.cmake" | ||
| 59 | "/usr/share/cmake-3.10/Modules/Compiler/Clang-DetermineCompilerInternal.cmake" | ||
| 60 | "/usr/share/cmake-3.10/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake" | ||
| 61 | "/usr/share/cmake-3.10/Modules/Compiler/Compaq-C-DetermineCompiler.cmake" | ||
| 62 | "/usr/share/cmake-3.10/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake" | ||
| 63 | "/usr/share/cmake-3.10/Modules/Compiler/Cray-DetermineCompiler.cmake" | ||
| 64 | "/usr/share/cmake-3.10/Modules/Compiler/Embarcadero-DetermineCompiler.cmake" | ||
| 65 | "/usr/share/cmake-3.10/Modules/Compiler/Fujitsu-DetermineCompiler.cmake" | ||
| 66 | "/usr/share/cmake-3.10/Modules/Compiler/GHS-DetermineCompiler.cmake" | ||
| 67 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-C-DetermineCompiler.cmake" | ||
| 68 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-C-FeatureTests.cmake" | ||
| 69 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-C.cmake" | ||
| 70 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake" | ||
| 71 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX-FeatureTests.cmake" | ||
| 72 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX.cmake" | ||
| 73 | "/usr/share/cmake-3.10/Modules/Compiler/GNU-FindBinUtils.cmake" | ||
| 74 | "/usr/share/cmake-3.10/Modules/Compiler/GNU.cmake" | ||
| 75 | "/usr/share/cmake-3.10/Modules/Compiler/HP-C-DetermineCompiler.cmake" | ||
| 76 | "/usr/share/cmake-3.10/Modules/Compiler/HP-CXX-DetermineCompiler.cmake" | ||
| 77 | "/usr/share/cmake-3.10/Modules/Compiler/IAR-DetermineCompiler.cmake" | ||
| 78 | "/usr/share/cmake-3.10/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake" | ||
| 79 | "/usr/share/cmake-3.10/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake" | ||
| 80 | "/usr/share/cmake-3.10/Modules/Compiler/Intel-DetermineCompiler.cmake" | ||
| 81 | "/usr/share/cmake-3.10/Modules/Compiler/MIPSpro-DetermineCompiler.cmake" | ||
| 82 | "/usr/share/cmake-3.10/Modules/Compiler/MSVC-DetermineCompiler.cmake" | ||
| 83 | "/usr/share/cmake-3.10/Modules/Compiler/NVIDIA-DetermineCompiler.cmake" | ||
| 84 | "/usr/share/cmake-3.10/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake" | ||
| 85 | "/usr/share/cmake-3.10/Modules/Compiler/PGI-DetermineCompiler.cmake" | ||
| 86 | "/usr/share/cmake-3.10/Modules/Compiler/PathScale-DetermineCompiler.cmake" | ||
| 87 | "/usr/share/cmake-3.10/Modules/Compiler/SCO-DetermineCompiler.cmake" | ||
| 88 | "/usr/share/cmake-3.10/Modules/Compiler/SDCC-C-DetermineCompiler.cmake" | ||
| 89 | "/usr/share/cmake-3.10/Modules/Compiler/SunPro-C-DetermineCompiler.cmake" | ||
| 90 | "/usr/share/cmake-3.10/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake" | ||
| 91 | "/usr/share/cmake-3.10/Modules/Compiler/TI-DetermineCompiler.cmake" | ||
| 92 | "/usr/share/cmake-3.10/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake" | ||
| 93 | "/usr/share/cmake-3.10/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake" | ||
| 94 | "/usr/share/cmake-3.10/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake" | ||
| 95 | "/usr/share/cmake-3.10/Modules/Compiler/Watcom-DetermineCompiler.cmake" | ||
| 96 | "/usr/share/cmake-3.10/Modules/Compiler/XL-C-DetermineCompiler.cmake" | ||
| 97 | "/usr/share/cmake-3.10/Modules/Compiler/XL-CXX-DetermineCompiler.cmake" | ||
| 98 | "/usr/share/cmake-3.10/Modules/Compiler/zOS-C-DetermineCompiler.cmake" | ||
| 99 | "/usr/share/cmake-3.10/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake" | ||
| 100 | "/usr/share/cmake-3.10/Modules/FindCUDA.cmake" | ||
| 101 | "/usr/share/cmake-3.10/Modules/FindCUDA/select_compute_arch.cmake" | ||
| 102 | "/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake" | ||
| 103 | "/usr/share/cmake-3.10/Modules/FindPackageMessage.cmake" | ||
| 104 | "/usr/share/cmake-3.10/Modules/FindThreads.cmake" | ||
| 105 | "/usr/share/cmake-3.10/Modules/Internal/FeatureTesting.cmake" | ||
| 106 | "/usr/share/cmake-3.10/Modules/Platform/Linux-Determine-CXX.cmake" | ||
| 107 | "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-C.cmake" | ||
| 108 | "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-CXX.cmake" | ||
| 109 | "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU.cmake" | ||
| 110 | "/usr/share/cmake-3.10/Modules/Platform/Linux.cmake" | ||
| 111 | "/usr/share/cmake-3.10/Modules/Platform/UnixPaths.cmake" | ||
| 112 | ) | ||
| 113 | |||
| 114 | # The corresponding makefile is: | ||
| 115 | set(CMAKE_MAKEFILE_OUTPUTS | ||
| 116 | "Makefile" | ||
| 117 | "CMakeFiles/cmake.check_cache" | ||
| 118 | ) | ||
| 119 | |||
| 120 | # Byproducts of CMake generate step: | ||
| 121 | set(CMAKE_MAKEFILE_PRODUCTS | ||
| 122 | "CMakeFiles/3.10.2/CMakeSystem.cmake" | ||
| 123 | "CMakeFiles/3.10.2/CMakeCCompiler.cmake" | ||
| 124 | "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake" | ||
| 125 | "CMakeFiles/3.10.2/CMakeCCompiler.cmake" | ||
| 126 | "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake" | ||
| 127 | "CMakeFiles/CMakeDirectoryInformation.cmake" | ||
| 128 | ) | ||
| 129 | |||
| 130 | # Dependency information for all targets: | ||
| 131 | set(CMAKE_DEPEND_INFO_FILES | ||
| 132 | "CMakeFiles/main.dir/DependInfo.cmake" | ||
| 133 | ) | 
build/CMakeFiles/Makefile2
deleted
100644 → 0
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # Default target executed when no arguments are given to make. | ||
| 5 | default_target: all | ||
| 6 | |||
| 7 | .PHONY : default_target | ||
| 8 | |||
| 9 | # The main recursive all target | ||
| 10 | all: | ||
| 11 | |||
| 12 | .PHONY : all | ||
| 13 | |||
| 14 | # The main recursive preinstall target | ||
| 15 | preinstall: | ||
| 16 | |||
| 17 | .PHONY : preinstall | ||
| 18 | |||
| 19 | #============================================================================= | ||
| 20 | # Special targets provided by cmake. | ||
| 21 | |||
| 22 | # Disable implicit rules so canonical targets will work. | ||
| 23 | .SUFFIXES: | ||
| 24 | |||
| 25 | |||
| 26 | # Remove some rules from gmake that .SUFFIXES does not remove. | ||
| 27 | SUFFIXES = | ||
| 28 | |||
| 29 | .SUFFIXES: .hpux_make_needs_suffix_list | ||
| 30 | |||
| 31 | |||
| 32 | # Suppress display of executed commands. | ||
| 33 | $(VERBOSE).SILENT: | ||
| 34 | |||
| 35 | |||
| 36 | # A target that is always out of date. | ||
| 37 | cmake_force: | ||
| 38 | |||
| 39 | .PHONY : cmake_force | ||
| 40 | |||
| 41 | #============================================================================= | ||
| 42 | # Set environment variables for the build. | ||
| 43 | |||
| 44 | # The shell in which to execute make rules. | ||
| 45 | SHELL = /bin/sh | ||
| 46 | |||
| 47 | # The CMake executable. | ||
| 48 | CMAKE_COMMAND = /usr/bin/cmake | ||
| 49 | |||
| 50 | # The command to remove a file. | ||
| 51 | RM = /usr/bin/cmake -E remove -f | ||
| 52 | |||
| 53 | # Escaping for special characters. | ||
| 54 | EQUALS = = | ||
| 55 | |||
| 56 | # The top-level source directory on which CMake was run. | ||
| 57 | CMAKE_SOURCE_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn | ||
| 58 | |||
| 59 | # The top-level build directory on which CMake was run. | ||
| 60 | CMAKE_BINARY_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build | ||
| 61 | |||
| 62 | #============================================================================= | ||
| 63 | # Target rules for target CMakeFiles/main.dir | ||
| 64 | |||
| 65 | # All Build rule for target. | ||
| 66 | CMakeFiles/main.dir/all: | ||
| 67 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/depend | ||
| 68 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/build | ||
| 69 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles --progress-num=1,2,3,4,5,6 "Built target main" | ||
| 70 | .PHONY : CMakeFiles/main.dir/all | ||
| 71 | |||
| 72 | # Include target in all. | ||
| 73 | all: CMakeFiles/main.dir/all | ||
| 74 | |||
| 75 | .PHONY : all | ||
| 76 | |||
| 77 | # Build rule for subdir invocation for target. | ||
| 78 | CMakeFiles/main.dir/rule: cmake_check_build_system | ||
| 79 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles 6 | ||
| 80 | $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/main.dir/all | ||
| 81 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles 0 | ||
| 82 | .PHONY : CMakeFiles/main.dir/rule | ||
| 83 | |||
| 84 | # Convenience name for target. | ||
| 85 | main: CMakeFiles/main.dir/rule | ||
| 86 | |||
| 87 | .PHONY : main | ||
| 88 | |||
| 89 | # clean rule for target. | ||
| 90 | CMakeFiles/main.dir/clean: | ||
| 91 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/clean | ||
| 92 | .PHONY : CMakeFiles/main.dir/clean | ||
| 93 | |||
| 94 | # clean rule for target. | ||
| 95 | clean: CMakeFiles/main.dir/clean | ||
| 96 | |||
| 97 | .PHONY : clean | ||
| 98 | |||
| 99 | #============================================================================= | ||
| 100 | # Special targets to cleanup operation of make. | ||
| 101 | |||
| 102 | # Special rule to run CMake to check the build system integrity. | ||
| 103 | # No rule that depends on this can have commands that come from listfiles | ||
| 104 | # because they might be regenerated. | ||
| 105 | cmake_check_build_system: | ||
| 106 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
| 107 | .PHONY : cmake_check_build_system | ||
| 108 | 
build/CMakeFiles/cmake.check_cache
deleted
100644 → 0
| 1 | # This file is generated by cmake for dependency checking of the CMakeCache.txt file | 
build/CMakeFiles/feature_tests.bin
deleted
100755 → 0
No preview for this file type
build/CMakeFiles/feature_tests.c
deleted
100644 → 0
| 1 | |||
| 2 | const char features[] = {"\n" | ||
| 3 | "C_FEATURE:" | ||
| 4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 | ||
| 5 | "1" | ||
| 6 | #else | ||
| 7 | "0" | ||
| 8 | #endif | ||
| 9 | "c_function_prototypes\n" | ||
| 10 | "C_FEATURE:" | ||
| 11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | ||
| 12 | "1" | ||
| 13 | #else | ||
| 14 | "0" | ||
| 15 | #endif | ||
| 16 | "c_restrict\n" | ||
| 17 | "C_FEATURE:" | ||
| 18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L | ||
| 19 | "1" | ||
| 20 | #else | ||
| 21 | "0" | ||
| 22 | #endif | ||
| 23 | "c_static_assert\n" | ||
| 24 | "C_FEATURE:" | ||
| 25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L | ||
| 26 | "1" | ||
| 27 | #else | ||
| 28 | "0" | ||
| 29 | #endif | ||
| 30 | "c_variadic_macros\n" | ||
| 31 | |||
| 32 | }; | ||
| 33 | |||
| 34 | int main(int argc, char** argv) { (void)argv; return features[argc]; } | 
build/CMakeFiles/feature_tests.cxx
deleted
100644 → 0
| 1 | |||
| 2 | const char features[] = {"\n" | ||
| 3 | "CXX_FEATURE:" | ||
| 4 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L | ||
| 5 | "1" | ||
| 6 | #else | ||
| 7 | "0" | ||
| 8 | #endif | ||
| 9 | "cxx_aggregate_default_initializers\n" | ||
| 10 | "CXX_FEATURE:" | ||
| 11 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 12 | "1" | ||
| 13 | #else | ||
| 14 | "0" | ||
| 15 | #endif | ||
| 16 | "cxx_alias_templates\n" | ||
| 17 | "CXX_FEATURE:" | ||
| 18 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 19 | "1" | ||
| 20 | #else | ||
| 21 | "0" | ||
| 22 | #endif | ||
| 23 | "cxx_alignas\n" | ||
| 24 | "CXX_FEATURE:" | ||
| 25 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 26 | "1" | ||
| 27 | #else | ||
| 28 | "0" | ||
| 29 | #endif | ||
| 30 | "cxx_alignof\n" | ||
| 31 | "CXX_FEATURE:" | ||
| 32 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 33 | "1" | ||
| 34 | #else | ||
| 35 | "0" | ||
| 36 | #endif | ||
| 37 | "cxx_attributes\n" | ||
| 38 | "CXX_FEATURE:" | ||
| 39 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 40 | "1" | ||
| 41 | #else | ||
| 42 | "0" | ||
| 43 | #endif | ||
| 44 | "cxx_attribute_deprecated\n" | ||
| 45 | "CXX_FEATURE:" | ||
| 46 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 47 | "1" | ||
| 48 | #else | ||
| 49 | "0" | ||
| 50 | #endif | ||
| 51 | "cxx_auto_type\n" | ||
| 52 | "CXX_FEATURE:" | ||
| 53 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 54 | "1" | ||
| 55 | #else | ||
| 56 | "0" | ||
| 57 | #endif | ||
| 58 | "cxx_binary_literals\n" | ||
| 59 | "CXX_FEATURE:" | ||
| 60 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 61 | "1" | ||
| 62 | #else | ||
| 63 | "0" | ||
| 64 | #endif | ||
| 65 | "cxx_constexpr\n" | ||
| 66 | "CXX_FEATURE:" | ||
| 67 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 68 | "1" | ||
| 69 | #else | ||
| 70 | "0" | ||
| 71 | #endif | ||
| 72 | "cxx_contextual_conversions\n" | ||
| 73 | "CXX_FEATURE:" | ||
| 74 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 75 | "1" | ||
| 76 | #else | ||
| 77 | "0" | ||
| 78 | #endif | ||
| 79 | "cxx_decltype\n" | ||
| 80 | "CXX_FEATURE:" | ||
| 81 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 82 | "1" | ||
| 83 | #else | ||
| 84 | "0" | ||
| 85 | #endif | ||
| 86 | "cxx_decltype_auto\n" | ||
| 87 | "CXX_FEATURE:" | ||
| 88 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L | ||
| 89 | "1" | ||
| 90 | #else | ||
| 91 | "0" | ||
| 92 | #endif | ||
| 93 | "cxx_decltype_incomplete_return_types\n" | ||
| 94 | "CXX_FEATURE:" | ||
| 95 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 96 | "1" | ||
| 97 | #else | ||
| 98 | "0" | ||
| 99 | #endif | ||
| 100 | "cxx_default_function_template_args\n" | ||
| 101 | "CXX_FEATURE:" | ||
| 102 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 103 | "1" | ||
| 104 | #else | ||
| 105 | "0" | ||
| 106 | #endif | ||
| 107 | "cxx_defaulted_functions\n" | ||
| 108 | "CXX_FEATURE:" | ||
| 109 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 110 | "1" | ||
| 111 | #else | ||
| 112 | "0" | ||
| 113 | #endif | ||
| 114 | "cxx_defaulted_move_initializers\n" | ||
| 115 | "CXX_FEATURE:" | ||
| 116 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 117 | "1" | ||
| 118 | #else | ||
| 119 | "0" | ||
| 120 | #endif | ||
| 121 | "cxx_delegating_constructors\n" | ||
| 122 | "CXX_FEATURE:" | ||
| 123 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 124 | "1" | ||
| 125 | #else | ||
| 126 | "0" | ||
| 127 | #endif | ||
| 128 | "cxx_deleted_functions\n" | ||
| 129 | "CXX_FEATURE:" | ||
| 130 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 131 | "1" | ||
| 132 | #else | ||
| 133 | "0" | ||
| 134 | #endif | ||
| 135 | "cxx_digit_separators\n" | ||
| 136 | "CXX_FEATURE:" | ||
| 137 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 138 | "1" | ||
| 139 | #else | ||
| 140 | "0" | ||
| 141 | #endif | ||
| 142 | "cxx_enum_forward_declarations\n" | ||
| 143 | "CXX_FEATURE:" | ||
| 144 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 145 | "1" | ||
| 146 | #else | ||
| 147 | "0" | ||
| 148 | #endif | ||
| 149 | "cxx_explicit_conversions\n" | ||
| 150 | "CXX_FEATURE:" | ||
| 151 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 152 | "1" | ||
| 153 | #else | ||
| 154 | "0" | ||
| 155 | #endif | ||
| 156 | "cxx_extended_friend_declarations\n" | ||
| 157 | "CXX_FEATURE:" | ||
| 158 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 159 | "1" | ||
| 160 | #else | ||
| 161 | "0" | ||
| 162 | #endif | ||
| 163 | "cxx_extern_templates\n" | ||
| 164 | "CXX_FEATURE:" | ||
| 165 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 166 | "1" | ||
| 167 | #else | ||
| 168 | "0" | ||
| 169 | #endif | ||
| 170 | "cxx_final\n" | ||
| 171 | "CXX_FEATURE:" | ||
| 172 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 173 | "1" | ||
| 174 | #else | ||
| 175 | "0" | ||
| 176 | #endif | ||
| 177 | "cxx_func_identifier\n" | ||
| 178 | "CXX_FEATURE:" | ||
| 179 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 180 | "1" | ||
| 181 | #else | ||
| 182 | "0" | ||
| 183 | #endif | ||
| 184 | "cxx_generalized_initializers\n" | ||
| 185 | "CXX_FEATURE:" | ||
| 186 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 187 | "1" | ||
| 188 | #else | ||
| 189 | "0" | ||
| 190 | #endif | ||
| 191 | "cxx_generic_lambdas\n" | ||
| 192 | "CXX_FEATURE:" | ||
| 193 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 194 | "1" | ||
| 195 | #else | ||
| 196 | "0" | ||
| 197 | #endif | ||
| 198 | "cxx_inheriting_constructors\n" | ||
| 199 | "CXX_FEATURE:" | ||
| 200 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 201 | "1" | ||
| 202 | #else | ||
| 203 | "0" | ||
| 204 | #endif | ||
| 205 | "cxx_inline_namespaces\n" | ||
| 206 | "CXX_FEATURE:" | ||
| 207 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 208 | "1" | ||
| 209 | #else | ||
| 210 | "0" | ||
| 211 | #endif | ||
| 212 | "cxx_lambdas\n" | ||
| 213 | "CXX_FEATURE:" | ||
| 214 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 215 | "1" | ||
| 216 | #else | ||
| 217 | "0" | ||
| 218 | #endif | ||
| 219 | "cxx_lambda_init_captures\n" | ||
| 220 | "CXX_FEATURE:" | ||
| 221 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 222 | "1" | ||
| 223 | #else | ||
| 224 | "0" | ||
| 225 | #endif | ||
| 226 | "cxx_local_type_template_args\n" | ||
| 227 | "CXX_FEATURE:" | ||
| 228 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 229 | "1" | ||
| 230 | #else | ||
| 231 | "0" | ||
| 232 | #endif | ||
| 233 | "cxx_long_long_type\n" | ||
| 234 | "CXX_FEATURE:" | ||
| 235 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 236 | "1" | ||
| 237 | #else | ||
| 238 | "0" | ||
| 239 | #endif | ||
| 240 | "cxx_noexcept\n" | ||
| 241 | "CXX_FEATURE:" | ||
| 242 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 243 | "1" | ||
| 244 | #else | ||
| 245 | "0" | ||
| 246 | #endif | ||
| 247 | "cxx_nonstatic_member_init\n" | ||
| 248 | "CXX_FEATURE:" | ||
| 249 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 250 | "1" | ||
| 251 | #else | ||
| 252 | "0" | ||
| 253 | #endif | ||
| 254 | "cxx_nullptr\n" | ||
| 255 | "CXX_FEATURE:" | ||
| 256 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 257 | "1" | ||
| 258 | #else | ||
| 259 | "0" | ||
| 260 | #endif | ||
| 261 | "cxx_override\n" | ||
| 262 | "CXX_FEATURE:" | ||
| 263 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 264 | "1" | ||
| 265 | #else | ||
| 266 | "0" | ||
| 267 | #endif | ||
| 268 | "cxx_range_for\n" | ||
| 269 | "CXX_FEATURE:" | ||
| 270 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 271 | "1" | ||
| 272 | #else | ||
| 273 | "0" | ||
| 274 | #endif | ||
| 275 | "cxx_raw_string_literals\n" | ||
| 276 | "CXX_FEATURE:" | ||
| 277 | #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L | ||
| 278 | "1" | ||
| 279 | #else | ||
| 280 | "0" | ||
| 281 | #endif | ||
| 282 | "cxx_reference_qualified_functions\n" | ||
| 283 | "CXX_FEATURE:" | ||
| 284 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L | ||
| 285 | "1" | ||
| 286 | #else | ||
| 287 | "0" | ||
| 288 | #endif | ||
| 289 | "cxx_relaxed_constexpr\n" | ||
| 290 | "CXX_FEATURE:" | ||
| 291 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L | ||
| 292 | "1" | ||
| 293 | #else | ||
| 294 | "0" | ||
| 295 | #endif | ||
| 296 | "cxx_return_type_deduction\n" | ||
| 297 | "CXX_FEATURE:" | ||
| 298 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 299 | "1" | ||
| 300 | #else | ||
| 301 | "0" | ||
| 302 | #endif | ||
| 303 | "cxx_right_angle_brackets\n" | ||
| 304 | "CXX_FEATURE:" | ||
| 305 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 306 | "1" | ||
| 307 | #else | ||
| 308 | "0" | ||
| 309 | #endif | ||
| 310 | "cxx_rvalue_references\n" | ||
| 311 | "CXX_FEATURE:" | ||
| 312 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 313 | "1" | ||
| 314 | #else | ||
| 315 | "0" | ||
| 316 | #endif | ||
| 317 | "cxx_sizeof_member\n" | ||
| 318 | "CXX_FEATURE:" | ||
| 319 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 320 | "1" | ||
| 321 | #else | ||
| 322 | "0" | ||
| 323 | #endif | ||
| 324 | "cxx_static_assert\n" | ||
| 325 | "CXX_FEATURE:" | ||
| 326 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 327 | "1" | ||
| 328 | #else | ||
| 329 | "0" | ||
| 330 | #endif | ||
| 331 | "cxx_strong_enums\n" | ||
| 332 | "CXX_FEATURE:" | ||
| 333 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus | ||
| 334 | "1" | ||
| 335 | #else | ||
| 336 | "0" | ||
| 337 | #endif | ||
| 338 | "cxx_template_template_parameters\n" | ||
| 339 | "CXX_FEATURE:" | ||
| 340 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L | ||
| 341 | "1" | ||
| 342 | #else | ||
| 343 | "0" | ||
| 344 | #endif | ||
| 345 | "cxx_thread_local\n" | ||
| 346 | "CXX_FEATURE:" | ||
| 347 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 348 | "1" | ||
| 349 | #else | ||
| 350 | "0" | ||
| 351 | #endif | ||
| 352 | "cxx_trailing_return_types\n" | ||
| 353 | "CXX_FEATURE:" | ||
| 354 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 355 | "1" | ||
| 356 | #else | ||
| 357 | "0" | ||
| 358 | #endif | ||
| 359 | "cxx_unicode_literals\n" | ||
| 360 | "CXX_FEATURE:" | ||
| 361 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 362 | "1" | ||
| 363 | #else | ||
| 364 | "0" | ||
| 365 | #endif | ||
| 366 | "cxx_uniform_initialization\n" | ||
| 367 | "CXX_FEATURE:" | ||
| 368 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 369 | "1" | ||
| 370 | #else | ||
| 371 | "0" | ||
| 372 | #endif | ||
| 373 | "cxx_unrestricted_unions\n" | ||
| 374 | "CXX_FEATURE:" | ||
| 375 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L | ||
| 376 | "1" | ||
| 377 | #else | ||
| 378 | "0" | ||
| 379 | #endif | ||
| 380 | "cxx_user_literals\n" | ||
| 381 | "CXX_FEATURE:" | ||
| 382 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L | ||
| 383 | "1" | ||
| 384 | #else | ||
| 385 | "0" | ||
| 386 | #endif | ||
| 387 | "cxx_variable_templates\n" | ||
| 388 | "CXX_FEATURE:" | ||
| 389 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 390 | "1" | ||
| 391 | #else | ||
| 392 | "0" | ||
| 393 | #endif | ||
| 394 | "cxx_variadic_macros\n" | ||
| 395 | "CXX_FEATURE:" | ||
| 396 | #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) | ||
| 397 | "1" | ||
| 398 | #else | ||
| 399 | "0" | ||
| 400 | #endif | ||
| 401 | "cxx_variadic_templates\n" | ||
| 402 | |||
| 403 | }; | ||
| 404 | |||
| 405 | int main(int argc, char** argv) { (void)argv; return features[argc]; } | 
This diff is collapsed.
Click to expand it.
| 1 | # The set of languages for which implicit dependencies are needed: | ||
| 2 | set(CMAKE_DEPENDS_LANGUAGES | ||
| 3 | "CXX" | ||
| 4 | ) | ||
| 5 | # The set of files for implicit dependencies of each language: | ||
| 6 | set(CMAKE_DEPENDS_CHECK_CXX | ||
| 7 | "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/facecomparison.cpp" "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir/facecomparison.cpp.o" | ||
| 8 | "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/main.cpp" "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir/main.cpp.o" | ||
| 9 | "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/tools/facelandmarks.cpp" "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir/tools/facelandmarks.cpp.o" | ||
| 10 | "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/tools/facerecognize.cpp" "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir/tools/facerecognize.cpp.o" | ||
| 11 | "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/tools/retinaface.cpp" "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir/tools/retinaface.cpp.o" | ||
| 12 | ) | ||
| 13 | set(CMAKE_CXX_COMPILER_ID "GNU") | ||
| 14 | |||
| 15 | # The include file search paths: | ||
| 16 | set(CMAKE_CXX_TARGET_INCLUDE_PATH | ||
| 17 | "/home/situ/MNN/MNN1.0/MNN/include" | ||
| 18 | "../include" | ||
| 19 | "/usr/local/include/opencv4" | ||
| 20 | ) | ||
| 21 | |||
| 22 | # Targets to which this target links. | ||
| 23 | set(CMAKE_TARGET_LINKED_INFO_FILES | ||
| 24 | ) | ||
| 25 | |||
| 26 | # Fortran module output directory. | ||
| 27 | set(CMAKE_Fortran_TARGET_MODULE_DIR "") | 
build/CMakeFiles/main.dir/build.make
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
| 1 | file(REMOVE_RECURSE | ||
| 2 | "CMakeFiles/main.dir/main.cpp.o" | ||
| 3 | "CMakeFiles/main.dir/facecomparison.cpp.o" | ||
| 4 | "CMakeFiles/main.dir/tools/facelandmarks.cpp.o" | ||
| 5 | "CMakeFiles/main.dir/tools/facerecognize.cpp.o" | ||
| 6 | "CMakeFiles/main.dir/tools/retinaface.cpp.o" | ||
| 7 | "main.pdb" | ||
| 8 | "main" | ||
| 9 | ) | ||
| 10 | |||
| 11 | # Per-language clean rules from dependency scanning. | ||
| 12 | foreach(lang CXX) | ||
| 13 | include(CMakeFiles/main.dir/cmake_clean_${lang}.cmake OPTIONAL) | ||
| 14 | endforeach() | 
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
No preview for this file type
build/CMakeFiles/main.dir/flags.make
deleted
100644 → 0
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # compile CXX with /usr/bin/c++ | ||
| 5 | CXX_FLAGS = -std=gnu++11 | ||
| 6 | |||
| 7 | CXX_DEFINES = | ||
| 8 | |||
| 9 | CXX_INCLUDES = -I/home/situ/MNN/MNN1.0/MNN/include -I/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/include -isystem /usr/local/include/opencv4 | ||
| 10 | 
build/CMakeFiles/main.dir/link.txt
deleted
100644 → 0
| 1 | /usr/bin/c++ CMakeFiles/main.dir/main.cpp.o CMakeFiles/main.dir/facecomparison.cpp.o CMakeFiles/main.dir/tools/facelandmarks.cpp.o CMakeFiles/main.dir/tools/facerecognize.cpp.o CMakeFiles/main.dir/tools/retinaface.cpp.o -o main -L/usr/local/cuda-10.1/lib64 -L/home/situ/MNN/MNN1.0/MNN/build -Wl,-rpath,/usr/local/cuda-10.1/lib64:/home/situ/MNN/MNN1.0/MNN/build:/usr/local/lib -lMNN /usr/local/lib/libopencv_gapi.so.4.5.5 /usr/local/lib/libopencv_stitching.so.4.5.5 /usr/local/lib/libopencv_aruco.so.4.5.5 /usr/local/lib/libopencv_barcode.so.4.5.5 /usr/local/lib/libopencv_bgsegm.so.4.5.5 /usr/local/lib/libopencv_bioinspired.so.4.5.5 /usr/local/lib/libopencv_ccalib.so.4.5.5 /usr/local/lib/libopencv_cudabgsegm.so.4.5.5 /usr/local/lib/libopencv_cudafeatures2d.so.4.5.5 /usr/local/lib/libopencv_cudaobjdetect.so.4.5.5 /usr/local/lib/libopencv_cudastereo.so.4.5.5 /usr/local/lib/libopencv_dnn_objdetect.so.4.5.5 /usr/local/lib/libopencv_dnn_superres.so.4.5.5 /usr/local/lib/libopencv_dpm.so.4.5.5 /usr/local/lib/libopencv_face.so.4.5.5 /usr/local/lib/libopencv_freetype.so.4.5.5 /usr/local/lib/libopencv_fuzzy.so.4.5.5 /usr/local/lib/libopencv_hfs.so.4.5.5 /usr/local/lib/libopencv_img_hash.so.4.5.5 /usr/local/lib/libopencv_intensity_transform.so.4.5.5 /usr/local/lib/libopencv_line_descriptor.so.4.5.5 /usr/local/lib/libopencv_mcc.so.4.5.5 /usr/local/lib/libopencv_quality.so.4.5.5 /usr/local/lib/libopencv_rapid.so.4.5.5 /usr/local/lib/libopencv_reg.so.4.5.5 /usr/local/lib/libopencv_rgbd.so.4.5.5 /usr/local/lib/libopencv_saliency.so.4.5.5 /usr/local/lib/libopencv_stereo.so.4.5.5 /usr/local/lib/libopencv_structured_light.so.4.5.5 /usr/local/lib/libopencv_superres.so.4.5.5 /usr/local/lib/libopencv_surface_matching.so.4.5.5 /usr/local/lib/libopencv_tracking.so.4.5.5 /usr/local/lib/libopencv_videostab.so.4.5.5 /usr/local/lib/libopencv_wechat_qrcode.so.4.5.5 /usr/local/lib/libopencv_xfeatures2d.so.4.5.5 /usr/local/lib/libopencv_xobjdetect.so.4.5.5 /usr/local/lib/libopencv_xphoto.so.4.5.5 /usr/local/lib/libopencv_shape.so.4.5.5 /usr/local/lib/libopencv_highgui.so.4.5.5 /usr/local/lib/libopencv_datasets.so.4.5.5 /usr/local/lib/libopencv_plot.so.4.5.5 /usr/local/lib/libopencv_text.so.4.5.5 /usr/local/lib/libopencv_ml.so.4.5.5 /usr/local/lib/libopencv_phase_unwrapping.so.4.5.5 /usr/local/lib/libopencv_cudacodec.so.4.5.5 /usr/local/lib/libopencv_videoio.so.4.5.5 /usr/local/lib/libopencv_cudaoptflow.so.4.5.5 /usr/local/lib/libopencv_cudalegacy.so.4.5.5 /usr/local/lib/libopencv_cudawarping.so.4.5.5 /usr/local/lib/libopencv_optflow.so.4.5.5 /usr/local/lib/libopencv_ximgproc.so.4.5.5 /usr/local/lib/libopencv_video.so.4.5.5 /usr/local/lib/libopencv_imgcodecs.so.4.5.5 /usr/local/lib/libopencv_objdetect.so.4.5.5 /usr/local/lib/libopencv_calib3d.so.4.5.5 /usr/local/lib/libopencv_dnn.so.4.5.5 /usr/local/lib/libopencv_features2d.so.4.5.5 /usr/local/lib/libopencv_flann.so.4.5.5 /usr/local/lib/libopencv_photo.so.4.5.5 /usr/local/lib/libopencv_cudaimgproc.so.4.5.5 /usr/local/lib/libopencv_cudafilters.so.4.5.5 /usr/local/lib/libopencv_imgproc.so.4.5.5 /usr/local/lib/libopencv_cudaarithm.so.4.5.5 /usr/local/lib/libopencv_core.so.4.5.5 /usr/local/lib/libopencv_cudev.so.4.5.5 | 
build/CMakeFiles/main.dir/main.cpp.o
deleted
100644 → 0
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
build/CMakeFiles/progress.marks
deleted
100644 → 0
| 1 | 6 | 
build/Makefile
deleted
100644 → 0
| 1 | # CMAKE generated file: DO NOT EDIT! | ||
| 2 | # Generated by "Unix Makefiles" Generator, CMake Version 3.10 | ||
| 3 | |||
| 4 | # Default target executed when no arguments are given to make. | ||
| 5 | default_target: all | ||
| 6 | |||
| 7 | .PHONY : default_target | ||
| 8 | |||
| 9 | # Allow only one "make -f Makefile2" at a time, but pass parallelism. | ||
| 10 | .NOTPARALLEL: | ||
| 11 | |||
| 12 | |||
| 13 | #============================================================================= | ||
| 14 | # Special targets provided by cmake. | ||
| 15 | |||
| 16 | # Disable implicit rules so canonical targets will work. | ||
| 17 | .SUFFIXES: | ||
| 18 | |||
| 19 | |||
| 20 | # Remove some rules from gmake that .SUFFIXES does not remove. | ||
| 21 | SUFFIXES = | ||
| 22 | |||
| 23 | .SUFFIXES: .hpux_make_needs_suffix_list | ||
| 24 | |||
| 25 | |||
| 26 | # Suppress display of executed commands. | ||
| 27 | $(VERBOSE).SILENT: | ||
| 28 | |||
| 29 | |||
| 30 | # A target that is always out of date. | ||
| 31 | cmake_force: | ||
| 32 | |||
| 33 | .PHONY : cmake_force | ||
| 34 | |||
| 35 | #============================================================================= | ||
| 36 | # Set environment variables for the build. | ||
| 37 | |||
| 38 | # The shell in which to execute make rules. | ||
| 39 | SHELL = /bin/sh | ||
| 40 | |||
| 41 | # The CMake executable. | ||
| 42 | CMAKE_COMMAND = /usr/bin/cmake | ||
| 43 | |||
| 44 | # The command to remove a file. | ||
| 45 | RM = /usr/bin/cmake -E remove -f | ||
| 46 | |||
| 47 | # Escaping for special characters. | ||
| 48 | EQUALS = = | ||
| 49 | |||
| 50 | # The top-level source directory on which CMake was run. | ||
| 51 | CMAKE_SOURCE_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn | ||
| 52 | |||
| 53 | # The top-level build directory on which CMake was run. | ||
| 54 | CMAKE_BINARY_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build | ||
| 55 | |||
| 56 | #============================================================================= | ||
| 57 | # Targets provided globally by CMake. | ||
| 58 | |||
| 59 | # Special rule for the target rebuild_cache | ||
| 60 | rebuild_cache: | ||
| 61 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..." | ||
| 62 | /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | ||
| 63 | .PHONY : rebuild_cache | ||
| 64 | |||
| 65 | # Special rule for the target rebuild_cache | ||
| 66 | rebuild_cache/fast: rebuild_cache | ||
| 67 | |||
| 68 | .PHONY : rebuild_cache/fast | ||
| 69 | |||
| 70 | # Special rule for the target edit_cache | ||
| 71 | edit_cache: | ||
| 72 | @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..." | ||
| 73 | /usr/bin/cmake-gui -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) | ||
| 74 | .PHONY : edit_cache | ||
| 75 | |||
| 76 | # Special rule for the target edit_cache | ||
| 77 | edit_cache/fast: edit_cache | ||
| 78 | |||
| 79 | .PHONY : edit_cache/fast | ||
| 80 | |||
| 81 | # The main all target | ||
| 82 | all: cmake_check_build_system | ||
| 83 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/progress.marks | ||
| 84 | $(MAKE) -f CMakeFiles/Makefile2 all | ||
| 85 | $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles 0 | ||
| 86 | .PHONY : all | ||
| 87 | |||
| 88 | # The main clean target | ||
| 89 | clean: | ||
| 90 | $(MAKE) -f CMakeFiles/Makefile2 clean | ||
| 91 | .PHONY : clean | ||
| 92 | |||
| 93 | # The main clean target | ||
| 94 | clean/fast: clean | ||
| 95 | |||
| 96 | .PHONY : clean/fast | ||
| 97 | |||
| 98 | # Prepare targets for installation. | ||
| 99 | preinstall: all | ||
| 100 | $(MAKE) -f CMakeFiles/Makefile2 preinstall | ||
| 101 | .PHONY : preinstall | ||
| 102 | |||
| 103 | # Prepare targets for installation. | ||
| 104 | preinstall/fast: | ||
| 105 | $(MAKE) -f CMakeFiles/Makefile2 preinstall | ||
| 106 | .PHONY : preinstall/fast | ||
| 107 | |||
| 108 | # clear depends | ||
| 109 | depend: | ||
| 110 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1 | ||
| 111 | .PHONY : depend | ||
| 112 | |||
| 113 | #============================================================================= | ||
| 114 | # Target rules for targets named main | ||
| 115 | |||
| 116 | # Build rule for target. | ||
| 117 | main: cmake_check_build_system | ||
| 118 | $(MAKE) -f CMakeFiles/Makefile2 main | ||
| 119 | .PHONY : main | ||
| 120 | |||
| 121 | # fast build rule for target. | ||
| 122 | main/fast: | ||
| 123 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/build | ||
| 124 | .PHONY : main/fast | ||
| 125 | |||
| 126 | facecomparison.o: facecomparison.cpp.o | ||
| 127 | |||
| 128 | .PHONY : facecomparison.o | ||
| 129 | |||
| 130 | # target to build an object file | ||
| 131 | facecomparison.cpp.o: | ||
| 132 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/facecomparison.cpp.o | ||
| 133 | .PHONY : facecomparison.cpp.o | ||
| 134 | |||
| 135 | facecomparison.i: facecomparison.cpp.i | ||
| 136 | |||
| 137 | .PHONY : facecomparison.i | ||
| 138 | |||
| 139 | # target to preprocess a source file | ||
| 140 | facecomparison.cpp.i: | ||
| 141 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/facecomparison.cpp.i | ||
| 142 | .PHONY : facecomparison.cpp.i | ||
| 143 | |||
| 144 | facecomparison.s: facecomparison.cpp.s | ||
| 145 | |||
| 146 | .PHONY : facecomparison.s | ||
| 147 | |||
| 148 | # target to generate assembly for a file | ||
| 149 | facecomparison.cpp.s: | ||
| 150 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/facecomparison.cpp.s | ||
| 151 | .PHONY : facecomparison.cpp.s | ||
| 152 | |||
| 153 | main.o: main.cpp.o | ||
| 154 | |||
| 155 | .PHONY : main.o | ||
| 156 | |||
| 157 | # target to build an object file | ||
| 158 | main.cpp.o: | ||
| 159 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.o | ||
| 160 | .PHONY : main.cpp.o | ||
| 161 | |||
| 162 | main.i: main.cpp.i | ||
| 163 | |||
| 164 | .PHONY : main.i | ||
| 165 | |||
| 166 | # target to preprocess a source file | ||
| 167 | main.cpp.i: | ||
| 168 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.i | ||
| 169 | .PHONY : main.cpp.i | ||
| 170 | |||
| 171 | main.s: main.cpp.s | ||
| 172 | |||
| 173 | .PHONY : main.s | ||
| 174 | |||
| 175 | # target to generate assembly for a file | ||
| 176 | main.cpp.s: | ||
| 177 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.s | ||
| 178 | .PHONY : main.cpp.s | ||
| 179 | |||
| 180 | tools/facelandmarks.o: tools/facelandmarks.cpp.o | ||
| 181 | |||
| 182 | .PHONY : tools/facelandmarks.o | ||
| 183 | |||
| 184 | # target to build an object file | ||
| 185 | tools/facelandmarks.cpp.o: | ||
| 186 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/facelandmarks.cpp.o | ||
| 187 | .PHONY : tools/facelandmarks.cpp.o | ||
| 188 | |||
| 189 | tools/facelandmarks.i: tools/facelandmarks.cpp.i | ||
| 190 | |||
| 191 | .PHONY : tools/facelandmarks.i | ||
| 192 | |||
| 193 | # target to preprocess a source file | ||
| 194 | tools/facelandmarks.cpp.i: | ||
| 195 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/facelandmarks.cpp.i | ||
| 196 | .PHONY : tools/facelandmarks.cpp.i | ||
| 197 | |||
| 198 | tools/facelandmarks.s: tools/facelandmarks.cpp.s | ||
| 199 | |||
| 200 | .PHONY : tools/facelandmarks.s | ||
| 201 | |||
| 202 | # target to generate assembly for a file | ||
| 203 | tools/facelandmarks.cpp.s: | ||
| 204 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/facelandmarks.cpp.s | ||
| 205 | .PHONY : tools/facelandmarks.cpp.s | ||
| 206 | |||
| 207 | tools/facerecognize.o: tools/facerecognize.cpp.o | ||
| 208 | |||
| 209 | .PHONY : tools/facerecognize.o | ||
| 210 | |||
| 211 | # target to build an object file | ||
| 212 | tools/facerecognize.cpp.o: | ||
| 213 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/facerecognize.cpp.o | ||
| 214 | .PHONY : tools/facerecognize.cpp.o | ||
| 215 | |||
| 216 | tools/facerecognize.i: tools/facerecognize.cpp.i | ||
| 217 | |||
| 218 | .PHONY : tools/facerecognize.i | ||
| 219 | |||
| 220 | # target to preprocess a source file | ||
| 221 | tools/facerecognize.cpp.i: | ||
| 222 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/facerecognize.cpp.i | ||
| 223 | .PHONY : tools/facerecognize.cpp.i | ||
| 224 | |||
| 225 | tools/facerecognize.s: tools/facerecognize.cpp.s | ||
| 226 | |||
| 227 | .PHONY : tools/facerecognize.s | ||
| 228 | |||
| 229 | # target to generate assembly for a file | ||
| 230 | tools/facerecognize.cpp.s: | ||
| 231 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/facerecognize.cpp.s | ||
| 232 | .PHONY : tools/facerecognize.cpp.s | ||
| 233 | |||
| 234 | tools/retinaface.o: tools/retinaface.cpp.o | ||
| 235 | |||
| 236 | .PHONY : tools/retinaface.o | ||
| 237 | |||
| 238 | # target to build an object file | ||
| 239 | tools/retinaface.cpp.o: | ||
| 240 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/retinaface.cpp.o | ||
| 241 | .PHONY : tools/retinaface.cpp.o | ||
| 242 | |||
| 243 | tools/retinaface.i: tools/retinaface.cpp.i | ||
| 244 | |||
| 245 | .PHONY : tools/retinaface.i | ||
| 246 | |||
| 247 | # target to preprocess a source file | ||
| 248 | tools/retinaface.cpp.i: | ||
| 249 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/retinaface.cpp.i | ||
| 250 | .PHONY : tools/retinaface.cpp.i | ||
| 251 | |||
| 252 | tools/retinaface.s: tools/retinaface.cpp.s | ||
| 253 | |||
| 254 | .PHONY : tools/retinaface.s | ||
| 255 | |||
| 256 | # target to generate assembly for a file | ||
| 257 | tools/retinaface.cpp.s: | ||
| 258 | $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/tools/retinaface.cpp.s | ||
| 259 | .PHONY : tools/retinaface.cpp.s | ||
| 260 | |||
| 261 | # Help Target | ||
| 262 | help: | ||
| 263 | @echo "The following are some of the valid targets for this Makefile:" | ||
| 264 | @echo "... all (the default if no target is provided)" | ||
| 265 | @echo "... clean" | ||
| 266 | @echo "... depend" | ||
| 267 | @echo "... rebuild_cache" | ||
| 268 | @echo "... main" | ||
| 269 | @echo "... edit_cache" | ||
| 270 | @echo "... facecomparison.o" | ||
| 271 | @echo "... facecomparison.i" | ||
| 272 | @echo "... facecomparison.s" | ||
| 273 | @echo "... main.o" | ||
| 274 | @echo "... main.i" | ||
| 275 | @echo "... main.s" | ||
| 276 | @echo "... tools/facelandmarks.o" | ||
| 277 | @echo "... tools/facelandmarks.i" | ||
| 278 | @echo "... tools/facelandmarks.s" | ||
| 279 | @echo "... tools/facerecognize.o" | ||
| 280 | @echo "... tools/facerecognize.i" | ||
| 281 | @echo "... tools/facerecognize.s" | ||
| 282 | @echo "... tools/retinaface.o" | ||
| 283 | @echo "... tools/retinaface.i" | ||
| 284 | @echo "... tools/retinaface.s" | ||
| 285 | .PHONY : help | ||
| 286 | |||
| 287 | |||
| 288 | |||
| 289 | #============================================================================= | ||
| 290 | # Special targets to cleanup operation of make. | ||
| 291 | |||
| 292 | # Special rule to run CMake to check the build system integrity. | ||
| 293 | # No rule that depends on this can have commands that come from listfiles | ||
| 294 | # because they might be regenerated. | ||
| 295 | cmake_check_build_system: | ||
| 296 | $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 | ||
| 297 | .PHONY : cmake_check_build_system | ||
| 298 | 
build/cmake_install.cmake
deleted
100644 → 0
| 1 | # Install script for directory: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn | ||
| 2 | |||
| 3 | # Set the install prefix | ||
| 4 | if(NOT DEFINED CMAKE_INSTALL_PREFIX) | ||
| 5 | set(CMAKE_INSTALL_PREFIX "/usr/local") | ||
| 6 | endif() | ||
| 7 | string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") | ||
| 8 | |||
| 9 | # Set the install configuration name. | ||
| 10 | if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) | ||
| 11 | if(BUILD_TYPE) | ||
| 12 | string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" | ||
| 13 | CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") | ||
| 14 | else() | ||
| 15 | set(CMAKE_INSTALL_CONFIG_NAME "") | ||
| 16 | endif() | ||
| 17 | message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") | ||
| 18 | endif() | ||
| 19 | |||
| 20 | # Set the component getting installed. | ||
| 21 | if(NOT CMAKE_INSTALL_COMPONENT) | ||
| 22 | if(COMPONENT) | ||
| 23 | message(STATUS "Install component: \"${COMPONENT}\"") | ||
| 24 | set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") | ||
| 25 | else() | ||
| 26 | set(CMAKE_INSTALL_COMPONENT) | ||
| 27 | endif() | ||
| 28 | endif() | ||
| 29 | |||
| 30 | # Install shared libraries without execute permission? | ||
| 31 | if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE) | ||
| 32 | set(CMAKE_INSTALL_SO_NO_EXE "1") | ||
| 33 | endif() | ||
| 34 | |||
| 35 | # Is this installation the result of a crosscompile? | ||
| 36 | if(NOT DEFINED CMAKE_CROSSCOMPILING) | ||
| 37 | set(CMAKE_CROSSCOMPILING "FALSE") | ||
| 38 | endif() | ||
| 39 | |||
| 40 | if(CMAKE_INSTALL_COMPONENT) | ||
| 41 | set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") | ||
| 42 | else() | ||
| 43 | set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") | ||
| 44 | endif() | ||
| 45 | |||
| 46 | string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT | ||
| 47 | "${CMAKE_INSTALL_MANIFEST_FILES}") | ||
| 48 | file(WRITE "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/${CMAKE_INSTALL_MANIFEST}" | ||
| 49 | "${CMAKE_INSTALL_MANIFEST_CONTENT}") | 
build/main
deleted
100755 → 0
No preview for this file type
| ... | @@ -3,9 +3,9 @@ int main(){ | ... | @@ -3,9 +3,9 @@ int main(){ | 
| 3 | 3 | ||
| 4 | Mat image1 = cv::imread("/data/face_recognize/pipeline_test/35326a760af111ec9f2300163e772630/310cardImageContent163047910320427.jpg"); | 4 | Mat image1 = cv::imread("/data/face_recognize/pipeline_test/35326a760af111ec9f2300163e772630/310cardImageContent163047910320427.jpg"); | 
| 5 | Mat image2 = cv::imread("/data/face_recognize/pipeline_test/35326a760af111ec9f2300163e772630/310faceImageContent163047910353714.jpg"); | 5 | Mat image2 = cv::imread("/data/face_recognize/pipeline_test/35326a760af111ec9f2300163e772630/310faceImageContent163047910353714.jpg"); | 
| 6 | string face_det_model = "/home/situ/qfs/face_recognize_mnn/model/det_face_retina_mnn_1.0.0_v0.1.1.mnn"; | 6 | string face_det_model = "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/model/det_face_retina_mnn_1.0.0_v0.1.1.mnn"; | 
| 7 | string face_landm_model = "/home/situ/qfs/face_recognize_mnn/model/det_landmarks_106_v0.0.1.mnn"; | 7 | string face_landm_model = "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/model/det_landmarks_106_v0.0.1.mnn"; | 
| 8 | string face_rec_model = "/home/situ/qfs/face_recognize_mnn/model/cls_face_mnn_1.0.0_v0.1.1.mnn"; | 8 | string face_rec_model = "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/model/cls_face_mnn_1.0.0_v0.1.1.mnn"; | 
| 9 | 9 | ||
| 10 | InitModelError init_model_code; | 10 | InitModelError init_model_code; | 
| 11 | OutputInfo output_info; | 11 | OutputInfo output_info; | ... | ... | 
File moved
File moved
File moved
- 
Please register or sign in to post a comment