commit
3bb62a7e2f
197 changed files with 16154 additions and 0 deletions
@ -0,0 +1,80 @@ |
|||||||
|
{ |
||||||
|
"files.associations": { |
||||||
|
"ostream": "cpp", |
||||||
|
"algorithm": "cpp", |
||||||
|
"array": "cpp", |
||||||
|
"atomic": "cpp", |
||||||
|
"bit": "cpp", |
||||||
|
"cctype": "cpp", |
||||||
|
"charconv": "cpp", |
||||||
|
"chrono": "cpp", |
||||||
|
"clocale": "cpp", |
||||||
|
"cmath": "cpp", |
||||||
|
"codecvt": "cpp", |
||||||
|
"compare": "cpp", |
||||||
|
"complex": "cpp", |
||||||
|
"concepts": "cpp", |
||||||
|
"condition_variable": "cpp", |
||||||
|
"cstddef": "cpp", |
||||||
|
"cstdint": "cpp", |
||||||
|
"cstdio": "cpp", |
||||||
|
"cstdlib": "cpp", |
||||||
|
"cstring": "cpp", |
||||||
|
"ctime": "cpp", |
||||||
|
"cwchar": "cpp", |
||||||
|
"deque": "cpp", |
||||||
|
"exception": "cpp", |
||||||
|
"format": "cpp", |
||||||
|
"forward_list": "cpp", |
||||||
|
"fstream": "cpp", |
||||||
|
"functional": "cpp", |
||||||
|
"initializer_list": "cpp", |
||||||
|
"iomanip": "cpp", |
||||||
|
"ios": "cpp", |
||||||
|
"iosfwd": "cpp", |
||||||
|
"iostream": "cpp", |
||||||
|
"istream": "cpp", |
||||||
|
"iterator": "cpp", |
||||||
|
"limits": "cpp", |
||||||
|
"list": "cpp", |
||||||
|
"locale": "cpp", |
||||||
|
"map": "cpp", |
||||||
|
"memory": "cpp", |
||||||
|
"mutex": "cpp", |
||||||
|
"new": "cpp", |
||||||
|
"optional": "cpp", |
||||||
|
"queue": "cpp", |
||||||
|
"ranges": "cpp", |
||||||
|
"ratio": "cpp", |
||||||
|
"set": "cpp", |
||||||
|
"span": "cpp", |
||||||
|
"sstream": "cpp", |
||||||
|
"stdexcept": "cpp", |
||||||
|
"stop_token": "cpp", |
||||||
|
"streambuf": "cpp", |
||||||
|
"string": "cpp", |
||||||
|
"system_error": "cpp", |
||||||
|
"thread": "cpp", |
||||||
|
"tuple": "cpp", |
||||||
|
"type_traits": "cpp", |
||||||
|
"typeinfo": "cpp", |
||||||
|
"unordered_map": "cpp", |
||||||
|
"utility": "cpp", |
||||||
|
"vector": "cpp", |
||||||
|
"xfacet": "cpp", |
||||||
|
"xhash": "cpp", |
||||||
|
"xiosbase": "cpp", |
||||||
|
"xlocale": "cpp", |
||||||
|
"xlocbuf": "cpp", |
||||||
|
"xlocinfo": "cpp", |
||||||
|
"xlocmes": "cpp", |
||||||
|
"xlocmon": "cpp", |
||||||
|
"xlocnum": "cpp", |
||||||
|
"xloctime": "cpp", |
||||||
|
"xmemory": "cpp", |
||||||
|
"xstring": "cpp", |
||||||
|
"xtr1common": "cpp", |
||||||
|
"xtree": "cpp", |
||||||
|
"xutility": "cpp" |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,28 @@ |
|||||||
|
{ |
||||||
|
"tasks": [ |
||||||
|
{ |
||||||
|
"type": "cppbuild", |
||||||
|
"label": "C/C++: cl.exe build active file", |
||||||
|
"command": "cl.exe", |
||||||
|
"args": [ |
||||||
|
"/Zi", |
||||||
|
"/EHsc", |
||||||
|
"/nologo", |
||||||
|
"/Fe${fileDirname}\\${fileBasenameNoExtension}.exe", |
||||||
|
"${file}" |
||||||
|
], |
||||||
|
"options": { |
||||||
|
"cwd": "${fileDirname}" |
||||||
|
}, |
||||||
|
"problemMatcher": [ |
||||||
|
"$msCompile" |
||||||
|
], |
||||||
|
"group": { |
||||||
|
"kind": "build", |
||||||
|
"isDefault": true |
||||||
|
}, |
||||||
|
"detail": "Task generated by Debugger." |
||||||
|
} |
||||||
|
], |
||||||
|
"version": "2.0.0" |
||||||
|
} |
||||||
@ -0,0 +1 @@ |
|||||||
|
# generated from CMake |
||||||
@ -0,0 +1,72 @@ |
|||||||
|
set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe") |
||||||
|
set(CMAKE_C_COMPILER_ARG1 "") |
||||||
|
set(CMAKE_C_COMPILER_ID "MSVC") |
||||||
|
set(CMAKE_C_COMPILER_VERSION "19.41.34123.0") |
||||||
|
set(CMAKE_C_COMPILER_VERSION_INTERNAL "") |
||||||
|
set(CMAKE_C_COMPILER_WRAPPER "") |
||||||
|
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") |
||||||
|
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") |
||||||
|
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;c_std_17") |
||||||
|
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") |
||||||
|
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") |
||||||
|
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") |
||||||
|
set(CMAKE_C17_COMPILE_FEATURES "c_std_17") |
||||||
|
set(CMAKE_C23_COMPILE_FEATURES "") |
||||||
|
|
||||||
|
set(CMAKE_C_PLATFORM_ID "Windows") |
||||||
|
set(CMAKE_C_SIMULATE_ID "") |
||||||
|
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") |
||||||
|
set(CMAKE_C_SIMULATE_VERSION "") |
||||||
|
set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(MSVC_C_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/lib.exe") |
||||||
|
set(CMAKE_C_COMPILER_AR "") |
||||||
|
set(CMAKE_RANLIB ":") |
||||||
|
set(CMAKE_C_COMPILER_RANLIB "") |
||||||
|
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/link.exe") |
||||||
|
set(CMAKE_MT "CMAKE_MT-NOTFOUND") |
||||||
|
set(CMAKE_COMPILER_IS_GNUCC ) |
||||||
|
set(CMAKE_C_COMPILER_LOADED 1) |
||||||
|
set(CMAKE_C_COMPILER_WORKS TRUE) |
||||||
|
set(CMAKE_C_ABI_COMPILED TRUE) |
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ENV_VAR "CC") |
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ID_RUN 1) |
||||||
|
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) |
||||||
|
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) |
||||||
|
set(CMAKE_C_LINKER_PREFERENCE 10) |
||||||
|
|
||||||
|
# Save compiler ABI information. |
||||||
|
set(CMAKE_C_SIZEOF_DATA_PTR "8") |
||||||
|
set(CMAKE_C_COMPILER_ABI "") |
||||||
|
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") |
||||||
|
set(CMAKE_C_LIBRARY_ARCHITECTURE "") |
||||||
|
|
||||||
|
if(CMAKE_C_SIZEOF_DATA_PTR) |
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_C_COMPILER_ABI) |
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_C_LIBRARY_ARCHITECTURE) |
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "") |
||||||
|
endif() |
||||||
|
|
||||||
|
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") |
||||||
|
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) |
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") |
||||||
|
endif() |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") |
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") |
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") |
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") |
||||||
@ -0,0 +1,83 @@ |
|||||||
|
set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe") |
||||||
|
set(CMAKE_CXX_COMPILER_ARG1 "") |
||||||
|
set(CMAKE_CXX_COMPILER_ID "MSVC") |
||||||
|
set(CMAKE_CXX_COMPILER_VERSION "19.41.34123.0") |
||||||
|
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") |
||||||
|
set(CMAKE_CXX_COMPILER_WRAPPER "") |
||||||
|
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") |
||||||
|
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") |
||||||
|
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;cxx_std_20;cxx_std_23") |
||||||
|
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") |
||||||
|
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") |
||||||
|
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") |
||||||
|
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") |
||||||
|
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") |
||||||
|
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") |
||||||
|
|
||||||
|
set(CMAKE_CXX_PLATFORM_ID "Windows") |
||||||
|
set(CMAKE_CXX_SIMULATE_ID "") |
||||||
|
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") |
||||||
|
set(CMAKE_CXX_SIMULATE_VERSION "") |
||||||
|
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(MSVC_CXX_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/lib.exe") |
||||||
|
set(CMAKE_CXX_COMPILER_AR "") |
||||||
|
set(CMAKE_RANLIB ":") |
||||||
|
set(CMAKE_CXX_COMPILER_RANLIB "") |
||||||
|
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/link.exe") |
||||||
|
set(CMAKE_MT "CMAKE_MT-NOTFOUND") |
||||||
|
set(CMAKE_COMPILER_IS_GNUCXX ) |
||||||
|
set(CMAKE_CXX_COMPILER_LOADED 1) |
||||||
|
set(CMAKE_CXX_COMPILER_WORKS TRUE) |
||||||
|
set(CMAKE_CXX_ABI_COMPILED TRUE) |
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") |
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ID_RUN 1) |
||||||
|
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm) |
||||||
|
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) |
||||||
|
|
||||||
|
foreach (lang C OBJC OBJCXX) |
||||||
|
if (CMAKE_${lang}_COMPILER_ID_RUN) |
||||||
|
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) |
||||||
|
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) |
||||||
|
endforeach() |
||||||
|
endif() |
||||||
|
endforeach() |
||||||
|
|
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE 30) |
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) |
||||||
|
|
||||||
|
# Save compiler ABI information. |
||||||
|
set(CMAKE_CXX_SIZEOF_DATA_PTR "8") |
||||||
|
set(CMAKE_CXX_COMPILER_ABI "") |
||||||
|
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") |
||||||
|
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") |
||||||
|
|
||||||
|
if(CMAKE_CXX_SIZEOF_DATA_PTR) |
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_CXX_COMPILER_ABI) |
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_CXX_LIBRARY_ARCHITECTURE) |
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "") |
||||||
|
endif() |
||||||
|
|
||||||
|
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") |
||||||
|
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) |
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") |
||||||
|
endif() |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") |
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") |
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") |
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") |
||||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,6 @@ |
|||||||
|
set(CMAKE_RC_COMPILER "rc") |
||||||
|
set(CMAKE_RC_COMPILER_ARG1 "") |
||||||
|
set(CMAKE_RC_COMPILER_LOADED 1) |
||||||
|
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) |
||||||
|
set(CMAKE_RC_OUTPUT_EXTENSION .res) |
||||||
|
set(CMAKE_RC_COMPILER_ENV_VAR "RC") |
||||||
@ -0,0 +1,15 @@ |
|||||||
|
set(CMAKE_HOST_SYSTEM "Windows-10.0.22631") |
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Windows") |
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "10.0.22631") |
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Windows-10.0.22631") |
||||||
|
set(CMAKE_SYSTEM_NAME "Windows") |
||||||
|
set(CMAKE_SYSTEM_VERSION "10.0.22631") |
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "AMD64") |
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE") |
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1) |
||||||
@ -0,0 +1,868 @@ |
|||||||
|
#ifdef __cplusplus |
||||||
|
# error "A C++ compiler has been selected for C." |
||||||
|
#endif |
||||||
|
|
||||||
|
#if defined(__18CXX) |
||||||
|
# define ID_VOID_MAIN |
||||||
|
#endif |
||||||
|
#if defined(__CLASSIC_C__) |
||||||
|
/* cv-qualifiers did not exist in K&R C */ |
||||||
|
# define const |
||||||
|
# define volatile |
||||||
|
#endif |
||||||
|
|
||||||
|
#if !defined(__has_include) |
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */ |
||||||
|
# define __has_include(x) 0 |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */ |
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC) |
||||||
|
# define COMPILER_ID "Intel" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
# endif |
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */ |
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) |
||||||
|
# if defined(__INTEL_COMPILER_UPDATE) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) |
||||||
|
# else |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) |
||||||
|
# endif |
||||||
|
# else |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) |
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(0) |
||||||
|
# endif |
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE) |
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) |
||||||
|
# endif |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# elif defined(__GNUG__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) |
||||||
|
# define COMPILER_ID "IntelLLVM" |
||||||
|
#if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
#endif |
||||||
|
#if defined(__GNUC__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
#endif |
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding. |
||||||
|
* VVVV is no smaller than the current year when a version is released. |
||||||
|
*/ |
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) |
||||||
|
#else |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) |
||||||
|
#endif |
||||||
|
#if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
#elif defined(__GNUG__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
#endif |
||||||
|
|
||||||
|
#elif defined(__PATHCC__) |
||||||
|
# define COMPILER_ID "PathScale" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) |
||||||
|
# if defined(__PATHCC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) |
||||||
|
# define COMPILER_ID "Embarcadero" |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) |
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) |
||||||
|
# define COMPILER_ID "Borland" |
||||||
|
/* __BORLANDC__ = 0xVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 |
||||||
|
# define COMPILER_ID "Watcom" |
||||||
|
/* __WATCOMC__ = VVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) |
||||||
|
# if (__WATCOMC__ % 10) > 0 |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# define COMPILER_ID "OpenWatcom" |
||||||
|
/* __WATCOMC__ = VVRP + 1100 */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) |
||||||
|
# if (__WATCOMC__ % 10) > 0 |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__SUNPRO_C) |
||||||
|
# define COMPILER_ID "SunPro" |
||||||
|
# if __SUNPRO_C >= 0x5100 |
||||||
|
/* __SUNPRO_C = 0xVRRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) |
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) |
||||||
|
# else |
||||||
|
/* __SUNPRO_CC = 0xVRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) |
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__HP_cc) |
||||||
|
# define COMPILER_ID "HP" |
||||||
|
/* __HP_cc = VVRRPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) |
||||||
|
|
||||||
|
#elif defined(__DECC) |
||||||
|
# define COMPILER_ID "Compaq" |
||||||
|
/* __DECC_VER = VVRRTPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) |
||||||
|
|
||||||
|
#elif defined(__IBMC__) && defined(__COMPILER_VER__) |
||||||
|
# define COMPILER_ID "zOS" |
||||||
|
/* __IBMC__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) |
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__) |
||||||
|
# define COMPILER_ID "IBMClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__) |
||||||
|
# define COMPILER_ID "XLClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 |
||||||
|
# define COMPILER_ID "XL" |
||||||
|
/* __IBMC__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) |
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 |
||||||
|
# define COMPILER_ID "VisualAge" |
||||||
|
/* __IBMC__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) |
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER) |
||||||
|
# define COMPILER_ID "NVHPC" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) |
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__PGI) |
||||||
|
# define COMPILER_ID "PGI" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) |
||||||
|
# if defined(__PGIC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_CRAYC) |
||||||
|
# define COMPILER_ID "Cray" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) |
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__) |
||||||
|
# define COMPILER_ID "TI" |
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) |
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU) |
||||||
|
# define COMPILER_ID "FujitsuClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) |
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__ |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU) |
||||||
|
# define COMPILER_ID "Fujitsu" |
||||||
|
# if defined(__FCC_version__) |
||||||
|
# define COMPILER_VERSION __FCC_version__ |
||||||
|
# elif defined(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) |
||||||
|
# endif |
||||||
|
# if defined(__fcc_version) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) |
||||||
|
# elif defined(__FCC_VERSION) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) |
||||||
|
# endif |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__) |
||||||
|
# define COMPILER_ID "GHS" |
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */ |
||||||
|
# ifdef __GHS_VERSION_NUMBER |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__TASKING__) |
||||||
|
# define COMPILER_ID "Tasking" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) |
||||||
|
|
||||||
|
#elif defined(__TINYC__) |
||||||
|
# define COMPILER_ID "TinyCC" |
||||||
|
|
||||||
|
#elif defined(__BCC__) |
||||||
|
# define COMPILER_ID "Bruce" |
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__) |
||||||
|
# define COMPILER_ID "SCO" |
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__) |
||||||
|
# define COMPILER_ID "ARMCC" |
||||||
|
#if __ARMCC_VERSION >= 1000000 |
||||||
|
/* __ARMCC_VERSION = VRRPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) |
||||||
|
#else |
||||||
|
/* __ARMCC_VERSION = VRPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__) |
||||||
|
# define COMPILER_ID "AppleClang" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) |
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) |
||||||
|
# define COMPILER_ID "ARMClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) |
||||||
|
|
||||||
|
#elif defined(__clang__) |
||||||
|
# define COMPILER_ID "Clang" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) |
||||||
|
# define COMPILER_ID "LCC" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(1) |
||||||
|
# if defined(__LCC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__- 100) |
||||||
|
# endif |
||||||
|
# if defined(__LCC_MINOR__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__GNUC__) |
||||||
|
# define COMPILER_ID "GNU" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# if defined(__GNUC_MINOR__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_MSC_VER) |
||||||
|
# define COMPILER_ID "MSVC" |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# if defined(_MSC_FULL_VER) |
||||||
|
# if _MSC_VER >= 1400 |
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) |
||||||
|
# else |
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# if defined(_MSC_BUILD) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER) |
||||||
|
# define COMPILER_ID "ADSP" |
||||||
|
#if defined(__VERSIONNUM__) |
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) |
||||||
|
#endif |
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) |
||||||
|
# define COMPILER_ID "IAR" |
||||||
|
# if defined(__VER__) && defined(__ICCARM__) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) |
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) |
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) |
||||||
|
# define COMPILER_ID "SDCC" |
||||||
|
# if defined(__SDCC_VERSION_MAJOR) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) |
||||||
|
# else |
||||||
|
/* SDCC = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(SDCC/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(SDCC % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that |
||||||
|
it is the native compiler. */ |
||||||
|
#elif defined(__hpux) || defined(__hpua) |
||||||
|
# define COMPILER_ID "HP" |
||||||
|
|
||||||
|
#else /* unknown compiler */ |
||||||
|
# define COMPILER_ID "" |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array |
||||||
|
because some compilers will just produce instructions to fill the |
||||||
|
array rather than assigning a pointer to a static array. */ |
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; |
||||||
|
#ifdef SIMULATE_ID |
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __QNXNTO__ |
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) |
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X |
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X) |
||||||
|
|
||||||
|
/* Identify known platforms by name. */ |
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux) |
||||||
|
# define PLATFORM_ID "Linux" |
||||||
|
|
||||||
|
#elif defined(__MSYS__) |
||||||
|
# define PLATFORM_ID "MSYS" |
||||||
|
|
||||||
|
#elif defined(__CYGWIN__) |
||||||
|
# define PLATFORM_ID "Cygwin" |
||||||
|
|
||||||
|
#elif defined(__MINGW32__) |
||||||
|
# define PLATFORM_ID "MinGW" |
||||||
|
|
||||||
|
#elif defined(__APPLE__) |
||||||
|
# define PLATFORM_ID "Darwin" |
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) |
||||||
|
# define PLATFORM_ID "Windows" |
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD) |
||||||
|
# define PLATFORM_ID "FreeBSD" |
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD) |
||||||
|
# define PLATFORM_ID "NetBSD" |
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD) |
||||||
|
# define PLATFORM_ID "OpenBSD" |
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun) |
||||||
|
# define PLATFORM_ID "SunOS" |
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) |
||||||
|
# define PLATFORM_ID "AIX" |
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__) |
||||||
|
# define PLATFORM_ID "HP-UX" |
||||||
|
|
||||||
|
#elif defined(__HAIKU__) |
||||||
|
# define PLATFORM_ID "Haiku" |
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) |
||||||
|
# define PLATFORM_ID "BeOS" |
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__) |
||||||
|
# define PLATFORM_ID "QNX" |
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) |
||||||
|
# define PLATFORM_ID "Tru64" |
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__) |
||||||
|
# define PLATFORM_ID "RISCos" |
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) |
||||||
|
# define PLATFORM_ID "SINIX" |
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__) |
||||||
|
# define PLATFORM_ID "UNIX_SV" |
||||||
|
|
||||||
|
#elif defined(__bsdos__) |
||||||
|
# define PLATFORM_ID "BSDOS" |
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS) |
||||||
|
# define PLATFORM_ID "MP-RAS" |
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__) |
||||||
|
# define PLATFORM_ID "OSF1" |
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) |
||||||
|
# define PLATFORM_ID "SCO_SV" |
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) |
||||||
|
# define PLATFORM_ID "ULTRIX" |
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) |
||||||
|
# define PLATFORM_ID "Xenix" |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# if defined(__LINUX__) |
||||||
|
# define PLATFORM_ID "Linux" |
||||||
|
|
||||||
|
# elif defined(__DOS__) |
||||||
|
# define PLATFORM_ID "DOS" |
||||||
|
|
||||||
|
# elif defined(__OS2__) |
||||||
|
# define PLATFORM_ID "OS2" |
||||||
|
|
||||||
|
# elif defined(__WINDOWS__) |
||||||
|
# define PLATFORM_ID "Windows3x" |
||||||
|
|
||||||
|
# elif defined(__VXWORKS__) |
||||||
|
# define PLATFORM_ID "VxWorks" |
||||||
|
|
||||||
|
# else /* unknown platform */ |
||||||
|
# define PLATFORM_ID |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__INTEGRITY) |
||||||
|
# if defined(INT_178B) |
||||||
|
# define PLATFORM_ID "Integrity178" |
||||||
|
|
||||||
|
# else /* regular Integrity */ |
||||||
|
# define PLATFORM_ID "Integrity" |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER) |
||||||
|
# define PLATFORM_ID "ADSP" |
||||||
|
|
||||||
|
#else /* unknown platform */ |
||||||
|
# define PLATFORM_ID |
||||||
|
|
||||||
|
#endif |
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because |
||||||
|
the compilers do not have flags that can change the architecture, |
||||||
|
but rather depend on which compiler is being used |
||||||
|
*/ |
||||||
|
#if defined(_WIN32) && defined(_MSC_VER) |
||||||
|
# if defined(_M_IA64) |
||||||
|
# define ARCHITECTURE_ID "IA64" |
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC) |
||||||
|
# define ARCHITECTURE_ID "ARM64EC" |
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64) |
||||||
|
# define ARCHITECTURE_ID "x64" |
||||||
|
|
||||||
|
# elif defined(_M_IX86) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# elif defined(_M_ARM64) |
||||||
|
# define ARCHITECTURE_ID "ARM64" |
||||||
|
|
||||||
|
# elif defined(_M_ARM) |
||||||
|
# if _M_ARM == 4 |
||||||
|
# define ARCHITECTURE_ID "ARMV4I" |
||||||
|
# elif _M_ARM == 5 |
||||||
|
# define ARCHITECTURE_ID "ARMV5I" |
||||||
|
# else |
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(_M_MIPS) |
||||||
|
# define ARCHITECTURE_ID "MIPS" |
||||||
|
|
||||||
|
# elif defined(_M_SH) |
||||||
|
# define ARCHITECTURE_ID "SHx" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# if defined(_M_I86) |
||||||
|
# define ARCHITECTURE_ID "I86" |
||||||
|
|
||||||
|
# elif defined(_M_IX86) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) |
||||||
|
# if defined(__ICCARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__ICCRX__) |
||||||
|
# define ARCHITECTURE_ID "RX" |
||||||
|
|
||||||
|
# elif defined(__ICCRH850__) |
||||||
|
# define ARCHITECTURE_ID "RH850" |
||||||
|
|
||||||
|
# elif defined(__ICCRL78__) |
||||||
|
# define ARCHITECTURE_ID "RL78" |
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__) |
||||||
|
# define ARCHITECTURE_ID "RISCV" |
||||||
|
|
||||||
|
# elif defined(__ICCAVR__) |
||||||
|
# define ARCHITECTURE_ID "AVR" |
||||||
|
|
||||||
|
# elif defined(__ICC430__) |
||||||
|
# define ARCHITECTURE_ID "MSP430" |
||||||
|
|
||||||
|
# elif defined(__ICCV850__) |
||||||
|
# define ARCHITECTURE_ID "V850" |
||||||
|
|
||||||
|
# elif defined(__ICC8051__) |
||||||
|
# define ARCHITECTURE_ID "8051" |
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__) |
||||||
|
# define ARCHITECTURE_ID "STM8" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__ghs__) |
||||||
|
# if defined(__PPC64__) |
||||||
|
# define ARCHITECTURE_ID "PPC64" |
||||||
|
|
||||||
|
# elif defined(__ppc__) |
||||||
|
# define ARCHITECTURE_ID "PPC" |
||||||
|
|
||||||
|
# elif defined(__ARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__x86_64__) |
||||||
|
# define ARCHITECTURE_ID "x64" |
||||||
|
|
||||||
|
# elif defined(__i386__) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__) |
||||||
|
# if defined(__TI_ARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__MSP430__) |
||||||
|
# define ARCHITECTURE_ID "MSP430" |
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__) |
||||||
|
# define ARCHITECTURE_ID "TMS320C28x" |
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X) |
||||||
|
# define ARCHITECTURE_ID "TMS320C6x" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__) |
||||||
|
# define ARCHITECTURE_ID "SHARC" |
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__) |
||||||
|
# define ARCHITECTURE_ID "Blackfin" |
||||||
|
|
||||||
|
#elif defined(__TASKING__) |
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__) |
||||||
|
# define ARCHITECTURE_ID "TriCore" |
||||||
|
|
||||||
|
# elif defined(__CMCS__) |
||||||
|
# define ARCHITECTURE_ID "MCS" |
||||||
|
|
||||||
|
# elif defined(__CARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__CARC__) |
||||||
|
# define ARCHITECTURE_ID "ARC" |
||||||
|
|
||||||
|
# elif defined(__C51__) |
||||||
|
# define ARCHITECTURE_ID "8051" |
||||||
|
|
||||||
|
# elif defined(__CPCP__) |
||||||
|
# define ARCHITECTURE_ID "PCP" |
||||||
|
|
||||||
|
# else |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#else |
||||||
|
# define ARCHITECTURE_ID |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */ |
||||||
|
#define DEC(n) \ |
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10)) |
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */ |
||||||
|
#define HEX(n) \ |
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF)) |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */ |
||||||
|
#ifdef COMPILER_VERSION |
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */ |
||||||
|
#elif defined(COMPILER_VERSION_MAJOR) |
||||||
|
char const info_version[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', |
||||||
|
COMPILER_VERSION_MAJOR, |
||||||
|
# ifdef COMPILER_VERSION_MINOR |
||||||
|
'.', COMPILER_VERSION_MINOR, |
||||||
|
# ifdef COMPILER_VERSION_PATCH |
||||||
|
'.', COMPILER_VERSION_PATCH, |
||||||
|
# ifdef COMPILER_VERSION_TWEAK |
||||||
|
'.', COMPILER_VERSION_TWEAK, |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
']','\0'}; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */ |
||||||
|
#ifdef COMPILER_VERSION_INTERNAL |
||||||
|
char const info_version_internal[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', |
||||||
|
'i','n','t','e','r','n','a','l','[', |
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'}; |
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR) |
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */ |
||||||
|
#ifdef SIMULATE_VERSION_MAJOR |
||||||
|
char const info_simulate_version[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', |
||||||
|
SIMULATE_VERSION_MAJOR, |
||||||
|
# ifdef SIMULATE_VERSION_MINOR |
||||||
|
'.', SIMULATE_VERSION_MINOR, |
||||||
|
# ifdef SIMULATE_VERSION_PATCH |
||||||
|
'.', SIMULATE_VERSION_PATCH, |
||||||
|
# ifdef SIMULATE_VERSION_TWEAK |
||||||
|
'.', SIMULATE_VERSION_TWEAK, |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
']','\0'}; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array |
||||||
|
because some compilers will just produce instructions to fill the |
||||||
|
array rather than assigning a pointer to a static array. */ |
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; |
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(__STDC__) && !defined(__clang__) |
||||||
|
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) |
||||||
|
# define C_VERSION "90" |
||||||
|
# else |
||||||
|
# define C_VERSION |
||||||
|
# endif |
||||||
|
#elif __STDC_VERSION__ > 201710L |
||||||
|
# define C_VERSION "23" |
||||||
|
#elif __STDC_VERSION__ >= 201710L |
||||||
|
# define C_VERSION "17" |
||||||
|
#elif __STDC_VERSION__ >= 201000L |
||||||
|
# define C_VERSION "11" |
||||||
|
#elif __STDC_VERSION__ >= 199901L |
||||||
|
# define C_VERSION "99" |
||||||
|
#else |
||||||
|
# define C_VERSION "90" |
||||||
|
#endif |
||||||
|
const char* info_language_standard_default = |
||||||
|
"INFO" ":" "standard_default[" C_VERSION "]"; |
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default[" |
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ |
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__) |
||||||
|
"ON" |
||||||
|
#else |
||||||
|
"OFF" |
||||||
|
#endif |
||||||
|
"]"; |
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/ |
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN |
||||||
|
void main() {} |
||||||
|
#else |
||||||
|
# if defined(__CLASSIC_C__) |
||||||
|
int main(argc, argv) int argc; char *argv[]; |
||||||
|
# else |
||||||
|
int main(int argc, char* argv[]) |
||||||
|
# endif |
||||||
|
{ |
||||||
|
int require = 0; |
||||||
|
require += info_compiler[argc]; |
||||||
|
require += info_platform[argc]; |
||||||
|
require += info_arch[argc]; |
||||||
|
#ifdef COMPILER_VERSION_MAJOR |
||||||
|
require += info_version[argc]; |
||||||
|
#endif |
||||||
|
#ifdef COMPILER_VERSION_INTERNAL |
||||||
|
require += info_version_internal[argc]; |
||||||
|
#endif |
||||||
|
#ifdef SIMULATE_ID |
||||||
|
require += info_simulate[argc]; |
||||||
|
#endif |
||||||
|
#ifdef SIMULATE_VERSION_MAJOR |
||||||
|
require += info_simulate_version[argc]; |
||||||
|
#endif |
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) |
||||||
|
require += info_cray[argc]; |
||||||
|
#endif |
||||||
|
require += info_language_standard_default[argc]; |
||||||
|
require += info_language_extensions_default[argc]; |
||||||
|
(void)argv; |
||||||
|
return require; |
||||||
|
} |
||||||
|
#endif |
||||||
Binary file not shown.
@ -0,0 +1,71 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||||
|
<ItemGroup Label="ProjectConfigurations"> |
||||||
|
<ProjectConfiguration Include="Debug|x64"> |
||||||
|
<Configuration>Debug</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
</ItemGroup> |
||||||
|
<PropertyGroup Label="Globals"> |
||||||
|
<ProjectGuid>{CAE07175-D007-4FC3-BFE8-47B392814159}</ProjectGuid> |
||||||
|
<RootNamespace>CompilerIdC</RootNamespace> |
||||||
|
<Keyword>Win32Proj</Keyword> |
||||||
|
|
||||||
|
|
||||||
|
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyGroup> |
||||||
|
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||||
|
<PropertyGroup> |
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||||
|
<ConfigurationType>Application</ConfigurationType> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
</PropertyGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||||
|
<ImportGroup Label="ExtensionSettings"> |
||||||
|
|
||||||
|
</ImportGroup> |
||||||
|
<PropertyGroup> |
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\</OutDir> |
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\</IntDir> |
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> |
||||||
|
</PropertyGroup> |
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
|
<ClCompile> |
||||||
|
<Optimization>Disabled</Optimization> |
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||||
|
<MinimalRebuild>false</MinimalRebuild> |
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
||||||
|
<PrecompiledHeader> |
||||||
|
</PrecompiledHeader> |
||||||
|
<WarningLevel>TurnOffAllWarnings</WarningLevel> |
||||||
|
<DebugInformationFormat> |
||||||
|
</DebugInformationFormat> |
||||||
|
</ClCompile> |
||||||
|
|
||||||
|
<Link> |
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation> |
||||||
|
<SubSystem>Console</SubSystem> |
||||||
|
|
||||||
|
</Link> |
||||||
|
<PostBuildEvent> |
||||||
|
<Command>for %%i in (cl.exe) do %40echo CMAKE_C_COMPILER=%%~$PATH:i</Command> |
||||||
|
</PostBuildEvent> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<ItemGroup> |
||||||
|
<ClCompile Include="CMakeCCompilerId.c" /> |
||||||
|
</ItemGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||||
|
<ImportGroup Label="ExtensionTargets"> |
||||||
|
|
||||||
|
</ImportGroup> |
||||||
|
</Project> |
||||||
Binary file not shown.
@ -0,0 +1,11 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project> |
||||||
|
<ProjectOutputs> |
||||||
|
<ProjectOutput> |
||||||
|
<FullPath>C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdC\CompilerIdC.exe</FullPath> |
||||||
|
</ProjectOutput> |
||||||
|
</ProjectOutputs> |
||||||
|
<ContentFiles /> |
||||||
|
<SatelliteDlls /> |
||||||
|
<NonRecipeFileRefs /> |
||||||
|
</Project> |
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||||||
|
C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdC\CMakeCCompilerId.c;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdC\Debug\CMakeCCompilerId.obj |
||||||
@ -0,0 +1,2 @@ |
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22621.0: |
||||||
|
Debug|x64|C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdC\| |
||||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||||||
|
^C:\USERS\MM930\ONEDRIVE\DOCUMENTS\HAILO\YUVINFER\CMAKEFILES\3.25.1\COMPILERIDC\DEBUG\CMAKECCOMPILERID.OBJ |
||||||
Binary file not shown.
@ -0,0 +1,857 @@ |
|||||||
|
/* This source file must have a .cpp extension so that all C++ compilers
|
||||||
|
recognize the extension without flags. Borland does not know .cxx for |
||||||
|
example. */ |
||||||
|
#ifndef __cplusplus |
||||||
|
# error "A C compiler has been selected for C++." |
||||||
|
#endif |
||||||
|
|
||||||
|
#if !defined(__has_include) |
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */ |
||||||
|
# define __has_include(x) 0 |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */ |
||||||
|
|
||||||
|
#if defined(__COMO__) |
||||||
|
# define COMPILER_ID "Comeau" |
||||||
|
/* __COMO_VERSION__ = VRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100) |
||||||
|
|
||||||
|
#elif defined(__INTEL_COMPILER) || defined(__ICC) |
||||||
|
# define COMPILER_ID "Intel" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
# endif |
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */ |
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) |
||||||
|
# if defined(__INTEL_COMPILER_UPDATE) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) |
||||||
|
# else |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) |
||||||
|
# endif |
||||||
|
# else |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) |
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(0) |
||||||
|
# endif |
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE) |
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) |
||||||
|
# endif |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# elif defined(__GNUG__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) |
||||||
|
# define COMPILER_ID "IntelLLVM" |
||||||
|
#if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
#endif |
||||||
|
#if defined(__GNUC__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
#endif |
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding. |
||||||
|
* VVVV is no smaller than the current year when a version is released. |
||||||
|
*/ |
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) |
||||||
|
#else |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) |
||||||
|
#endif |
||||||
|
#if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
#elif defined(__GNUG__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
#endif |
||||||
|
|
||||||
|
#elif defined(__PATHCC__) |
||||||
|
# define COMPILER_ID "PathScale" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) |
||||||
|
# if defined(__PATHCC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) |
||||||
|
# define COMPILER_ID "Embarcadero" |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) |
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) |
||||||
|
# define COMPILER_ID "Borland" |
||||||
|
/* __BORLANDC__ = 0xVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 |
||||||
|
# define COMPILER_ID "Watcom" |
||||||
|
/* __WATCOMC__ = VVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) |
||||||
|
# if (__WATCOMC__ % 10) > 0 |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# define COMPILER_ID "OpenWatcom" |
||||||
|
/* __WATCOMC__ = VVRP + 1100 */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) |
||||||
|
# if (__WATCOMC__ % 10) > 0 |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__SUNPRO_CC) |
||||||
|
# define COMPILER_ID "SunPro" |
||||||
|
# if __SUNPRO_CC >= 0x5100 |
||||||
|
/* __SUNPRO_CC = 0xVRRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) |
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) |
||||||
|
# else |
||||||
|
/* __SUNPRO_CC = 0xVRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) |
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__HP_aCC) |
||||||
|
# define COMPILER_ID "HP" |
||||||
|
/* __HP_aCC = VVRRPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) |
||||||
|
|
||||||
|
#elif defined(__DECCXX) |
||||||
|
# define COMPILER_ID "Compaq" |
||||||
|
/* __DECCXX_VER = VVRRTPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) |
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) |
||||||
|
# define COMPILER_ID "zOS" |
||||||
|
/* __IBMCPP__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) |
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__) |
||||||
|
# define COMPILER_ID "IBMClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__) |
||||||
|
# define COMPILER_ID "XLClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 |
||||||
|
# define COMPILER_ID "XL" |
||||||
|
/* __IBMCPP__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) |
||||||
|
|
||||||
|
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 |
||||||
|
# define COMPILER_ID "VisualAge" |
||||||
|
/* __IBMCPP__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) |
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER) |
||||||
|
# define COMPILER_ID "NVHPC" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) |
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__PGI) |
||||||
|
# define COMPILER_ID "PGI" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) |
||||||
|
# if defined(__PGIC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_CRAYC) |
||||||
|
# define COMPILER_ID "Cray" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) |
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__) |
||||||
|
# define COMPILER_ID "TI" |
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) |
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU) |
||||||
|
# define COMPILER_ID "FujitsuClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) |
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__ |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU) |
||||||
|
# define COMPILER_ID "Fujitsu" |
||||||
|
# if defined(__FCC_version__) |
||||||
|
# define COMPILER_VERSION __FCC_version__ |
||||||
|
# elif defined(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) |
||||||
|
# endif |
||||||
|
# if defined(__fcc_version) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) |
||||||
|
# elif defined(__FCC_VERSION) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) |
||||||
|
# endif |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__) |
||||||
|
# define COMPILER_ID "GHS" |
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */ |
||||||
|
# ifdef __GHS_VERSION_NUMBER |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__TASKING__) |
||||||
|
# define COMPILER_ID "Tasking" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) |
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__) |
||||||
|
# define COMPILER_ID "SCO" |
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__) |
||||||
|
# define COMPILER_ID "ARMCC" |
||||||
|
#if __ARMCC_VERSION >= 1000000 |
||||||
|
/* __ARMCC_VERSION = VRRPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) |
||||||
|
#else |
||||||
|
/* __ARMCC_VERSION = VRPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__) |
||||||
|
# define COMPILER_ID "AppleClang" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) |
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) |
||||||
|
# define COMPILER_ID "ARMClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) |
||||||
|
|
||||||
|
#elif defined(__clang__) |
||||||
|
# define COMPILER_ID "Clang" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) |
||||||
|
# define COMPILER_ID "LCC" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(1) |
||||||
|
# if defined(__LCC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__- 100) |
||||||
|
# endif |
||||||
|
# if defined(__LCC_MINOR__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__GNUC__) || defined(__GNUG__) |
||||||
|
# define COMPILER_ID "GNU" |
||||||
|
# if defined(__GNUC__) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# else |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUG__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_MINOR__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_MSC_VER) |
||||||
|
# define COMPILER_ID "MSVC" |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# if defined(_MSC_FULL_VER) |
||||||
|
# if _MSC_VER >= 1400 |
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) |
||||||
|
# else |
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# if defined(_MSC_BUILD) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER) |
||||||
|
# define COMPILER_ID "ADSP" |
||||||
|
#if defined(__VERSIONNUM__) |
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) |
||||||
|
#endif |
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) |
||||||
|
# define COMPILER_ID "IAR" |
||||||
|
# if defined(__VER__) && defined(__ICCARM__) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) |
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) |
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) |
||||||
|
# endif |
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that |
||||||
|
it is the native compiler. */ |
||||||
|
#elif defined(__hpux) || defined(__hpua) |
||||||
|
# define COMPILER_ID "HP" |
||||||
|
|
||||||
|
#else /* unknown compiler */ |
||||||
|
# define COMPILER_ID "" |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array |
||||||
|
because some compilers will just produce instructions to fill the |
||||||
|
array rather than assigning a pointer to a static array. */ |
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; |
||||||
|
#ifdef SIMULATE_ID |
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __QNXNTO__ |
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) |
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X |
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X) |
||||||
|
|
||||||
|
/* Identify known platforms by name. */ |
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux) |
||||||
|
# define PLATFORM_ID "Linux" |
||||||
|
|
||||||
|
#elif defined(__MSYS__) |
||||||
|
# define PLATFORM_ID "MSYS" |
||||||
|
|
||||||
|
#elif defined(__CYGWIN__) |
||||||
|
# define PLATFORM_ID "Cygwin" |
||||||
|
|
||||||
|
#elif defined(__MINGW32__) |
||||||
|
# define PLATFORM_ID "MinGW" |
||||||
|
|
||||||
|
#elif defined(__APPLE__) |
||||||
|
# define PLATFORM_ID "Darwin" |
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) |
||||||
|
# define PLATFORM_ID "Windows" |
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD) |
||||||
|
# define PLATFORM_ID "FreeBSD" |
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD) |
||||||
|
# define PLATFORM_ID "NetBSD" |
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD) |
||||||
|
# define PLATFORM_ID "OpenBSD" |
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun) |
||||||
|
# define PLATFORM_ID "SunOS" |
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) |
||||||
|
# define PLATFORM_ID "AIX" |
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__) |
||||||
|
# define PLATFORM_ID "HP-UX" |
||||||
|
|
||||||
|
#elif defined(__HAIKU__) |
||||||
|
# define PLATFORM_ID "Haiku" |
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) |
||||||
|
# define PLATFORM_ID "BeOS" |
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__) |
||||||
|
# define PLATFORM_ID "QNX" |
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) |
||||||
|
# define PLATFORM_ID "Tru64" |
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__) |
||||||
|
# define PLATFORM_ID "RISCos" |
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) |
||||||
|
# define PLATFORM_ID "SINIX" |
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__) |
||||||
|
# define PLATFORM_ID "UNIX_SV" |
||||||
|
|
||||||
|
#elif defined(__bsdos__) |
||||||
|
# define PLATFORM_ID "BSDOS" |
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS) |
||||||
|
# define PLATFORM_ID "MP-RAS" |
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__) |
||||||
|
# define PLATFORM_ID "OSF1" |
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) |
||||||
|
# define PLATFORM_ID "SCO_SV" |
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) |
||||||
|
# define PLATFORM_ID "ULTRIX" |
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) |
||||||
|
# define PLATFORM_ID "Xenix" |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# if defined(__LINUX__) |
||||||
|
# define PLATFORM_ID "Linux" |
||||||
|
|
||||||
|
# elif defined(__DOS__) |
||||||
|
# define PLATFORM_ID "DOS" |
||||||
|
|
||||||
|
# elif defined(__OS2__) |
||||||
|
# define PLATFORM_ID "OS2" |
||||||
|
|
||||||
|
# elif defined(__WINDOWS__) |
||||||
|
# define PLATFORM_ID "Windows3x" |
||||||
|
|
||||||
|
# elif defined(__VXWORKS__) |
||||||
|
# define PLATFORM_ID "VxWorks" |
||||||
|
|
||||||
|
# else /* unknown platform */ |
||||||
|
# define PLATFORM_ID |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__INTEGRITY) |
||||||
|
# if defined(INT_178B) |
||||||
|
# define PLATFORM_ID "Integrity178" |
||||||
|
|
||||||
|
# else /* regular Integrity */ |
||||||
|
# define PLATFORM_ID "Integrity" |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER) |
||||||
|
# define PLATFORM_ID "ADSP" |
||||||
|
|
||||||
|
#else /* unknown platform */ |
||||||
|
# define PLATFORM_ID |
||||||
|
|
||||||
|
#endif |
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because |
||||||
|
the compilers do not have flags that can change the architecture, |
||||||
|
but rather depend on which compiler is being used |
||||||
|
*/ |
||||||
|
#if defined(_WIN32) && defined(_MSC_VER) |
||||||
|
# if defined(_M_IA64) |
||||||
|
# define ARCHITECTURE_ID "IA64" |
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC) |
||||||
|
# define ARCHITECTURE_ID "ARM64EC" |
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64) |
||||||
|
# define ARCHITECTURE_ID "x64" |
||||||
|
|
||||||
|
# elif defined(_M_IX86) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# elif defined(_M_ARM64) |
||||||
|
# define ARCHITECTURE_ID "ARM64" |
||||||
|
|
||||||
|
# elif defined(_M_ARM) |
||||||
|
# if _M_ARM == 4 |
||||||
|
# define ARCHITECTURE_ID "ARMV4I" |
||||||
|
# elif _M_ARM == 5 |
||||||
|
# define ARCHITECTURE_ID "ARMV5I" |
||||||
|
# else |
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(_M_MIPS) |
||||||
|
# define ARCHITECTURE_ID "MIPS" |
||||||
|
|
||||||
|
# elif defined(_M_SH) |
||||||
|
# define ARCHITECTURE_ID "SHx" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# if defined(_M_I86) |
||||||
|
# define ARCHITECTURE_ID "I86" |
||||||
|
|
||||||
|
# elif defined(_M_IX86) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) |
||||||
|
# if defined(__ICCARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__ICCRX__) |
||||||
|
# define ARCHITECTURE_ID "RX" |
||||||
|
|
||||||
|
# elif defined(__ICCRH850__) |
||||||
|
# define ARCHITECTURE_ID "RH850" |
||||||
|
|
||||||
|
# elif defined(__ICCRL78__) |
||||||
|
# define ARCHITECTURE_ID "RL78" |
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__) |
||||||
|
# define ARCHITECTURE_ID "RISCV" |
||||||
|
|
||||||
|
# elif defined(__ICCAVR__) |
||||||
|
# define ARCHITECTURE_ID "AVR" |
||||||
|
|
||||||
|
# elif defined(__ICC430__) |
||||||
|
# define ARCHITECTURE_ID "MSP430" |
||||||
|
|
||||||
|
# elif defined(__ICCV850__) |
||||||
|
# define ARCHITECTURE_ID "V850" |
||||||
|
|
||||||
|
# elif defined(__ICC8051__) |
||||||
|
# define ARCHITECTURE_ID "8051" |
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__) |
||||||
|
# define ARCHITECTURE_ID "STM8" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__ghs__) |
||||||
|
# if defined(__PPC64__) |
||||||
|
# define ARCHITECTURE_ID "PPC64" |
||||||
|
|
||||||
|
# elif defined(__ppc__) |
||||||
|
# define ARCHITECTURE_ID "PPC" |
||||||
|
|
||||||
|
# elif defined(__ARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__x86_64__) |
||||||
|
# define ARCHITECTURE_ID "x64" |
||||||
|
|
||||||
|
# elif defined(__i386__) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__) |
||||||
|
# if defined(__TI_ARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__MSP430__) |
||||||
|
# define ARCHITECTURE_ID "MSP430" |
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__) |
||||||
|
# define ARCHITECTURE_ID "TMS320C28x" |
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X) |
||||||
|
# define ARCHITECTURE_ID "TMS320C6x" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__) |
||||||
|
# define ARCHITECTURE_ID "SHARC" |
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__) |
||||||
|
# define ARCHITECTURE_ID "Blackfin" |
||||||
|
|
||||||
|
#elif defined(__TASKING__) |
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__) |
||||||
|
# define ARCHITECTURE_ID "TriCore" |
||||||
|
|
||||||
|
# elif defined(__CMCS__) |
||||||
|
# define ARCHITECTURE_ID "MCS" |
||||||
|
|
||||||
|
# elif defined(__CARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__CARC__) |
||||||
|
# define ARCHITECTURE_ID "ARC" |
||||||
|
|
||||||
|
# elif defined(__C51__) |
||||||
|
# define ARCHITECTURE_ID "8051" |
||||||
|
|
||||||
|
# elif defined(__CPCP__) |
||||||
|
# define ARCHITECTURE_ID "PCP" |
||||||
|
|
||||||
|
# else |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#else |
||||||
|
# define ARCHITECTURE_ID |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */ |
||||||
|
#define DEC(n) \ |
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10)) |
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */ |
||||||
|
#define HEX(n) \ |
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF)) |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */ |
||||||
|
#ifdef COMPILER_VERSION |
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */ |
||||||
|
#elif defined(COMPILER_VERSION_MAJOR) |
||||||
|
char const info_version[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', |
||||||
|
COMPILER_VERSION_MAJOR, |
||||||
|
# ifdef COMPILER_VERSION_MINOR |
||||||
|
'.', COMPILER_VERSION_MINOR, |
||||||
|
# ifdef COMPILER_VERSION_PATCH |
||||||
|
'.', COMPILER_VERSION_PATCH, |
||||||
|
# ifdef COMPILER_VERSION_TWEAK |
||||||
|
'.', COMPILER_VERSION_TWEAK, |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
']','\0'}; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */ |
||||||
|
#ifdef COMPILER_VERSION_INTERNAL |
||||||
|
char const info_version_internal[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', |
||||||
|
'i','n','t','e','r','n','a','l','[', |
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'}; |
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR) |
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */ |
||||||
|
#ifdef SIMULATE_VERSION_MAJOR |
||||||
|
char const info_simulate_version[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', |
||||||
|
SIMULATE_VERSION_MAJOR, |
||||||
|
# ifdef SIMULATE_VERSION_MINOR |
||||||
|
'.', SIMULATE_VERSION_MINOR, |
||||||
|
# ifdef SIMULATE_VERSION_PATCH |
||||||
|
'.', SIMULATE_VERSION_PATCH, |
||||||
|
# ifdef SIMULATE_VERSION_TWEAK |
||||||
|
'.', SIMULATE_VERSION_TWEAK, |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
']','\0'}; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array |
||||||
|
because some compilers will just produce instructions to fill the |
||||||
|
array rather than assigning a pointer to a static array. */ |
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; |
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L |
||||||
|
# if defined(__INTEL_CXX11_MODE__) |
||||||
|
# if defined(__cpp_aggregate_nsdmi) |
||||||
|
# define CXX_STD 201402L |
||||||
|
# else |
||||||
|
# define CXX_STD 201103L |
||||||
|
# endif |
||||||
|
# else |
||||||
|
# define CXX_STD 199711L |
||||||
|
# endif |
||||||
|
#elif defined(_MSC_VER) && defined(_MSVC_LANG) |
||||||
|
# define CXX_STD _MSVC_LANG |
||||||
|
#else |
||||||
|
# define CXX_STD __cplusplus |
||||||
|
#endif |
||||||
|
|
||||||
|
const char* info_language_standard_default = "INFO" ":" "standard_default[" |
||||||
|
#if CXX_STD > 202002L |
||||||
|
"23" |
||||||
|
#elif CXX_STD > 201703L |
||||||
|
"20" |
||||||
|
#elif CXX_STD >= 201703L |
||||||
|
"17" |
||||||
|
#elif CXX_STD >= 201402L |
||||||
|
"14" |
||||||
|
#elif CXX_STD >= 201103L |
||||||
|
"11" |
||||||
|
#else |
||||||
|
"98" |
||||||
|
#endif |
||||||
|
"]"; |
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default[" |
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ |
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__) |
||||||
|
"ON" |
||||||
|
#else |
||||||
|
"OFF" |
||||||
|
#endif |
||||||
|
"]"; |
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/ |
||||||
|
|
||||||
|
int main(int argc, char* argv[]) |
||||||
|
{ |
||||||
|
int require = 0; |
||||||
|
require += info_compiler[argc]; |
||||||
|
require += info_platform[argc]; |
||||||
|
require += info_arch[argc]; |
||||||
|
#ifdef COMPILER_VERSION_MAJOR |
||||||
|
require += info_version[argc]; |
||||||
|
#endif |
||||||
|
#ifdef COMPILER_VERSION_INTERNAL |
||||||
|
require += info_version_internal[argc]; |
||||||
|
#endif |
||||||
|
#ifdef SIMULATE_ID |
||||||
|
require += info_simulate[argc]; |
||||||
|
#endif |
||||||
|
#ifdef SIMULATE_VERSION_MAJOR |
||||||
|
require += info_simulate_version[argc]; |
||||||
|
#endif |
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) |
||||||
|
require += info_cray[argc]; |
||||||
|
#endif |
||||||
|
require += info_language_standard_default[argc]; |
||||||
|
require += info_language_extensions_default[argc]; |
||||||
|
(void)argv; |
||||||
|
return require; |
||||||
|
} |
||||||
Binary file not shown.
@ -0,0 +1,71 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||||
|
<ItemGroup Label="ProjectConfigurations"> |
||||||
|
<ProjectConfiguration Include="Debug|x64"> |
||||||
|
<Configuration>Debug</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
</ItemGroup> |
||||||
|
<PropertyGroup Label="Globals"> |
||||||
|
<ProjectGuid>{CAE07175-D007-4FC3-BFE8-47B392814159}</ProjectGuid> |
||||||
|
<RootNamespace>CompilerIdCXX</RootNamespace> |
||||||
|
<Keyword>Win32Proj</Keyword> |
||||||
|
|
||||||
|
|
||||||
|
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyGroup> |
||||||
|
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||||
|
<PropertyGroup> |
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||||
|
<ConfigurationType>Application</ConfigurationType> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
</PropertyGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||||
|
<ImportGroup Label="ExtensionSettings"> |
||||||
|
|
||||||
|
</ImportGroup> |
||||||
|
<PropertyGroup> |
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\</OutDir> |
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\</IntDir> |
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> |
||||||
|
</PropertyGroup> |
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
|
<ClCompile> |
||||||
|
<Optimization>Disabled</Optimization> |
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||||
|
<MinimalRebuild>false</MinimalRebuild> |
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
||||||
|
<PrecompiledHeader> |
||||||
|
</PrecompiledHeader> |
||||||
|
<WarningLevel>TurnOffAllWarnings</WarningLevel> |
||||||
|
<DebugInformationFormat> |
||||||
|
</DebugInformationFormat> |
||||||
|
</ClCompile> |
||||||
|
|
||||||
|
<Link> |
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation> |
||||||
|
<SubSystem>Console</SubSystem> |
||||||
|
|
||||||
|
</Link> |
||||||
|
<PostBuildEvent> |
||||||
|
<Command>for %%i in (cl.exe) do %40echo CMAKE_CXX_COMPILER=%%~$PATH:i</Command> |
||||||
|
</PostBuildEvent> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<ItemGroup> |
||||||
|
<ClCompile Include="CMakeCXXCompilerId.cpp" /> |
||||||
|
</ItemGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||||
|
<ImportGroup Label="ExtensionTargets"> |
||||||
|
|
||||||
|
</ImportGroup> |
||||||
|
</Project> |
||||||
Binary file not shown.
@ -0,0 +1,11 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project> |
||||||
|
<ProjectOutputs> |
||||||
|
<ProjectOutput> |
||||||
|
<FullPath>C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdCXX\CompilerIdCXX.exe</FullPath> |
||||||
|
</ProjectOutput> |
||||||
|
</ProjectOutputs> |
||||||
|
<ContentFiles /> |
||||||
|
<SatelliteDlls /> |
||||||
|
<NonRecipeFileRefs /> |
||||||
|
</Project> |
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||||||
|
C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdCXX\CMakeCXXCompilerId.cpp;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdCXX\Debug\CMakeCXXCompilerId.obj |
||||||
@ -0,0 +1,2 @@ |
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22621.0: |
||||||
|
Debug|x64|C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\CompilerIdCXX\| |
||||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||||||
|
^C:\USERS\MM930\ONEDRIVE\DOCUMENTS\HAILO\YUVINFER\CMAKEFILES\3.25.1\COMPILERIDCXX\DEBUG\CMAKECXXCOMPILERID.OBJ |
||||||
Binary file not shown.
@ -0,0 +1 @@ |
|||||||
|
C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Microsoft/VC/v170 |
||||||
@ -0,0 +1,31 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||||
|
<ItemGroup Label="ProjectConfigurations"> |
||||||
|
<ProjectConfiguration Include="Debug|x64"> |
||||||
|
<Configuration>Debug</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
</ItemGroup> |
||||||
|
<PropertyGroup Label="Globals"> |
||||||
|
<ProjectGuid>{F3FC6D86-508D-3FB1-96D2-995F08B142EC}</ProjectGuid> |
||||||
|
<Keyword>Win32Proj</Keyword> |
||||||
|
<Platform>x64</Platform> |
||||||
|
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion> |
||||||
|
</PropertyGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/> |
||||||
|
<PropertyGroup> |
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup Label="Configuration"> |
||||||
|
<ConfigurationType>Utility</ConfigurationType> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
</PropertyGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/> |
||||||
|
<ItemDefinitionGroup> |
||||||
|
<PostBuildEvent> |
||||||
|
<Command>echo VCTargetsPath=$(VCTargetsPath)</Command> |
||||||
|
</PostBuildEvent> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/> |
||||||
|
</Project> |
||||||
@ -0,0 +1,11 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project> |
||||||
|
<ProjectOutputs> |
||||||
|
<ProjectOutput> |
||||||
|
<FullPath>C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\x64\Debug\VCTargetsPath</FullPath> |
||||||
|
</ProjectOutput> |
||||||
|
</ProjectOutputs> |
||||||
|
<ContentFiles /> |
||||||
|
<SatelliteDlls /> |
||||||
|
<NonRecipeFileRefs /> |
||||||
|
</Project> |
||||||
@ -0,0 +1,2 @@ |
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22621.0: |
||||||
|
Debug|x64|C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\3.25.1\| |
||||||
@ -0,0 +1,3 @@ |
|||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/detection_app.dir |
||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/ALL_BUILD.dir |
||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/ZERO_CHECK.dir |
||||||
@ -0,0 +1 @@ |
|||||||
|
# This file is generated by cmake for dependency checking of the CMakeCache.txt file |
||||||
@ -0,0 +1 @@ |
|||||||
|
# CMake generation timestamp file for this directory. |
||||||
@ -0,0 +1,40 @@ |
|||||||
|
# CMake generation dependency list for this directory. |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeCInformation.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeCXXInformation.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeGenericSystem.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeInitializeConfigs.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeRCInformation.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeSystemSpecificInitialize.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CheckCSourceCompiles.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CheckIncludeFile.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/CheckLibraryExists.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/MSVC-C.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/MSVC-CXX.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/MSVC.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageMessage.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/FindThreads.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Internal/CheckSourceCompiles.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows-MSVC-C.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows-MSVC-CXX.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows-MSVC.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows.cmake |
||||||
|
C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/WindowsPaths.cmake |
||||||
|
C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTConfig.cmake |
||||||
|
C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTConfigVersion.cmake |
||||||
|
C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTTargets-release.cmake |
||||||
|
C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTTargets.cmake |
||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/3.25.1/CMakeCCompiler.cmake |
||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/3.25.1/CMakeCXXCompiler.cmake |
||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/3.25.1/CMakeRCCompiler.cmake |
||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/3.25.1/CMakeSystem.cmake |
||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeLists.txt |
||||||
|
C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVConfig-version.cmake |
||||||
|
C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVConfig.cmake |
||||||
|
C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVModules-debug.cmake |
||||||
|
C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVModules-release.cmake |
||||||
|
C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVModules.cmake |
||||||
@ -0,0 +1 @@ |
|||||||
|
C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/generate.stamp |
||||||
@ -0,0 +1,55 @@ |
|||||||
|
cmake_minimum_required(VERSION 3.12) |
||||||
|
project(detection_app) |
||||||
|
|
||||||
|
# C++20 |
||||||
|
set(CMAKE_CXX_STANDARD 20) |
||||||
|
set(CMAKE_CXX_STANDARD_REQUIRED ON) |
||||||
|
|
||||||
|
# Warning option |
||||||
|
set(COMPILE_OPTIONS -Wall) |
||||||
|
|
||||||
|
# Aviod 5045 Warning |
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd5045") |
||||||
|
|
||||||
|
# HailoRT Path |
||||||
|
set(CMAKE_PREFIX_PATH "C:/Program Files/HailoRT/lib/") |
||||||
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}) |
||||||
|
set(HAILORT_INCLUDE "C:/Users/mm930/Documents/hailort/hailort/libhailort/include") |
||||||
|
# set(HAILORT_LIB "C:/Users/mm930/Documents/hailort/build/hailort/libhailort/src/Release/libhailort.dll") |
||||||
|
|
||||||
|
# OpenCV Path |
||||||
|
set(OpenCV_INCLUDE_DIRS "C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/sources/include") |
||||||
|
|
||||||
|
# Search package |
||||||
|
find_package(Threads REQUIRED) |
||||||
|
find_package(HailoRT 4.19.0 REQUIRED) |
||||||
|
find_package(OpenCV REQUIRED) |
||||||
|
|
||||||
|
# include path |
||||||
|
include_directories(${OpenCV_INCLUDE_DIRS}) |
||||||
|
include_directories(${HAILORT_INCLUDE}) |
||||||
|
|
||||||
|
# print OpenCV path |
||||||
|
message(STATUS "Found OpenCV: " ${OpenCV_INCLUDE_DIRS}) |
||||||
|
|
||||||
|
file(GLOB SOURCES ./*.cpp) |
||||||
|
include_directories(${CMAKE_SOURCE_DIR}/include) |
||||||
|
add_executable(detection_app ${SOURCES} "VideoToAI.hpp" "VideoToAI.cpp") |
||||||
|
include_directories(C:/Users/mm930/OneDrive/Documents/opencv/opencv_contrib/modules/xfeatures2d/include) |
||||||
|
|
||||||
|
# Set compile option |
||||||
|
target_compile_options(detection_app PRIVATE ${COMPILE_OPTIONS}) |
||||||
|
|
||||||
|
# Library |
||||||
|
target_link_libraries(detection_app |
||||||
|
HailoRT::libhailort |
||||||
|
${HAILORT_LIB} |
||||||
|
${CMAKE_THREAD_LIBS_INIT} |
||||||
|
${OpenCV_LIBRARIES} |
||||||
|
) |
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") |
||||||
|
add_compile_options(/W0) |
||||||
|
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang") |
||||||
|
add_compile_options(-w) |
||||||
|
endif() |
||||||
|
|
||||||
@ -0,0 +1,15 @@ |
|||||||
|
{ |
||||||
|
"configurations": [ |
||||||
|
{ |
||||||
|
"name": "x64-Debug", |
||||||
|
"generator": "Ninja", |
||||||
|
"configurationType": "Debug", |
||||||
|
"inheritEnvironments": [ "msvc_x64_x64" ], |
||||||
|
"buildRoot": "${projectDir}\\out\\build\\${name}", |
||||||
|
"installRoot": "${projectDir}\\out\\install\\${name}", |
||||||
|
"cmakeCommandArgs": "", |
||||||
|
"buildCommandArgs": "", |
||||||
|
"ctestCommandArgs": "" |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
@ -0,0 +1,661 @@ |
|||||||
|
GNU AFFERO GENERAL PUBLIC LICENSE |
||||||
|
Version 3, 19 November 2007 |
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> |
||||||
|
Everyone is permitted to copy and distribute verbatim copies |
||||||
|
of this license document, but changing it is not allowed. |
||||||
|
|
||||||
|
Preamble |
||||||
|
|
||||||
|
The GNU Affero General Public License is a free, copyleft license for |
||||||
|
software and other kinds of works, specifically designed to ensure |
||||||
|
cooperation with the community in the case of network server software. |
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed |
||||||
|
to take away your freedom to share and change the works. By contrast, |
||||||
|
our General Public Licenses are intended to guarantee your freedom to |
||||||
|
share and change all versions of a program--to make sure it remains free |
||||||
|
software for all its users. |
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not |
||||||
|
price. Our General Public Licenses are designed to make sure that you |
||||||
|
have the freedom to distribute copies of free software (and charge for |
||||||
|
them if you wish), that you receive source code or can get it if you |
||||||
|
want it, that you can change the software or use pieces of it in new |
||||||
|
free programs, and that you know you can do these things. |
||||||
|
|
||||||
|
Developers that use our General Public Licenses protect your rights |
||||||
|
with two steps: (1) assert copyright on the software, and (2) offer |
||||||
|
you this License which gives you legal permission to copy, distribute |
||||||
|
and/or modify the software. |
||||||
|
|
||||||
|
A secondary benefit of defending all users' freedom is that |
||||||
|
improvements made in alternate versions of the program, if they |
||||||
|
receive widespread use, become available for other developers to |
||||||
|
incorporate. Many developers of free software are heartened and |
||||||
|
encouraged by the resulting cooperation. However, in the case of |
||||||
|
software used on network servers, this result may fail to come about. |
||||||
|
The GNU General Public License permits making a modified version and |
||||||
|
letting the public access it on a server without ever releasing its |
||||||
|
source code to the public. |
||||||
|
|
||||||
|
The GNU Affero General Public License is designed specifically to |
||||||
|
ensure that, in such cases, the modified source code becomes available |
||||||
|
to the community. It requires the operator of a network server to |
||||||
|
provide the source code of the modified version running there to the |
||||||
|
users of that server. Therefore, public use of a modified version, on |
||||||
|
a publicly accessible server, gives the public access to the source |
||||||
|
code of the modified version. |
||||||
|
|
||||||
|
An older license, called the Affero General Public License and |
||||||
|
published by Affero, was designed to accomplish similar goals. This is |
||||||
|
a different license, not a version of the Affero GPL, but Affero has |
||||||
|
released a new version of the Affero GPL which permits relicensing under |
||||||
|
this license. |
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and |
||||||
|
modification follow. |
||||||
|
|
||||||
|
TERMS AND CONDITIONS |
||||||
|
|
||||||
|
0. Definitions. |
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU Affero General Public License. |
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of |
||||||
|
works, such as semiconductor masks. |
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this |
||||||
|
License. Each licensee is addressed as "you". "Licensees" and |
||||||
|
"recipients" may be individuals or organizations. |
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work |
||||||
|
in a fashion requiring copyright permission, other than the making of an |
||||||
|
exact copy. The resulting work is called a "modified version" of the |
||||||
|
earlier work or a work "based on" the earlier work. |
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based |
||||||
|
on the Program. |
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without |
||||||
|
permission, would make you directly or secondarily liable for |
||||||
|
infringement under applicable copyright law, except executing it on a |
||||||
|
computer or modifying a private copy. Propagation includes copying, |
||||||
|
distribution (with or without modification), making available to the |
||||||
|
public, and in some countries other activities as well. |
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other |
||||||
|
parties to make or receive copies. Mere interaction with a user through |
||||||
|
a computer network, with no transfer of a copy, is not conveying. |
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices" |
||||||
|
to the extent that it includes a convenient and prominently visible |
||||||
|
feature that (1) displays an appropriate copyright notice, and (2) |
||||||
|
tells the user that there is no warranty for the work (except to the |
||||||
|
extent that warranties are provided), that licensees may convey the |
||||||
|
work under this License, and how to view a copy of this License. If |
||||||
|
the interface presents a list of user commands or options, such as a |
||||||
|
menu, a prominent item in the list meets this criterion. |
||||||
|
|
||||||
|
1. Source Code. |
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work |
||||||
|
for making modifications to it. "Object code" means any non-source |
||||||
|
form of a work. |
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official |
||||||
|
standard defined by a recognized standards body, or, in the case of |
||||||
|
interfaces specified for a particular programming language, one that |
||||||
|
is widely used among developers working in that language. |
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other |
||||||
|
than the work as a whole, that (a) is included in the normal form of |
||||||
|
packaging a Major Component, but which is not part of that Major |
||||||
|
Component, and (b) serves only to enable use of the work with that |
||||||
|
Major Component, or to implement a Standard Interface for which an |
||||||
|
implementation is available to the public in source code form. A |
||||||
|
"Major Component", in this context, means a major essential component |
||||||
|
(kernel, window system, and so on) of the specific operating system |
||||||
|
(if any) on which the executable work runs, or a compiler used to |
||||||
|
produce the work, or an object code interpreter used to run it. |
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all |
||||||
|
the source code needed to generate, install, and (for an executable |
||||||
|
work) run the object code and to modify the work, including scripts to |
||||||
|
control those activities. However, it does not include the work's |
||||||
|
System Libraries, or general-purpose tools or generally available free |
||||||
|
programs which are used unmodified in performing those activities but |
||||||
|
which are not part of the work. For example, Corresponding Source |
||||||
|
includes interface definition files associated with source files for |
||||||
|
the work, and the source code for shared libraries and dynamically |
||||||
|
linked subprograms that the work is specifically designed to require, |
||||||
|
such as by intimate data communication or control flow between those |
||||||
|
subprograms and other parts of the work. |
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users |
||||||
|
can regenerate automatically from other parts of the Corresponding |
||||||
|
Source. |
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that |
||||||
|
same work. |
||||||
|
|
||||||
|
2. Basic Permissions. |
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of |
||||||
|
copyright on the Program, and are irrevocable provided the stated |
||||||
|
conditions are met. This License explicitly affirms your unlimited |
||||||
|
permission to run the unmodified Program. The output from running a |
||||||
|
covered work is covered by this License only if the output, given its |
||||||
|
content, constitutes a covered work. This License acknowledges your |
||||||
|
rights of fair use or other equivalent, as provided by copyright law. |
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not |
||||||
|
convey, without conditions so long as your license otherwise remains |
||||||
|
in force. You may convey covered works to others for the sole purpose |
||||||
|
of having them make modifications exclusively for you, or provide you |
||||||
|
with facilities for running those works, provided that you comply with |
||||||
|
the terms of this License in conveying all material for which you do |
||||||
|
not control copyright. Those thus making or running the covered works |
||||||
|
for you must do so exclusively on your behalf, under your direction |
||||||
|
and control, on terms that prohibit them from making any copies of |
||||||
|
your copyrighted material outside their relationship with you. |
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under |
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10 |
||||||
|
makes it unnecessary. |
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law. |
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological |
||||||
|
measure under any applicable law fulfilling obligations under article |
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or |
||||||
|
similar laws prohibiting or restricting circumvention of such |
||||||
|
measures. |
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid |
||||||
|
circumvention of technological measures to the extent such circumvention |
||||||
|
is effected by exercising rights under this License with respect to |
||||||
|
the covered work, and you disclaim any intention to limit operation or |
||||||
|
modification of the work as a means of enforcing, against the work's |
||||||
|
users, your or third parties' legal rights to forbid circumvention of |
||||||
|
technological measures. |
||||||
|
|
||||||
|
4. Conveying Verbatim Copies. |
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you |
||||||
|
receive it, in any medium, provided that you conspicuously and |
||||||
|
appropriately publish on each copy an appropriate copyright notice; |
||||||
|
keep intact all notices stating that this License and any |
||||||
|
non-permissive terms added in accord with section 7 apply to the code; |
||||||
|
keep intact all notices of the absence of any warranty; and give all |
||||||
|
recipients a copy of this License along with the Program. |
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey, |
||||||
|
and you may offer support or warranty protection for a fee. |
||||||
|
|
||||||
|
5. Conveying Modified Source Versions. |
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to |
||||||
|
produce it from the Program, in the form of source code under the |
||||||
|
terms of section 4, provided that you also meet all of these conditions: |
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified |
||||||
|
it, and giving a relevant date. |
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is |
||||||
|
released under this License and any conditions added under section |
||||||
|
7. This requirement modifies the requirement in section 4 to |
||||||
|
"keep intact all notices". |
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this |
||||||
|
License to anyone who comes into possession of a copy. This |
||||||
|
License will therefore apply, along with any applicable section 7 |
||||||
|
additional terms, to the whole of the work, and all its parts, |
||||||
|
regardless of how they are packaged. This License gives no |
||||||
|
permission to license the work in any other way, but it does not |
||||||
|
invalidate such permission if you have separately received it. |
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display |
||||||
|
Appropriate Legal Notices; however, if the Program has interactive |
||||||
|
interfaces that do not display Appropriate Legal Notices, your |
||||||
|
work need not make them do so. |
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent |
||||||
|
works, which are not by their nature extensions of the covered work, |
||||||
|
and which are not combined with it such as to form a larger program, |
||||||
|
in or on a volume of a storage or distribution medium, is called an |
||||||
|
"aggregate" if the compilation and its resulting copyright are not |
||||||
|
used to limit the access or legal rights of the compilation's users |
||||||
|
beyond what the individual works permit. Inclusion of a covered work |
||||||
|
in an aggregate does not cause this License to apply to the other |
||||||
|
parts of the aggregate. |
||||||
|
|
||||||
|
6. Conveying Non-Source Forms. |
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms |
||||||
|
of sections 4 and 5, provided that you also convey the |
||||||
|
machine-readable Corresponding Source under the terms of this License, |
||||||
|
in one of these ways: |
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product |
||||||
|
(including a physical distribution medium), accompanied by the |
||||||
|
Corresponding Source fixed on a durable physical medium |
||||||
|
customarily used for software interchange. |
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product |
||||||
|
(including a physical distribution medium), accompanied by a |
||||||
|
written offer, valid for at least three years and valid for as |
||||||
|
long as you offer spare parts or customer support for that product |
||||||
|
model, to give anyone who possesses the object code either (1) a |
||||||
|
copy of the Corresponding Source for all the software in the |
||||||
|
product that is covered by this License, on a durable physical |
||||||
|
medium customarily used for software interchange, for a price no |
||||||
|
more than your reasonable cost of physically performing this |
||||||
|
conveying of source, or (2) access to copy the |
||||||
|
Corresponding Source from a network server at no charge. |
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the |
||||||
|
written offer to provide the Corresponding Source. This |
||||||
|
alternative is allowed only occasionally and noncommercially, and |
||||||
|
only if you received the object code with such an offer, in accord |
||||||
|
with subsection 6b. |
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated |
||||||
|
place (gratis or for a charge), and offer equivalent access to the |
||||||
|
Corresponding Source in the same way through the same place at no |
||||||
|
further charge. You need not require recipients to copy the |
||||||
|
Corresponding Source along with the object code. If the place to |
||||||
|
copy the object code is a network server, the Corresponding Source |
||||||
|
may be on a different server (operated by you or a third party) |
||||||
|
that supports equivalent copying facilities, provided you maintain |
||||||
|
clear directions next to the object code saying where to find the |
||||||
|
Corresponding Source. Regardless of what server hosts the |
||||||
|
Corresponding Source, you remain obligated to ensure that it is |
||||||
|
available for as long as needed to satisfy these requirements. |
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided |
||||||
|
you inform other peers where the object code and Corresponding |
||||||
|
Source of the work are being offered to the general public at no |
||||||
|
charge under subsection 6d. |
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded |
||||||
|
from the Corresponding Source as a System Library, need not be |
||||||
|
included in conveying the object code work. |
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any |
||||||
|
tangible personal property which is normally used for personal, family, |
||||||
|
or household purposes, or (2) anything designed or sold for incorporation |
||||||
|
into a dwelling. In determining whether a product is a consumer product, |
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular |
||||||
|
product received by a particular user, "normally used" refers to a |
||||||
|
typical or common use of that class of product, regardless of the status |
||||||
|
of the particular user or of the way in which the particular user |
||||||
|
actually uses, or expects or is expected to use, the product. A product |
||||||
|
is a consumer product regardless of whether the product has substantial |
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent |
||||||
|
the only significant mode of use of the product. |
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods, |
||||||
|
procedures, authorization keys, or other information required to install |
||||||
|
and execute modified versions of a covered work in that User Product from |
||||||
|
a modified version of its Corresponding Source. The information must |
||||||
|
suffice to ensure that the continued functioning of the modified object |
||||||
|
code is in no case prevented or interfered with solely because |
||||||
|
modification has been made. |
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or |
||||||
|
specifically for use in, a User Product, and the conveying occurs as |
||||||
|
part of a transaction in which the right of possession and use of the |
||||||
|
User Product is transferred to the recipient in perpetuity or for a |
||||||
|
fixed term (regardless of how the transaction is characterized), the |
||||||
|
Corresponding Source conveyed under this section must be accompanied |
||||||
|
by the Installation Information. But this requirement does not apply |
||||||
|
if neither you nor any third party retains the ability to install |
||||||
|
modified object code on the User Product (for example, the work has |
||||||
|
been installed in ROM). |
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a |
||||||
|
requirement to continue to provide support service, warranty, or updates |
||||||
|
for a work that has been modified or installed by the recipient, or for |
||||||
|
the User Product in which it has been modified or installed. Access to a |
||||||
|
network may be denied when the modification itself materially and |
||||||
|
adversely affects the operation of the network or violates the rules and |
||||||
|
protocols for communication across the network. |
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided, |
||||||
|
in accord with this section must be in a format that is publicly |
||||||
|
documented (and with an implementation available to the public in |
||||||
|
source code form), and must require no special password or key for |
||||||
|
unpacking, reading or copying. |
||||||
|
|
||||||
|
7. Additional Terms. |
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this |
||||||
|
License by making exceptions from one or more of its conditions. |
||||||
|
Additional permissions that are applicable to the entire Program shall |
||||||
|
be treated as though they were included in this License, to the extent |
||||||
|
that they are valid under applicable law. If additional permissions |
||||||
|
apply only to part of the Program, that part may be used separately |
||||||
|
under those permissions, but the entire Program remains governed by |
||||||
|
this License without regard to the additional permissions. |
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option |
||||||
|
remove any additional permissions from that copy, or from any part of |
||||||
|
it. (Additional permissions may be written to require their own |
||||||
|
removal in certain cases when you modify the work.) You may place |
||||||
|
additional permissions on material, added by you to a covered work, |
||||||
|
for which you have or can give appropriate copyright permission. |
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you |
||||||
|
add to a covered work, you may (if authorized by the copyright holders of |
||||||
|
that material) supplement the terms of this License with terms: |
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the |
||||||
|
terms of sections 15 and 16 of this License; or |
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or |
||||||
|
author attributions in that material or in the Appropriate Legal |
||||||
|
Notices displayed by works containing it; or |
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or |
||||||
|
requiring that modified versions of such material be marked in |
||||||
|
reasonable ways as different from the original version; or |
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or |
||||||
|
authors of the material; or |
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some |
||||||
|
trade names, trademarks, or service marks; or |
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that |
||||||
|
material by anyone who conveys the material (or modified versions of |
||||||
|
it) with contractual assumptions of liability to the recipient, for |
||||||
|
any liability that these contractual assumptions directly impose on |
||||||
|
those licensors and authors. |
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further |
||||||
|
restrictions" within the meaning of section 10. If the Program as you |
||||||
|
received it, or any part of it, contains a notice stating that it is |
||||||
|
governed by this License along with a term that is a further |
||||||
|
restriction, you may remove that term. If a license document contains |
||||||
|
a further restriction but permits relicensing or conveying under this |
||||||
|
License, you may add to a covered work material governed by the terms |
||||||
|
of that license document, provided that the further restriction does |
||||||
|
not survive such relicensing or conveying. |
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you |
||||||
|
must place, in the relevant source files, a statement of the |
||||||
|
additional terms that apply to those files, or a notice indicating |
||||||
|
where to find the applicable terms. |
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the |
||||||
|
form of a separately written license, or stated as exceptions; |
||||||
|
the above requirements apply either way. |
||||||
|
|
||||||
|
8. Termination. |
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly |
||||||
|
provided under this License. Any attempt otherwise to propagate or |
||||||
|
modify it is void, and will automatically terminate your rights under |
||||||
|
this License (including any patent licenses granted under the third |
||||||
|
paragraph of section 11). |
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your |
||||||
|
license from a particular copyright holder is reinstated (a) |
||||||
|
provisionally, unless and until the copyright holder explicitly and |
||||||
|
finally terminates your license, and (b) permanently, if the copyright |
||||||
|
holder fails to notify you of the violation by some reasonable means |
||||||
|
prior to 60 days after the cessation. |
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is |
||||||
|
reinstated permanently if the copyright holder notifies you of the |
||||||
|
violation by some reasonable means, this is the first time you have |
||||||
|
received notice of violation of this License (for any work) from that |
||||||
|
copyright holder, and you cure the violation prior to 30 days after |
||||||
|
your receipt of the notice. |
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the |
||||||
|
licenses of parties who have received copies or rights from you under |
||||||
|
this License. If your rights have been terminated and not permanently |
||||||
|
reinstated, you do not qualify to receive new licenses for the same |
||||||
|
material under section 10. |
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies. |
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or |
||||||
|
run a copy of the Program. Ancillary propagation of a covered work |
||||||
|
occurring solely as a consequence of using peer-to-peer transmission |
||||||
|
to receive a copy likewise does not require acceptance. However, |
||||||
|
nothing other than this License grants you permission to propagate or |
||||||
|
modify any covered work. These actions infringe copyright if you do |
||||||
|
not accept this License. Therefore, by modifying or propagating a |
||||||
|
covered work, you indicate your acceptance of this License to do so. |
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients. |
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically |
||||||
|
receives a license from the original licensors, to run, modify and |
||||||
|
propagate that work, subject to this License. You are not responsible |
||||||
|
for enforcing compliance by third parties with this License. |
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an |
||||||
|
organization, or substantially all assets of one, or subdividing an |
||||||
|
organization, or merging organizations. If propagation of a covered |
||||||
|
work results from an entity transaction, each party to that |
||||||
|
transaction who receives a copy of the work also receives whatever |
||||||
|
licenses to the work the party's predecessor in interest had or could |
||||||
|
give under the previous paragraph, plus a right to possession of the |
||||||
|
Corresponding Source of the work from the predecessor in interest, if |
||||||
|
the predecessor has it or can get it with reasonable efforts. |
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the |
||||||
|
rights granted or affirmed under this License. For example, you may |
||||||
|
not impose a license fee, royalty, or other charge for exercise of |
||||||
|
rights granted under this License, and you may not initiate litigation |
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that |
||||||
|
any patent claim is infringed by making, using, selling, offering for |
||||||
|
sale, or importing the Program or any portion of it. |
||||||
|
|
||||||
|
11. Patents. |
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this |
||||||
|
License of the Program or a work on which the Program is based. The |
||||||
|
work thus licensed is called the contributor's "contributor version". |
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims |
||||||
|
owned or controlled by the contributor, whether already acquired or |
||||||
|
hereafter acquired, that would be infringed by some manner, permitted |
||||||
|
by this License, of making, using, or selling its contributor version, |
||||||
|
but do not include claims that would be infringed only as a |
||||||
|
consequence of further modification of the contributor version. For |
||||||
|
purposes of this definition, "control" includes the right to grant |
||||||
|
patent sublicenses in a manner consistent with the requirements of |
||||||
|
this License. |
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free |
||||||
|
patent license under the contributor's essential patent claims, to |
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and |
||||||
|
propagate the contents of its contributor version. |
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express |
||||||
|
agreement or commitment, however denominated, not to enforce a patent |
||||||
|
(such as an express permission to practice a patent or covenant not to |
||||||
|
sue for patent infringement). To "grant" such a patent license to a |
||||||
|
party means to make such an agreement or commitment not to enforce a |
||||||
|
patent against the party. |
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license, |
||||||
|
and the Corresponding Source of the work is not available for anyone |
||||||
|
to copy, free of charge and under the terms of this License, through a |
||||||
|
publicly available network server or other readily accessible means, |
||||||
|
then you must either (1) cause the Corresponding Source to be so |
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the |
||||||
|
patent license for this particular work, or (3) arrange, in a manner |
||||||
|
consistent with the requirements of this License, to extend the patent |
||||||
|
license to downstream recipients. "Knowingly relying" means you have |
||||||
|
actual knowledge that, but for the patent license, your conveying the |
||||||
|
covered work in a country, or your recipient's use of the covered work |
||||||
|
in a country, would infringe one or more identifiable patents in that |
||||||
|
country that you have reason to believe are valid. |
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or |
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a |
||||||
|
covered work, and grant a patent license to some of the parties |
||||||
|
receiving the covered work authorizing them to use, propagate, modify |
||||||
|
or convey a specific copy of the covered work, then the patent license |
||||||
|
you grant is automatically extended to all recipients of the covered |
||||||
|
work and works based on it. |
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within |
||||||
|
the scope of its coverage, prohibits the exercise of, or is |
||||||
|
conditioned on the non-exercise of one or more of the rights that are |
||||||
|
specifically granted under this License. You may not convey a covered |
||||||
|
work if you are a party to an arrangement with a third party that is |
||||||
|
in the business of distributing software, under which you make payment |
||||||
|
to the third party based on the extent of your activity of conveying |
||||||
|
the work, and under which the third party grants, to any of the |
||||||
|
parties who would receive the covered work from you, a discriminatory |
||||||
|
patent license (a) in connection with copies of the covered work |
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily |
||||||
|
for and in connection with specific products or compilations that |
||||||
|
contain the covered work, unless you entered into that arrangement, |
||||||
|
or that patent license was granted, prior to 28 March 2007. |
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting |
||||||
|
any implied license or other defenses to infringement that may |
||||||
|
otherwise be available to you under applicable patent law. |
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom. |
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or |
||||||
|
otherwise) that contradict the conditions of this License, they do not |
||||||
|
excuse you from the conditions of this License. If you cannot convey a |
||||||
|
covered work so as to satisfy simultaneously your obligations under this |
||||||
|
License and any other pertinent obligations, then as a consequence you may |
||||||
|
not convey it at all. For example, if you agree to terms that obligate you |
||||||
|
to collect a royalty for further conveying from those to whom you convey |
||||||
|
the Program, the only way you could satisfy both those terms and this |
||||||
|
License would be to refrain entirely from conveying the Program. |
||||||
|
|
||||||
|
13. Remote Network Interaction; Use with the GNU General Public License. |
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, if you modify the |
||||||
|
Program, your modified version must prominently offer all users |
||||||
|
interacting with it remotely through a computer network (if your version |
||||||
|
supports such interaction) an opportunity to receive the Corresponding |
||||||
|
Source of your version by providing access to the Corresponding Source |
||||||
|
from a network server at no charge, through some standard or customary |
||||||
|
means of facilitating copying of software. This Corresponding Source |
||||||
|
shall include the Corresponding Source for any work covered by version 3 |
||||||
|
of the GNU General Public License that is incorporated pursuant to the |
||||||
|
following paragraph. |
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have |
||||||
|
permission to link or combine any covered work with a work licensed |
||||||
|
under version 3 of the GNU General Public License into a single |
||||||
|
combined work, and to convey the resulting work. The terms of this |
||||||
|
License will continue to apply to the part which is the covered work, |
||||||
|
but the work with which it is combined will remain governed by version |
||||||
|
3 of the GNU General Public License. |
||||||
|
|
||||||
|
14. Revised Versions of this License. |
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of |
||||||
|
the GNU Affero General Public License from time to time. Such new versions |
||||||
|
will be similar in spirit to the present version, but may differ in detail to |
||||||
|
address new problems or concerns. |
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the |
||||||
|
Program specifies that a certain numbered version of the GNU Affero General |
||||||
|
Public License "or any later version" applies to it, you have the |
||||||
|
option of following the terms and conditions either of that numbered |
||||||
|
version or of any later version published by the Free Software |
||||||
|
Foundation. If the Program does not specify a version number of the |
||||||
|
GNU Affero General Public License, you may choose any version ever published |
||||||
|
by the Free Software Foundation. |
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future |
||||||
|
versions of the GNU Affero General Public License can be used, that proxy's |
||||||
|
public statement of acceptance of a version permanently authorizes you |
||||||
|
to choose that version for the Program. |
||||||
|
|
||||||
|
Later license versions may give you additional or different |
||||||
|
permissions. However, no additional obligations are imposed on any |
||||||
|
author or copyright holder as a result of your choosing to follow a |
||||||
|
later version. |
||||||
|
|
||||||
|
15. Disclaimer of Warranty. |
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY |
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT |
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY |
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, |
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM |
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF |
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
||||||
|
|
||||||
|
16. Limitation of Liability. |
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS |
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY |
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE |
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF |
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD |
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), |
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF |
||||||
|
SUCH DAMAGES. |
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16. |
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided |
||||||
|
above cannot be given local legal effect according to their terms, |
||||||
|
reviewing courts shall apply local law that most closely approximates |
||||||
|
an absolute waiver of all civil liability in connection with the |
||||||
|
Program, unless a warranty or assumption of liability accompanies a |
||||||
|
copy of the Program in return for a fee. |
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS |
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs |
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest |
||||||
|
possible use to the public, the best way to achieve this is to make it |
||||||
|
free software which everyone can redistribute and change under these terms. |
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest |
||||||
|
to attach them to the start of each source file to most effectively |
||||||
|
state the exclusion of warranty; and each file should have at least |
||||||
|
the "copyright" line and a pointer to where the full notice is found. |
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.> |
||||||
|
Copyright (C) <year> <name of author> |
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify |
||||||
|
it under the terms of the GNU Affero General Public License as published by |
||||||
|
the Free Software Foundation, either version 3 of the License, or |
||||||
|
(at your option) any later version. |
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, |
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||||
|
GNU Affero General Public License for more details. |
||||||
|
|
||||||
|
You should have received a copy of the GNU Affero General Public License |
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>. |
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail. |
||||||
|
|
||||||
|
If your software can interact with users remotely through a computer |
||||||
|
network, you should also make sure that it provides a way for users to |
||||||
|
get its source. For example, if your program is a web application, its |
||||||
|
interface could display a "Source" link that leads users to an archive |
||||||
|
of the code. There are many ways you could offer source, and different |
||||||
|
solutions will be better for different programs; see section 13 for the |
||||||
|
specific requirements. |
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school, |
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary. |
||||||
|
For more information on this, and how to apply and follow the GNU AGPL, see |
||||||
|
<https://www.gnu.org/licenses/>. |
||||||
@ -0,0 +1,219 @@ |
|||||||
|
#include "VideoToAI.hpp" |
||||||
|
#include "hailo/hailort_common.hpp" |
||||||
|
|
||||||
|
namespace VideoToAI |
||||||
|
{ |
||||||
|
// Platform-specific memory allocation
|
||||||
|
std::shared_ptr<uint8_t> page_aligned_alloc(size_t size) |
||||||
|
{ |
||||||
|
#if defined(__unix__) |
||||||
|
std::cout << "[DEBUG] Attempting to allocate " << size << " bytes using mmap." << std::endl; |
||||||
|
auto addr = mmap(NULL, size, PROT_WRITE | PROT_READ, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); |
||||||
|
if (MAP_FAILED == addr) { |
||||||
|
std::cerr << "[ERROR] mmap failed to allocate memory. Requested size: " << size << " bytes." << std::endl; |
||||||
|
throw std::bad_alloc(); |
||||||
|
} |
||||||
|
return std::shared_ptr<uint8_t>(reinterpret_cast<uint8_t*>(addr), [size](void* addr) { munmap(addr, size); }); |
||||||
|
|
||||||
|
#elif defined(_MSC_VER) |
||||||
|
std::cout << "[DEBUG] Attempting to allocate " << size << " bytes using VirtualAlloc." << std::endl; |
||||||
|
auto addr = VirtualAlloc(NULL, size, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE); |
||||||
|
if (!addr) { |
||||||
|
std::cerr << "[ERROR] VirtualAlloc failed to allocate memory. Requested size: " << size << " bytes." << std::endl; |
||||||
|
throw std::bad_alloc(); |
||||||
|
} |
||||||
|
return std::shared_ptr<uint8_t>(reinterpret_cast<uint8_t*>(addr), [](void* addr) { VirtualFree(addr, 0, MEM_RELEASE); }); |
||||||
|
|
||||||
|
#else |
||||||
|
#pragma error("Aligned alloc not supported") |
||||||
|
#endif |
||||||
|
} |
||||||
|
|
||||||
|
// Resize and pad the image to fit the new shape
|
||||||
|
void letterbox(const cv::Mat& image, cv::Mat& outImage, |
||||||
|
const cv::Size& newShape, const cv::Scalar& color, bool scaleUp) |
||||||
|
{ |
||||||
|
cv::Size shape = image.size(); |
||||||
|
|
||||||
|
float r = std::min((float)newShape.height / (float)shape.height, |
||||||
|
(float)newShape.width / (float)shape.width); |
||||||
|
if (!scaleUp) |
||||||
|
r = std::min(r, 1.0f); |
||||||
|
|
||||||
|
int newWidth = (int)std::round((float)shape.width * r); |
||||||
|
int newHeight = (int)std::round((float)shape.height * r); |
||||||
|
|
||||||
|
auto dw = newShape.width - newWidth; |
||||||
|
auto dh = newShape.height - newHeight; |
||||||
|
|
||||||
|
dw /= 2; |
||||||
|
dh /= 2; |
||||||
|
|
||||||
|
cv::resize(image, outImage, cv::Size(newWidth, newHeight), 0, 0, cv::INTER_LINEAR); |
||||||
|
cv::copyMakeBorder(outImage, outImage, int(std::round(dh)), int(std::round(dh)), |
||||||
|
int(std::round(dw)), int(std::round(dw)), cv::BORDER_CONSTANT, color); |
||||||
|
} |
||||||
|
|
||||||
|
// Map class IDs to names
|
||||||
|
std::string get_coco_name_from_int(int cls) |
||||||
|
{ |
||||||
|
static const std::vector<std::string> cocoNames = { |
||||||
|
"__background__", "person", "bicycle", "car", "motorcycle", "airplane", "bus", "train", "truck", "boat", |
||||||
|
"traffic light", "fire hydrant", "stop sign", "parking meter", "bench", "bird", "cat", "dog", "horse", |
||||||
|
"sheep", "cow", "elephant", "bear", "zebra", "giraffe", "backpack", "umbrella", "handbag", "tie", |
||||||
|
"suitcase", "frisbee", "skis", "snowboard", "sports ball", "kite", "baseball bat", "baseball glove", |
||||||
|
"skateboard", "surfboard", "tennis racket", "bottle", "wine glass", "cup", "fork", "knife", "spoon", |
||||||
|
"bowl", "banana", "apple", "sandwich", "orange", "broccoli", "carrot", "hot dog", "pizza", "donut", "cake", |
||||||
|
"chair", "couch", "potted plant", "bed", "dining table", "toilet", "tv", "laptop", "mouse", "remote", |
||||||
|
"keyboard", "cell phone", "microwave", "oven", "toaster", "sink", "refrigerator", "book", "clock", "vase", |
||||||
|
"scissors", "teddy bear", "hair drier", "toothbrush" |
||||||
|
}; |
||||||
|
|
||||||
|
if (cls >= 0 && cls < cocoNames.size()) { |
||||||
|
return cocoNames[cls]; |
||||||
|
} |
||||||
|
return "Unknown"; |
||||||
|
} |
||||||
|
|
||||||
|
// Perform inference on Y and UV planes
|
||||||
|
void hailoInference(cv::Mat& yPlane, cv::Mat& uvPlane, ConfiguredInferModel& configured_infer_model, std::shared_ptr<InferModel>& infer_model, VDevice* vdevice, std::vector<DetectionResult>& detection_results) { |
||||||
|
try { |
||||||
|
std::cout << "[INFO] Starting Hailo inference." << std::endl; |
||||||
|
|
||||||
|
std::vector<std::shared_ptr<uint8_t>> buffer_guards; |
||||||
|
std::vector<DmaMappedBuffer> buffer_map_guards; |
||||||
|
|
||||||
|
size_t input_frame_size = yPlane.total() + uvPlane.total(); |
||||||
|
const auto Y_PLANE_SIZE = static_cast<uint32_t>(input_frame_size * 2 / 3); |
||||||
|
const auto UV_PLANE_SIZE = static_cast<uint32_t>(input_frame_size * 1 / 3); |
||||||
|
|
||||||
|
// Allocate and map Y-plane buffer
|
||||||
|
auto y_plane_buffer = page_aligned_alloc(Y_PLANE_SIZE); |
||||||
|
memcpy(y_plane_buffer.get(), yPlane.data, Y_PLANE_SIZE); |
||||||
|
auto input_mapping_y = DmaMappedBuffer::create(*vdevice, y_plane_buffer.get(), Y_PLANE_SIZE, HAILO_DMA_BUFFER_DIRECTION_H2D).expect("Failed to map Y-plane buffer"); |
||||||
|
buffer_guards.push_back(y_plane_buffer); |
||||||
|
|
||||||
|
// Allocate and map UV-plane buffer
|
||||||
|
auto uv_plane_buffer = page_aligned_alloc(UV_PLANE_SIZE); |
||||||
|
memcpy(uv_plane_buffer.get(), uvPlane.data, UV_PLANE_SIZE); |
||||||
|
auto input_mapping_uv = DmaMappedBuffer::create(*vdevice, uv_plane_buffer.get(), UV_PLANE_SIZE, HAILO_DMA_BUFFER_DIRECTION_H2D).expect("Failed to map UV-plane buffer"); |
||||||
|
buffer_guards.push_back(uv_plane_buffer); |
||||||
|
|
||||||
|
// Configure input and output buffers
|
||||||
|
hailo_pix_buffer_t pix_buffer{}; |
||||||
|
pix_buffer.memory_type = HAILO_PIX_BUFFER_MEMORY_TYPE_USERPTR; |
||||||
|
pix_buffer.number_of_planes = 2; |
||||||
|
pix_buffer.planes[0].bytes_used = Y_PLANE_SIZE; |
||||||
|
pix_buffer.planes[0].plane_size = Y_PLANE_SIZE; |
||||||
|
pix_buffer.planes[0].user_ptr = reinterpret_cast<void*>(y_plane_buffer.get()); |
||||||
|
pix_buffer.planes[1].bytes_used = UV_PLANE_SIZE; |
||||||
|
pix_buffer.planes[1].plane_size = UV_PLANE_SIZE; |
||||||
|
pix_buffer.planes[1].user_ptr = reinterpret_cast<void*>(uv_plane_buffer.get()); |
||||||
|
|
||||||
|
auto bindings = configured_infer_model.create_bindings().expect("Failed to create infer bindings"); |
||||||
|
auto input_name = infer_model->get_input_names().at(0); |
||||||
|
auto input_status = bindings.input(input_name)->set_pix_buffer(pix_buffer); |
||||||
|
if (HAILO_SUCCESS != input_status) { |
||||||
|
throw hailort_error(input_status, "Failed to set infer input buffer"); |
||||||
|
} |
||||||
|
|
||||||
|
// Allocate output buffer
|
||||||
|
auto output_name = infer_model->get_output_names().at(0); |
||||||
|
size_t output_frame_size = infer_model->output(output_name)->get_frame_size(); |
||||||
|
auto output_buffer = page_aligned_alloc(output_frame_size); |
||||||
|
buffer_guards.push_back(output_buffer); |
||||||
|
auto output_mapping = DmaMappedBuffer::create(*vdevice, output_buffer.get(), output_frame_size, HAILO_DMA_BUFFER_DIRECTION_D2H).expect("Failed to map output buffer"); |
||||||
|
buffer_map_guards.push_back(std::move(output_mapping)); |
||||||
|
auto output_status = bindings.output(output_name)->set_buffer(MemoryView(output_buffer.get(), output_frame_size)); |
||||||
|
if (HAILO_SUCCESS != output_status) { |
||||||
|
throw hailort_error(output_status, "Failed to set infer output buffer"); |
||||||
|
} |
||||||
|
|
||||||
|
std::cout << "[INFO] Configured input and output buffers." << std::endl; |
||||||
|
|
||||||
|
// Run asynchronous inference with a callback
|
||||||
|
configured_infer_model.run_async(bindings, [&uvPlane, &detection_results, output_buffer](const AsyncInferCompletionInfo& completion_info) { |
||||||
|
try { |
||||||
|
if (completion_info.status != HAILO_SUCCESS) { |
||||||
|
std::cerr << "[ERROR] Asynchronous inference failed with status: " << completion_info.status << std::endl; |
||||||
|
return; |
||||||
|
} |
||||||
|
|
||||||
|
std::cout << "[INFO] Asynchronous inference callback triggered." << std::endl; |
||||||
|
|
||||||
|
// catch model output
|
||||||
|
const float* detections = reinterpret_cast<const float*>(output_buffer.get()); |
||||||
|
if (!detections) { |
||||||
|
std::cerr << "[ERROR] Output buffer is null." << std::endl; |
||||||
|
return; |
||||||
|
} |
||||||
|
int max_classes = 8; // Max class num
|
||||||
|
int u_value = 90, v_value = 50; // Green line
|
||||||
|
for (int class_id = 1; class_id <= max_classes; class_id++) { |
||||||
|
int num_detections = static_cast<int>(detections[0]); // frist float means detection num
|
||||||
|
detections += 1; |
||||||
|
|
||||||
|
if (num_detections == 0) { |
||||||
|
continue; // if this class no detection result , skip
|
||||||
|
} |
||||||
|
|
||||||
|
std::cout << "[INFO] Class " << class_id << ": Number of detections = " << num_detections << std::endl; |
||||||
|
|
||||||
|
for (int i = 0; i < num_detections; i++) { |
||||||
|
hailo_bbox_float32_t bbox = reinterpret_cast<const hailo_bbox_float32_t*>(detections)[i]; |
||||||
|
if (bbox.score <= 0.3) { |
||||||
|
continue; |
||||||
|
} |
||||||
|
|
||||||
|
std::string class_name = get_coco_name_from_int(class_id); |
||||||
|
std::string label = class_name + " " + cv::format("%.2f", bbox.score); |
||||||
|
|
||||||
|
// draw the range
|
||||||
|
int x = std::max(0, static_cast<int>(bbox.x_min * uvPlane.cols)); |
||||||
|
int y = std::max(0, static_cast<int>(bbox.y_min * uvPlane.cols)); |
||||||
|
int w = std::min(static_cast<int>((bbox.x_max - bbox.x_min) * uvPlane.cols), uvPlane.cols - x); |
||||||
|
int h = std::min(static_cast<int>((bbox.y_max - bbox.y_min) * uvPlane.cols), uvPlane.cols - y); |
||||||
|
|
||||||
|
int top = std::max(0, y / 2); |
||||||
|
int bottom = std::min((y + h) / 2, uvPlane.cols - 1); |
||||||
|
int left = std::max(0, x / 2); |
||||||
|
int right = std::min((x + w) / 2, uvPlane.cols - 1); |
||||||
|
|
||||||
|
uvPlane.row(top).colRange(left * 2, right * 2 + 1).setTo(cv::Scalar(u_value, v_value)); |
||||||
|
uvPlane.row(bottom).colRange(left * 2, right * 2 + 1).setTo(cv::Scalar(u_value, v_value)); |
||||||
|
uvPlane.col(left * 2).rowRange(top, bottom + 1).setTo(cv::Scalar(v_value, u_value)); |
||||||
|
uvPlane.col(right * 2).rowRange(top, bottom + 1).setTo(cv::Scalar(v_value, u_value)); |
||||||
|
|
||||||
|
// put class name and score
|
||||||
|
int text_x = left * 2; |
||||||
|
int text_y = std::max(0, top - 1); |
||||||
|
|
||||||
|
cv::putText(uvPlane, label, cv::Point(text_x, text_y), |
||||||
|
cv::FONT_HERSHEY_PLAIN, 1.2, cv::Scalar(0, 255, 0), 1.2); |
||||||
|
DetectionResult result = { bbox, class_id, bbox.score }; |
||||||
|
detection_results.push_back(result); |
||||||
|
} |
||||||
|
|
||||||
|
detections += num_detections * (sizeof(hailo_bbox_float32_t) / sizeof(float)); |
||||||
|
} |
||||||
|
} |
||||||
|
catch (const std::exception& e) { |
||||||
|
std::cerr << "[ERROR] Exception in callback: " << e.what() << std::endl; |
||||||
|
} |
||||||
|
}); |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
|
catch (const hailort_error& e) { |
||||||
|
std::cerr << "[ERROR] Hailo inference failed: " << e.what() << std::endl; |
||||||
|
throw; |
||||||
|
} |
||||||
|
catch (const std::exception& e) { |
||||||
|
std::cerr << "[ERROR] General error in hailoInference: " << e.what() << std::endl; |
||||||
|
throw; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
} |
||||||
@ -0,0 +1,51 @@ |
|||||||
|
#ifndef VIDEO_TO_AI_HPP |
||||||
|
#define VIDEO_TO_AI_HPP |
||||||
|
#define NOMINMAX |
||||||
|
#include "hailo/hailort.hpp" |
||||||
|
#include "hailo/vdevice.hpp" |
||||||
|
#include "hailo/expected.hpp" |
||||||
|
#include "hailo/hailort_common.hpp" |
||||||
|
#include "hailo/runtime_statistics.hpp" |
||||||
|
#include <iostream> |
||||||
|
#include <chrono> |
||||||
|
#include <thread> |
||||||
|
#include <fstream> |
||||||
|
|
||||||
|
#include <cstring> |
||||||
|
#if defined(__unix__) |
||||||
|
#include <sys/mman.h> |
||||||
|
#endif |
||||||
|
//#include <include/common.h>
|
||||||
|
#include <opencv2/opencv.hpp> |
||||||
|
#include <vector> |
||||||
|
#include <mutex> |
||||||
|
#include <condition_variable> |
||||||
|
#include <queue> |
||||||
|
|
||||||
|
namespace VideoToAI |
||||||
|
{ |
||||||
|
using hailort::ConfiguredInferModel; |
||||||
|
using hailort::InferModel; |
||||||
|
using hailort::VDevice; |
||||||
|
using hailort::hailort_error; |
||||||
|
using hailort::AsyncInferCompletionInfo; |
||||||
|
using hailort::DmaMappedBuffer; |
||||||
|
using hailort::MemoryView; |
||||||
|
struct DetectionResult { |
||||||
|
hailo_bbox_float32_t bbox;
|
||||||
|
int class_id;
|
||||||
|
float confidence;
|
||||||
|
}; |
||||||
|
std::shared_ptr<uint8_t> page_aligned_alloc(size_t size); |
||||||
|
std::string get_coco_name_from_int(int cls); |
||||||
|
|
||||||
|
void letterbox(const cv::Mat& image, cv::Mat& outImage, |
||||||
|
const cv::Size& newShape = cv::Size(640, 640), |
||||||
|
const cv::Scalar& color = cv::Scalar(128, 128, 128), |
||||||
|
bool scaleUp = true); |
||||||
|
|
||||||
|
void hailoInference(cv::Mat& yPlane, cv::Mat& uvPlane, ConfiguredInferModel& configured_infer_model, std::shared_ptr<InferModel>& infer_model, VDevice* vdevice, std::vector<DetectionResult>& detection_results); |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
#endif // VIDEO_TO_AI_HPP
|
||||||
@ -0,0 +1,217 @@ |
|||||||
|
#define NOMINMAX |
||||||
|
#include "hailo/hailort.hpp" |
||||||
|
#include "hailo/vdevice.hpp" |
||||||
|
#include "hailo/expected.hpp" |
||||||
|
#include "hailo/hailort_common.hpp" |
||||||
|
#include "hailo/runtime_statistics.hpp" |
||||||
|
#include "VideoToAI.hpp" |
||||||
|
|
||||||
|
#include <iostream> |
||||||
|
#include <chrono> |
||||||
|
#include <thread> |
||||||
|
#include <fstream> |
||||||
|
|
||||||
|
#include <cstring> |
||||||
|
#if defined(__unix__) |
||||||
|
#include <sys/mman.h> |
||||||
|
#endif |
||||||
|
//#include <include/common.h>
|
||||||
|
#include <opencv2/opencv.hpp> |
||||||
|
#include <vector> |
||||||
|
#include <mutex> |
||||||
|
#include <condition_variable> |
||||||
|
#include <queue> |
||||||
|
#define BATCH_COUNT (1000) |
||||||
|
#define BATCH_SIZE (1) |
||||||
|
#define FPS (30) // Set target FPS to 30
|
||||||
|
|
||||||
|
using namespace hailort; |
||||||
|
using namespace VideoToAI; |
||||||
|
|
||||||
|
std::mutex mtx; |
||||||
|
std::condition_variable cv_var; |
||||||
|
std::queue<cv::Mat> frameQueue; |
||||||
|
bool doneReading = false; |
||||||
|
|
||||||
|
cv::Mat readYUV420(const std::string& yuvFile, int width, int height, int frameIndex) { |
||||||
|
int frameSize = width * height + (width * height / 2); |
||||||
|
std::ifstream yuvStream(yuvFile, std::ios::binary); |
||||||
|
if (!yuvStream.is_open()) { |
||||||
|
throw std::runtime_error("Cannot open YUV file"); |
||||||
|
} |
||||||
|
|
||||||
|
// Calculate file size for bounds checking
|
||||||
|
yuvStream.seekg(0, std::ios::end); |
||||||
|
std::streamsize fileSize = yuvStream.tellg(); |
||||||
|
if (frameIndex * frameSize >= fileSize) { |
||||||
|
throw std::runtime_error("Frame index out of range. Check the input file size."); |
||||||
|
} |
||||||
|
|
||||||
|
yuvStream.seekg(frameSize * frameIndex, std::ios::beg); |
||||||
|
std::vector<uint8_t> buffer(frameSize); |
||||||
|
yuvStream.read(reinterpret_cast<char*>(buffer.data()), frameSize); |
||||||
|
if (yuvStream.gcount() != frameSize) { |
||||||
|
throw std::runtime_error("Failed to read full YUV frame. Possibly corrupted file."); |
||||||
|
} |
||||||
|
|
||||||
|
return cv::Mat(height + height / 2, width, CV_8UC1, buffer.data()).clone(); |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
void readYUVThread(const std::string& yuvFile, int width, int height, int numFrames, |
||||||
|
ConfiguredInferModel& configured_infer_model, |
||||||
|
std::shared_ptr<InferModel>& infer_model, VDevice* vdevice) { |
||||||
|
std::ifstream yuvStream(yuvFile, std::ios::binary); |
||||||
|
if (!yuvStream.is_open()) { |
||||||
|
throw std::runtime_error("Cannot open YUV file"); |
||||||
|
} |
||||||
|
std::cout << "[INFO] Opened YUV file: " << yuvFile << std::endl; |
||||||
|
std::vector<VideoToAI::DetectionResult> detection_results; |
||||||
|
cv::Ptr<cv::BackgroundSubtractorMOG2> fgbg_mog2 = cv::createBackgroundSubtractorMOG2(); |
||||||
|
|
||||||
|
for (int i = 0; i < numFrames; ++i) { |
||||||
|
try { |
||||||
|
std::cout << "[INFO] Reading frame " << i + 1 << " of " << numFrames << std::endl; |
||||||
|
|
||||||
|
// Read the YUV frame
|
||||||
|
cv::Mat yuvFrame = readYUV420(yuvFile, width, height, i); |
||||||
|
if (yuvFrame.empty()) { |
||||||
|
throw std::runtime_error("YUV frame is empty."); |
||||||
|
} |
||||||
|
|
||||||
|
// Split into Y and UV planes
|
||||||
|
cv::Mat yPlane = yuvFrame(cv::Rect(0, 0, width, height)); |
||||||
|
cv::Mat uvPlane = yuvFrame(cv::Rect(0, height, width, height / 2)); |
||||||
|
|
||||||
|
// Apply letterbox on Y and UV planes
|
||||||
|
cv::Mat resizedYPlane, resizedUVPlane; |
||||||
|
letterbox(yPlane, resizedYPlane, cv::Size(640, 640)); |
||||||
|
letterbox(uvPlane, resizedUVPlane, cv::Size(640, 640 / 2)); |
||||||
|
if (resizedYPlane.cols != 640 || resizedYPlane.rows != 640 || |
||||||
|
resizedUVPlane.cols != 640 || resizedUVPlane.rows != 320) { |
||||||
|
throw std::runtime_error("Unexpected size after letterbox. Ensure input dimensions and padding are correct."); |
||||||
|
} |
||||||
|
if (resizedYPlane.empty() || resizedUVPlane.empty()) { |
||||||
|
throw std::runtime_error("Letterbox failed to resize planes correctly."); |
||||||
|
} |
||||||
|
|
||||||
|
// Only Hailo infer
|
||||||
|
hailoInference(resizedYPlane, resizedUVPlane, configured_infer_model, infer_model, vdevice, detection_results); |
||||||
|
|
||||||
|
// Catch detection results
|
||||||
|
/*for (const auto& result : detection_results) {
|
||||||
|
std::cout << "Class ID: " << result.class_id |
||||||
|
<< ", Confidence: " << result.confidence |
||||||
|
<< ", BBox: [" |
||||||
|
<< result.bbox.x_min << ", " |
||||||
|
<< result.bbox.y_min << ", " |
||||||
|
<< result.bbox.x_max << ", " |
||||||
|
<< result.bbox.y_max << "]" << std::endl; |
||||||
|
}*/ |
||||||
|
|
||||||
|
std::cout << "[INFO] Processed YUV frame." << std::endl; |
||||||
|
|
||||||
|
// Combine Y and UV planes into a single frame
|
||||||
|
std::vector<cv::Mat> channels = { resizedYPlane, resizedUVPlane }; |
||||||
|
cv::Mat combinedFrame; |
||||||
|
cv::vconcat(channels, combinedFrame); |
||||||
|
|
||||||
|
// Push the processed frame to the queue
|
||||||
|
std::unique_lock<std::mutex> lock(mtx); |
||||||
|
frameQueue.push(combinedFrame.clone()); |
||||||
|
// lock.unlock(); // aviod didn't auto unlock
|
||||||
|
cv_var.notify_one(); |
||||||
|
std::cout << "[INFO] Frame pushed to the queue." << std::endl; |
||||||
|
|
||||||
|
} |
||||||
|
catch (const std::exception& e) { |
||||||
|
std::cerr << "[ERROR] Read Error: " << e.what() << std::endl; |
||||||
|
break; |
||||||
|
} |
||||||
|
} |
||||||
|
|
||||||
|
std::unique_lock<std::mutex> lock(mtx); |
||||||
|
doneReading = true; |
||||||
|
cv_var.notify_one(); |
||||||
|
std::cout << "[INFO] Done reading YUV file." << std::endl; |
||||||
|
} |
||||||
|
|
||||||
|
|
||||||
|
void writeYUVThread(const std::string& outputFile) { |
||||||
|
std::ofstream outputYuvStream(outputFile, std::ios::binary); |
||||||
|
if (!outputYuvStream.is_open()) { |
||||||
|
std::cerr << "Cannot open output YUV file" << std::endl; |
||||||
|
return; |
||||||
|
} |
||||||
|
|
||||||
|
while (true) { |
||||||
|
std::unique_lock<std::mutex> lock(mtx); |
||||||
|
cv_var.wait(lock, [] { return !frameQueue.empty() || doneReading; }); |
||||||
|
// lock.unlock(); // aviod didn't auto unlock
|
||||||
|
while (!frameQueue.empty()) { |
||||||
|
cv::Mat frame = frameQueue.front(); |
||||||
|
frameQueue.pop(); |
||||||
|
outputYuvStream.write(reinterpret_cast<const char*>(frame.data), frame.total()); |
||||||
|
} |
||||||
|
if (doneReading && frameQueue.empty()) { |
||||||
|
break; |
||||||
|
} |
||||||
|
} |
||||||
|
outputYuvStream.close(); |
||||||
|
std::cout << "YUV video saved to " << outputFile << std::endl; |
||||||
|
} |
||||||
|
|
||||||
|
int main(int argc, char** argv) { |
||||||
|
if (argc != 3) { |
||||||
|
std::cerr << "Usage: " << argv[0] << " <input_file> <output_file>" << std::endl; |
||||||
|
return -1; |
||||||
|
} |
||||||
|
//
|
||||||
|
std::string inputFilePath = argv[1]; |
||||||
|
std::string outputFilePath = argv[2]; |
||||||
|
|
||||||
|
try { |
||||||
|
auto vdevice = VDevice::create().expect("Failed to create vdevice"); |
||||||
|
auto infer_model = vdevice->create_infer_model("yolov7_yuv21.hef").expect("Failed to create infer model"); |
||||||
|
auto configured_infer_model = infer_model->configure().expect("Failed to configure infer model"); |
||||||
|
//infer_model->set_batch_size(BATCH_SIZE);
|
||||||
|
if (inputFilePath.size() >= 4 && inputFilePath.substr(inputFilePath.size() - 4) == ".yuv") { |
||||||
|
int width = 640; |
||||||
|
int height = 360; |
||||||
|
|
||||||
|
std::ifstream yuvStream(inputFilePath, std::ios::binary | std::ios::ate); |
||||||
|
if (!yuvStream.is_open()) { |
||||||
|
std::cerr << "Cannot open input YUV file" << std::endl; |
||||||
|
return -1; |
||||||
|
} |
||||||
|
|
||||||
|
std::streamsize fileSize = yuvStream.tellg(); |
||||||
|
int frameSize = width * height + (width * height / 2); |
||||||
|
if (fileSize % frameSize != 0) { |
||||||
|
std::cerr << "Warning: File size is not an exact multiple of frame size. There might be incomplete frames." << std::endl; |
||||||
|
} |
||||||
|
int numFrames = static_cast<int>(fileSize / frameSize); |
||||||
|
std::thread reader( |
||||||
|
[&]() { |
||||||
|
readYUVThread(inputFilePath, width, height, numFrames, configured_infer_model, infer_model, vdevice.get()); |
||||||
|
}); |
||||||
|
|
||||||
|
std::thread writer(writeYUVThread, outputFilePath); |
||||||
|
|
||||||
|
reader.join(); |
||||||
|
writer.join(); |
||||||
|
} |
||||||
|
else { |
||||||
|
std::cerr << "Unsupported file format. Please provide a .yuv file." << std::endl; |
||||||
|
return -1; |
||||||
|
} |
||||||
|
|
||||||
|
std::cout << "Video processing completed and saved to " << outputFilePath << std::endl; |
||||||
|
} |
||||||
|
catch (const hailort_error& e) { |
||||||
|
std::cerr << "Hailo initialization or inference error: " << e.what() << std::endl; |
||||||
|
return -1; |
||||||
|
} |
||||||
|
|
||||||
|
return 0; |
||||||
|
} |
||||||
@ -0,0 +1 @@ |
|||||||
|
{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]} |
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,231 @@ |
|||||||
|
{ |
||||||
|
"inputs" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"path" : "CMakeLists.txt" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/3.25.1/CMakeSystem.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeSystemSpecificInitialize.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/3.25.1/CMakeCCompiler.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/3.25.1/CMakeCXXCompiler.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeSystemSpecificInformation.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeGenericSystem.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeInitializeConfigs.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/WindowsPaths.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeCInformation.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/MSVC-C.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/MSVC.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows-MSVC-C.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows-MSVC.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/3.25.1/CMakeRCCompiler.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeRCInformation.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeCXXInformation.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeLanguageInformation.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/MSVC-CXX.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/MSVC.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Compiler/CMakeCommonCompilerMacros.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows-MSVC-CXX.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Platform/Windows-MSVC.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CMakeCommonLanguageInclude.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/FindThreads.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CheckLibraryExists.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CheckIncludeFile.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/CheckCSourceCompiles.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/Internal/CheckSourceCompiles.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageMessage.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTConfigVersion.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTConfig.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTTargets.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/lib/cmake/HailoRT/HailoRTTargets-release.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVConfig-version.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVConfig.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isCMake" : true, |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageMessage.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVModules.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVModules-debug.cmake" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"isExternal" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/x64/vc15/lib/OpenCVModules-release.cmake" |
||||||
|
} |
||||||
|
], |
||||||
|
"kind" : "cmakeFiles", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build", |
||||||
|
"source" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer" |
||||||
|
}, |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 1, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,264 @@ |
|||||||
|
{ |
||||||
|
"configurations" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directories" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"jsonFile" : "directory-.-Debug-d0094a50bb2071803777.json", |
||||||
|
"minimumCMakeVersion" : |
||||||
|
{ |
||||||
|
"string" : "3.12" |
||||||
|
}, |
||||||
|
"projectIndex" : 0, |
||||||
|
"source" : ".", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"name" : "Debug", |
||||||
|
"projects" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
], |
||||||
|
"name" : "detection_app", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"targets" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ALL_BUILD-Debug-b15eda2f47db83fa8109.json", |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ZERO_CHECK-Debug-ddd4a29dd55d09107db2.json", |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-detection_app-Debug-711021cdbb24b662a6a9.json", |
||||||
|
"name" : "detection_app", |
||||||
|
"projectIndex" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directories" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"jsonFile" : "directory-.-Release-d0094a50bb2071803777.json", |
||||||
|
"minimumCMakeVersion" : |
||||||
|
{ |
||||||
|
"string" : "3.12" |
||||||
|
}, |
||||||
|
"projectIndex" : 0, |
||||||
|
"source" : ".", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"name" : "Release", |
||||||
|
"projects" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
], |
||||||
|
"name" : "detection_app", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"targets" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ALL_BUILD-Release-b15eda2f47db83fa8109.json", |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ZERO_CHECK-Release-ddd4a29dd55d09107db2.json", |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-detection_app-Release-5708669deb51c5325e42.json", |
||||||
|
"name" : "detection_app", |
||||||
|
"projectIndex" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directories" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"jsonFile" : "directory-.-MinSizeRel-d0094a50bb2071803777.json", |
||||||
|
"minimumCMakeVersion" : |
||||||
|
{ |
||||||
|
"string" : "3.12" |
||||||
|
}, |
||||||
|
"projectIndex" : 0, |
||||||
|
"source" : ".", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"name" : "MinSizeRel", |
||||||
|
"projects" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
], |
||||||
|
"name" : "detection_app", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"targets" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ALL_BUILD-MinSizeRel-b15eda2f47db83fa8109.json", |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ZERO_CHECK-MinSizeRel-ddd4a29dd55d09107db2.json", |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-detection_app-MinSizeRel-ade412d8567e36fde258.json", |
||||||
|
"name" : "detection_app", |
||||||
|
"projectIndex" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directories" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"jsonFile" : "directory-.-RelWithDebInfo-d0094a50bb2071803777.json", |
||||||
|
"minimumCMakeVersion" : |
||||||
|
{ |
||||||
|
"string" : "3.12" |
||||||
|
}, |
||||||
|
"projectIndex" : 0, |
||||||
|
"source" : ".", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"name" : "RelWithDebInfo", |
||||||
|
"projects" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
], |
||||||
|
"name" : "detection_app", |
||||||
|
"targetIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"targets" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ALL_BUILD-RelWithDebInfo-b15eda2f47db83fa8109.json", |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-ZERO_CHECK-RelWithDebInfo-ddd4a29dd55d09107db2.json", |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"projectIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"directoryIndex" : 0, |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"jsonFile" : "target-detection_app-RelWithDebInfo-f09310175ae16b760cf9.json", |
||||||
|
"name" : "detection_app", |
||||||
|
"projectIndex" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"kind" : "codemodel", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build", |
||||||
|
"source" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer" |
||||||
|
}, |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 2, |
||||||
|
"minor" : 4 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,14 @@ |
|||||||
|
{ |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : [], |
||||||
|
"nodes" : [] |
||||||
|
}, |
||||||
|
"installers" : [], |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,14 @@ |
|||||||
|
{ |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : [], |
||||||
|
"nodes" : [] |
||||||
|
}, |
||||||
|
"installers" : [], |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,14 @@ |
|||||||
|
{ |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : [], |
||||||
|
"nodes" : [] |
||||||
|
}, |
||||||
|
"installers" : [], |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,14 @@ |
|||||||
|
{ |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : [], |
||||||
|
"nodes" : [] |
||||||
|
}, |
||||||
|
"installers" : [], |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,133 @@ |
|||||||
|
{ |
||||||
|
"cmake" : |
||||||
|
{ |
||||||
|
"generator" : |
||||||
|
{ |
||||||
|
"multiConfig" : true, |
||||||
|
"name" : "Visual Studio 17 2022", |
||||||
|
"platform" : "x64" |
||||||
|
}, |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"cmake" : "C:/Program Files/CMake/bin/cmake.exe", |
||||||
|
"cpack" : "C:/Program Files/CMake/bin/cpack.exe", |
||||||
|
"ctest" : "C:/Program Files/CMake/bin/ctest.exe", |
||||||
|
"root" : "C:/Program Files/CMake/share/cmake-3.25" |
||||||
|
}, |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"isDirty" : false, |
||||||
|
"major" : 3, |
||||||
|
"minor" : 25, |
||||||
|
"patch" : 1, |
||||||
|
"string" : "3.25.1", |
||||||
|
"suffix" : "" |
||||||
|
} |
||||||
|
}, |
||||||
|
"objects" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"jsonFile" : "codemodel-v2-9379719d6e81ec1716b0.json", |
||||||
|
"kind" : "codemodel", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 2, |
||||||
|
"minor" : 4 |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"jsonFile" : "cache-v2-edc75f4cfb66aa586a81.json", |
||||||
|
"kind" : "cache", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 2, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"jsonFile" : "cmakeFiles-v1-a5f9e772a60ef882dd1c.json", |
||||||
|
"kind" : "cmakeFiles", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 1, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"jsonFile" : "toolchains-v1-8f5b255a6b6921258c37.json", |
||||||
|
"kind" : "toolchains", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 1, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
} |
||||||
|
], |
||||||
|
"reply" : |
||||||
|
{ |
||||||
|
"client-vscode" : |
||||||
|
{ |
||||||
|
"query.json" : |
||||||
|
{ |
||||||
|
"requests" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"kind" : "cache", |
||||||
|
"version" : 2 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"kind" : "codemodel", |
||||||
|
"version" : 2 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"kind" : "toolchains", |
||||||
|
"version" : 1 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"kind" : "cmakeFiles", |
||||||
|
"version" : 1 |
||||||
|
} |
||||||
|
], |
||||||
|
"responses" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"jsonFile" : "cache-v2-edc75f4cfb66aa586a81.json", |
||||||
|
"kind" : "cache", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 2, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"jsonFile" : "codemodel-v2-9379719d6e81ec1716b0.json", |
||||||
|
"kind" : "codemodel", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 2, |
||||||
|
"minor" : 4 |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"jsonFile" : "toolchains-v1-8f5b255a6b6921258c37.json", |
||||||
|
"kind" : "toolchains", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 1, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
}, |
||||||
|
{ |
||||||
|
"jsonFile" : "cmakeFiles-v1-a5f9e772a60ef882dd1c.json", |
||||||
|
"kind" : "cmakeFiles", |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 1, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
} |
||||||
|
] |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,36 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sources" : [], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,36 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sources" : [], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,36 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sources" : [], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,36 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "ALL_BUILD::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ALL_BUILD", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sources" : [], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,45 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "CMake Rules", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/8a427e62bbdb09f2e3162aa349bd01d9/generate.stamp.rule", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,45 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "CMake Rules", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/8a427e62bbdb09f2e3162aa349bd01d9/generate.stamp.rule", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,45 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "CMake Rules", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/8a427e62bbdb09f2e3162aa349bd01d9/generate.stamp.rule", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,45 @@ |
|||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : [], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df", |
||||||
|
"isGeneratorProvided" : true, |
||||||
|
"name" : "ZERO_CHECK", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "CMake Rules", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 0, |
||||||
|
"isGenerated" : true, |
||||||
|
"path" : "build/CMakeFiles/8a427e62bbdb09f2e3162aa349bd01d9/generate.stamp.rule", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "UTILITY" |
||||||
|
} |
||||||
@ -0,0 +1,319 @@ |
|||||||
|
{ |
||||||
|
"artifacts" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"path" : "Debug/detection_app.exe" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"path" : "Debug/detection_app.pdb" |
||||||
|
} |
||||||
|
], |
||||||
|
"backtrace" : 1, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : |
||||||
|
[ |
||||||
|
"add_executable", |
||||||
|
"target_link_libraries", |
||||||
|
"target_compile_options", |
||||||
|
"include_directories" |
||||||
|
], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 0, |
||||||
|
"file" : 0, |
||||||
|
"line" : 37, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 1, |
||||||
|
"file" : 0, |
||||||
|
"line" : 45, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 2, |
||||||
|
"file" : 0, |
||||||
|
"line" : 42, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 30, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 36, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 38, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 29, |
||||||
|
"parent" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"compileGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"compileCommandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MDd /Zi /Ob0 /Od /RTC1" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 3, |
||||||
|
"fragment" : "-Wall" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "-std:c++20" |
||||||
|
} |
||||||
|
], |
||||||
|
"defines" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MAJOR_VERSION=4" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MINOR_VERSION=19" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_REVISION_VERSION=0" |
||||||
|
} |
||||||
|
], |
||||||
|
"includes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 4, |
||||||
|
"path" : "C:/Users/mm930/Documents/hailort/hailort/libhailort/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 5, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 6, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/opencv/opencv_contrib/modules/xfeatures2d/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 7, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/include" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX", |
||||||
|
"languageStandard" : |
||||||
|
{ |
||||||
|
"backtraces" : |
||||||
|
[ |
||||||
|
2 |
||||||
|
], |
||||||
|
"standard" : "20" |
||||||
|
}, |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"link" : |
||||||
|
{ |
||||||
|
"commandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MDd /Zi /Ob0 /Od /RTC1", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "/machine:x64 /debug /INCREMENTAL /subsystem:console", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "\"C:\\Program Files\\HailoRT\\lib\\libhailort.lib\"", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460d.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib", |
||||||
|
"role" : "libraries" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX" |
||||||
|
}, |
||||||
|
"name" : "detection_app", |
||||||
|
"nameOnDisk" : "detection_app.exe", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "Source Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name" : "Header Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
4 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "VideoToAI.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "async_infer_advanced_example.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "utils.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "yolov5_post_processing.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"path" : "VideoToAI.hpp", |
||||||
|
"sourceGroupIndex" : 1 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "EXECUTABLE" |
||||||
|
} |
||||||
@ -0,0 +1,319 @@ |
|||||||
|
{ |
||||||
|
"artifacts" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"path" : "MinSizeRel/detection_app.exe" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"path" : "MinSizeRel/detection_app.pdb" |
||||||
|
} |
||||||
|
], |
||||||
|
"backtrace" : 1, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : |
||||||
|
[ |
||||||
|
"add_executable", |
||||||
|
"target_link_libraries", |
||||||
|
"target_compile_options", |
||||||
|
"include_directories" |
||||||
|
], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 0, |
||||||
|
"file" : 0, |
||||||
|
"line" : 37, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 1, |
||||||
|
"file" : 0, |
||||||
|
"line" : 45, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 2, |
||||||
|
"file" : 0, |
||||||
|
"line" : 42, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 30, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 36, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 38, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 29, |
||||||
|
"parent" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"compileGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"compileCommandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MD /O1 /Ob1 /DNDEBUG" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 3, |
||||||
|
"fragment" : "-Wall" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "-std:c++20" |
||||||
|
} |
||||||
|
], |
||||||
|
"defines" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MAJOR_VERSION=4" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MINOR_VERSION=19" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_REVISION_VERSION=0" |
||||||
|
} |
||||||
|
], |
||||||
|
"includes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 4, |
||||||
|
"path" : "C:/Users/mm930/Documents/hailort/hailort/libhailort/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 5, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 6, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/opencv/opencv_contrib/modules/xfeatures2d/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 7, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/include" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX", |
||||||
|
"languageStandard" : |
||||||
|
{ |
||||||
|
"backtraces" : |
||||||
|
[ |
||||||
|
2 |
||||||
|
], |
||||||
|
"standard" : "20" |
||||||
|
}, |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"link" : |
||||||
|
{ |
||||||
|
"commandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MD /O1 /Ob1 /DNDEBUG", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "/machine:x64 /INCREMENTAL:NO /subsystem:console", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "\"C:\\Program Files\\HailoRT\\lib\\libhailort.lib\"", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib", |
||||||
|
"role" : "libraries" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX" |
||||||
|
}, |
||||||
|
"name" : "detection_app", |
||||||
|
"nameOnDisk" : "detection_app.exe", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "Source Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name" : "Header Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
4 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "VideoToAI.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "async_infer_advanced_example.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "utils.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "yolov5_post_processing.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"path" : "VideoToAI.hpp", |
||||||
|
"sourceGroupIndex" : 1 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "EXECUTABLE" |
||||||
|
} |
||||||
@ -0,0 +1,319 @@ |
|||||||
|
{ |
||||||
|
"artifacts" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"path" : "RelWithDebInfo/detection_app.exe" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"path" : "RelWithDebInfo/detection_app.pdb" |
||||||
|
} |
||||||
|
], |
||||||
|
"backtrace" : 1, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : |
||||||
|
[ |
||||||
|
"add_executable", |
||||||
|
"target_link_libraries", |
||||||
|
"target_compile_options", |
||||||
|
"include_directories" |
||||||
|
], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 0, |
||||||
|
"file" : 0, |
||||||
|
"line" : 37, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 1, |
||||||
|
"file" : 0, |
||||||
|
"line" : 45, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 2, |
||||||
|
"file" : 0, |
||||||
|
"line" : 42, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 30, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 36, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 38, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 29, |
||||||
|
"parent" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"compileGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"compileCommandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MD /Zi /O2 /Ob1 /DNDEBUG" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 3, |
||||||
|
"fragment" : "-Wall" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "-std:c++20" |
||||||
|
} |
||||||
|
], |
||||||
|
"defines" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MAJOR_VERSION=4" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MINOR_VERSION=19" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_REVISION_VERSION=0" |
||||||
|
} |
||||||
|
], |
||||||
|
"includes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 4, |
||||||
|
"path" : "C:/Users/mm930/Documents/hailort/hailort/libhailort/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 5, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 6, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/opencv/opencv_contrib/modules/xfeatures2d/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 7, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/include" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX", |
||||||
|
"languageStandard" : |
||||||
|
{ |
||||||
|
"backtraces" : |
||||||
|
[ |
||||||
|
2 |
||||||
|
], |
||||||
|
"standard" : "20" |
||||||
|
}, |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"link" : |
||||||
|
{ |
||||||
|
"commandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MD /Zi /O2 /Ob1 /DNDEBUG", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "/machine:x64 /debug /INCREMENTAL /subsystem:console", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "\"C:\\Program Files\\HailoRT\\lib\\libhailort.lib\"", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib", |
||||||
|
"role" : "libraries" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX" |
||||||
|
}, |
||||||
|
"name" : "detection_app", |
||||||
|
"nameOnDisk" : "detection_app.exe", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "Source Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name" : "Header Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
4 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "VideoToAI.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "async_infer_advanced_example.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "utils.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "yolov5_post_processing.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"path" : "VideoToAI.hpp", |
||||||
|
"sourceGroupIndex" : 1 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "EXECUTABLE" |
||||||
|
} |
||||||
@ -0,0 +1,319 @@ |
|||||||
|
{ |
||||||
|
"artifacts" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"path" : "Release/detection_app.exe" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"path" : "Release/detection_app.pdb" |
||||||
|
} |
||||||
|
], |
||||||
|
"backtrace" : 1, |
||||||
|
"backtraceGraph" : |
||||||
|
{ |
||||||
|
"commands" : |
||||||
|
[ |
||||||
|
"add_executable", |
||||||
|
"target_link_libraries", |
||||||
|
"target_compile_options", |
||||||
|
"include_directories" |
||||||
|
], |
||||||
|
"files" : |
||||||
|
[ |
||||||
|
"CMakeLists.txt" |
||||||
|
], |
||||||
|
"nodes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"file" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 0, |
||||||
|
"file" : 0, |
||||||
|
"line" : 37, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 1, |
||||||
|
"file" : 0, |
||||||
|
"line" : 45, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 2, |
||||||
|
"file" : 0, |
||||||
|
"line" : 42, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 30, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 36, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 38, |
||||||
|
"parent" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"command" : 3, |
||||||
|
"file" : 0, |
||||||
|
"line" : 29, |
||||||
|
"parent" : 0 |
||||||
|
} |
||||||
|
] |
||||||
|
}, |
||||||
|
"compileGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"compileCommandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MD /O2 /Ob2 /DNDEBUG" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 3, |
||||||
|
"fragment" : "-Wall" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "-std:c++20" |
||||||
|
} |
||||||
|
], |
||||||
|
"defines" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MAJOR_VERSION=4" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_MINOR_VERSION=19" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"define" : "HAILORT_REVISION_VERSION=0" |
||||||
|
} |
||||||
|
], |
||||||
|
"includes" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 4, |
||||||
|
"path" : "C:/Users/mm930/Documents/hailort/hailort/libhailort/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 5, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 6, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/Documents/opencv/opencv_contrib/modules/xfeatures2d/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 7, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Users/mm930/OneDrive/\u684c\u9762/lilin/Hailo/Infer/opencv/build/include" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"isSystem" : true, |
||||||
|
"path" : "C:/Program Files/HailoRT/include" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX", |
||||||
|
"languageStandard" : |
||||||
|
{ |
||||||
|
"backtraces" : |
||||||
|
[ |
||||||
|
2 |
||||||
|
], |
||||||
|
"standard" : "20" |
||||||
|
}, |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"dependencies" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"id" : "ZERO_CHECK::@6890427a1f51a3e7e1df" |
||||||
|
} |
||||||
|
], |
||||||
|
"id" : "detection_app::@6890427a1f51a3e7e1df", |
||||||
|
"link" : |
||||||
|
{ |
||||||
|
"commandFragments" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"fragment" : "/DWIN32 /D_WINDOWS /W3 /GR /EHsc /wd5045 /MD /O2 /Ob2 /DNDEBUG", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "/machine:x64 /INCREMENTAL:NO /subsystem:console", |
||||||
|
"role" : "flags" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "\"C:\\Program Files\\HailoRT\\lib\\libhailort.lib\"", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 2, |
||||||
|
"fragment" : "C:\\Users\\mm930\\OneDrive\\\u684c\u9762\\lilin\\Hailo\\Infer\\opencv\\build\\x64\\vc15\\lib\\opencv_world460.lib", |
||||||
|
"role" : "libraries" |
||||||
|
}, |
||||||
|
{ |
||||||
|
"fragment" : "kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib", |
||||||
|
"role" : "libraries" |
||||||
|
} |
||||||
|
], |
||||||
|
"language" : "CXX" |
||||||
|
}, |
||||||
|
"name" : "detection_app", |
||||||
|
"nameOnDisk" : "detection_app.exe", |
||||||
|
"paths" : |
||||||
|
{ |
||||||
|
"build" : ".", |
||||||
|
"source" : "." |
||||||
|
}, |
||||||
|
"sourceGroups" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"name" : "Source Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
0, |
||||||
|
1, |
||||||
|
2, |
||||||
|
3 |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"name" : "Header Files", |
||||||
|
"sourceIndexes" : |
||||||
|
[ |
||||||
|
4 |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"sources" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "VideoToAI.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "async_infer_advanced_example.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "utils.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"compileGroupIndex" : 0, |
||||||
|
"path" : "yolov5_post_processing.cpp", |
||||||
|
"sourceGroupIndex" : 0 |
||||||
|
}, |
||||||
|
{ |
||||||
|
"backtrace" : 1, |
||||||
|
"path" : "VideoToAI.hpp", |
||||||
|
"sourceGroupIndex" : 1 |
||||||
|
} |
||||||
|
], |
||||||
|
"type" : "EXECUTABLE" |
||||||
|
} |
||||||
@ -0,0 +1,75 @@ |
|||||||
|
{ |
||||||
|
"kind" : "toolchains", |
||||||
|
"toolchains" : |
||||||
|
[ |
||||||
|
{ |
||||||
|
"compiler" : |
||||||
|
{ |
||||||
|
"id" : "MSVC", |
||||||
|
"implicit" : |
||||||
|
{ |
||||||
|
"includeDirectories" : [], |
||||||
|
"linkDirectories" : [], |
||||||
|
"linkFrameworkDirectories" : [], |
||||||
|
"linkLibraries" : [] |
||||||
|
}, |
||||||
|
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe", |
||||||
|
"version" : "19.41.34123.0" |
||||||
|
}, |
||||||
|
"language" : "C", |
||||||
|
"sourceFileExtensions" : |
||||||
|
[ |
||||||
|
"c", |
||||||
|
"m" |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"compiler" : |
||||||
|
{ |
||||||
|
"id" : "MSVC", |
||||||
|
"implicit" : |
||||||
|
{ |
||||||
|
"includeDirectories" : [], |
||||||
|
"linkDirectories" : [], |
||||||
|
"linkFrameworkDirectories" : [], |
||||||
|
"linkLibraries" : [] |
||||||
|
}, |
||||||
|
"path" : "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe", |
||||||
|
"version" : "19.41.34123.0" |
||||||
|
}, |
||||||
|
"language" : "CXX", |
||||||
|
"sourceFileExtensions" : |
||||||
|
[ |
||||||
|
"C", |
||||||
|
"M", |
||||||
|
"c++", |
||||||
|
"cc", |
||||||
|
"cpp", |
||||||
|
"cxx", |
||||||
|
"mm", |
||||||
|
"mpp", |
||||||
|
"CPP", |
||||||
|
"ixx", |
||||||
|
"cppm" |
||||||
|
] |
||||||
|
}, |
||||||
|
{ |
||||||
|
"compiler" : |
||||||
|
{ |
||||||
|
"implicit" : {}, |
||||||
|
"path" : "rc" |
||||||
|
}, |
||||||
|
"language" : "RC", |
||||||
|
"sourceFileExtensions" : |
||||||
|
[ |
||||||
|
"rc", |
||||||
|
"RC" |
||||||
|
] |
||||||
|
} |
||||||
|
], |
||||||
|
"version" : |
||||||
|
{ |
||||||
|
"major" : 1, |
||||||
|
"minor" : 0 |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,184 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project DefaultTargets="Build" ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||||
|
<PropertyGroup> |
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup> |
||||||
|
<ResolveNugetPackages>false</ResolveNugetPackages> |
||||||
|
</PropertyGroup> |
||||||
|
<ItemGroup Label="ProjectConfigurations"> |
||||||
|
<ProjectConfiguration Include="Debug|x64"> |
||||||
|
<Configuration>Debug</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
<ProjectConfiguration Include="Release|x64"> |
||||||
|
<Configuration>Release</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
<ProjectConfiguration Include="MinSizeRel|x64"> |
||||||
|
<Configuration>MinSizeRel</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
<ProjectConfiguration Include="RelWithDebInfo|x64"> |
||||||
|
<Configuration>RelWithDebInfo</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
</ItemGroup> |
||||||
|
<PropertyGroup Label="Globals"> |
||||||
|
<ProjectGuid>{E99A9578-ECF6-306A-B312-349B253FCB65}</ProjectGuid> |
||||||
|
<Keyword>Win32Proj</Keyword> |
||||||
|
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion> |
||||||
|
<Platform>x64</Platform> |
||||||
|
<ProjectName>ALL_BUILD</ProjectName> |
||||||
|
<VCProjectUpgraderObjectName>NoUpgrade</VCProjectUpgraderObjectName> |
||||||
|
</PropertyGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||||
|
<ConfigurationType>Utility</ConfigurationType> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> |
||||||
|
<ConfigurationType>Utility</ConfigurationType> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'" Label="Configuration"> |
||||||
|
<ConfigurationType>Utility</ConfigurationType> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'" Label="Configuration"> |
||||||
|
<ConfigurationType>Utility</ConfigurationType> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
</PropertyGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||||
|
<ImportGroup Label="ExtensionSettings"> |
||||||
|
</ImportGroup> |
||||||
|
<ImportGroup Label="PropertySheets"> |
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> |
||||||
|
</ImportGroup> |
||||||
|
<PropertyGroup Label="UserMacros" /> |
||||||
|
<PropertyGroup> |
||||||
|
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion> |
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">$(Platform)\$(Configuration)\$(ProjectName)\</IntDir> |
||||||
|
</PropertyGroup> |
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
|
<Midl> |
||||||
|
<AdditionalIncludeDirectories>C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\include;C:\Users\mm930\Documents\hailort\hailort\libhailort\include;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\include;C:\Users\mm930\OneDrive\Documents\opencv\opencv_contrib\modules\xfeatures2d\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
|
<OutputDirectory>$(ProjectDir)/$(IntDir)</OutputDirectory> |
||||||
|
<HeaderFileName>%(Filename).h</HeaderFileName> |
||||||
|
<TypeLibraryName>%(Filename).tlb</TypeLibraryName> |
||||||
|
<InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName> |
||||||
|
<ProxyFileName>%(Filename)_p.c</ProxyFileName> |
||||||
|
</Midl> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> |
||||||
|
<Midl> |
||||||
|
<AdditionalIncludeDirectories>C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\include;C:\Users\mm930\Documents\hailort\hailort\libhailort\include;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\include;C:\Users\mm930\OneDrive\Documents\opencv\opencv_contrib\modules\xfeatures2d\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
|
<OutputDirectory>$(ProjectDir)/$(IntDir)</OutputDirectory> |
||||||
|
<HeaderFileName>%(Filename).h</HeaderFileName> |
||||||
|
<TypeLibraryName>%(Filename).tlb</TypeLibraryName> |
||||||
|
<InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName> |
||||||
|
<ProxyFileName>%(Filename)_p.c</ProxyFileName> |
||||||
|
</Midl> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'"> |
||||||
|
<Midl> |
||||||
|
<AdditionalIncludeDirectories>C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\include;C:\Users\mm930\Documents\hailort\hailort\libhailort\include;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\include;C:\Users\mm930\OneDrive\Documents\opencv\opencv_contrib\modules\xfeatures2d\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
|
<OutputDirectory>$(ProjectDir)/$(IntDir)</OutputDirectory> |
||||||
|
<HeaderFileName>%(Filename).h</HeaderFileName> |
||||||
|
<TypeLibraryName>%(Filename).tlb</TypeLibraryName> |
||||||
|
<InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName> |
||||||
|
<ProxyFileName>%(Filename)_p.c</ProxyFileName> |
||||||
|
</Midl> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'"> |
||||||
|
<Midl> |
||||||
|
<AdditionalIncludeDirectories>C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\include;C:\Users\mm930\Documents\hailort\hailort\libhailort\include;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\include;C:\Users\mm930\OneDrive\Documents\opencv\opencv_contrib\modules\xfeatures2d\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> |
||||||
|
<OutputDirectory>$(ProjectDir)/$(IntDir)</OutputDirectory> |
||||||
|
<HeaderFileName>%(Filename).h</HeaderFileName> |
||||||
|
<TypeLibraryName>%(Filename).tlb</TypeLibraryName> |
||||||
|
<InterfaceIdentifierFileName>%(Filename)_i.c</InterfaceIdentifierFileName> |
||||||
|
<ProxyFileName>%(Filename)_p.c</ProxyFileName> |
||||||
|
</Midl> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<ItemGroup> |
||||||
|
<CustomBuild Include="C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeLists.txt"> |
||||||
|
<UseUtf8Encoding>Always</UseUtf8Encoding> |
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Building Custom Rule C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeLists.txt</Message> |
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">setlocal |
||||||
|
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer -BC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build --check-stamp-file C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build/CMakeFiles/generate.stamp |
||||||
|
if %errorlevel% neq 0 goto :cmEnd |
||||||
|
:cmEnd |
||||||
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone |
||||||
|
:cmErrorLevel |
||||||
|
exit /b %1 |
||||||
|
:cmDone |
||||||
|
if %errorlevel% neq 0 goto :VCEnd</Command> |
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCXXInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCommonLanguageInclude.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeGenericSystem.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeInitializeConfigs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeLanguageInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeRCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInitialize.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckCSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckIncludeFile.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckLibraryExists.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\CMakeCommonCompilerMacros.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageMessage.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindThreads.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Internal\CheckSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\WindowsPaths.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfig.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfigVersion.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets-release.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCXXCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeRCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeSystem.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig-version.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-debug.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-release.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules.cmake;%(AdditionalInputs)</AdditionalInputs> |
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\generate.stamp</Outputs> |
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkObjects> |
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Building Custom Rule C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeLists.txt</Message> |
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">setlocal |
||||||
|
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer -BC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build --check-stamp-file C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build/CMakeFiles/generate.stamp |
||||||
|
if %errorlevel% neq 0 goto :cmEnd |
||||||
|
:cmEnd |
||||||
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone |
||||||
|
:cmErrorLevel |
||||||
|
exit /b %1 |
||||||
|
:cmDone |
||||||
|
if %errorlevel% neq 0 goto :VCEnd</Command> |
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCXXInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCommonLanguageInclude.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeGenericSystem.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeInitializeConfigs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeLanguageInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeRCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInitialize.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckCSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckIncludeFile.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckLibraryExists.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\CMakeCommonCompilerMacros.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageMessage.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindThreads.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Internal\CheckSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\WindowsPaths.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfig.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfigVersion.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets-release.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCXXCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeRCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeSystem.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig-version.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-debug.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-release.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules.cmake;%(AdditionalInputs)</AdditionalInputs> |
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\generate.stamp</Outputs> |
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkObjects> |
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">Building Custom Rule C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeLists.txt</Message> |
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">setlocal |
||||||
|
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer -BC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build --check-stamp-file C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build/CMakeFiles/generate.stamp |
||||||
|
if %errorlevel% neq 0 goto :cmEnd |
||||||
|
:cmEnd |
||||||
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone |
||||||
|
:cmErrorLevel |
||||||
|
exit /b %1 |
||||||
|
:cmDone |
||||||
|
if %errorlevel% neq 0 goto :VCEnd</Command> |
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCXXInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCommonLanguageInclude.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeGenericSystem.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeInitializeConfigs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeLanguageInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeRCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInitialize.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckCSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckIncludeFile.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckLibraryExists.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\CMakeCommonCompilerMacros.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageMessage.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindThreads.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Internal\CheckSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\WindowsPaths.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfig.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfigVersion.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets-release.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCXXCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeRCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeSystem.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig-version.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-debug.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-release.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules.cmake;%(AdditionalInputs)</AdditionalInputs> |
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\generate.stamp</Outputs> |
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='MinSizeRel|x64'">false</LinkObjects> |
||||||
|
<Message Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">Building Custom Rule C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeLists.txt</Message> |
||||||
|
<Command Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">setlocal |
||||||
|
"C:\Program Files\CMake\bin\cmake.exe" -SC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer -BC:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build --check-stamp-file C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build/CMakeFiles/generate.stamp |
||||||
|
if %errorlevel% neq 0 goto :cmEnd |
||||||
|
:cmEnd |
||||||
|
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone |
||||||
|
:cmErrorLevel |
||||||
|
exit /b %1 |
||||||
|
:cmDone |
||||||
|
if %errorlevel% neq 0 goto :VCEnd</Command> |
||||||
|
<AdditionalInputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCXXInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeCommonLanguageInclude.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeGenericSystem.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeInitializeConfigs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeLanguageInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeRCInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInformation.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CMakeSystemSpecificInitialize.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckCSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckIncludeFile.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\CheckLibraryExists.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\CMakeCommonCompilerMacros.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Compiler\MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageHandleStandardArgs.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindPackageMessage.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\FindThreads.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Internal\CheckSourceCompiles.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-C.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC-CXX.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows-MSVC.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\Windows.cmake;C:\Program Files\CMake\share\cmake-3.25\Modules\Platform\WindowsPaths.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfig.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTConfigVersion.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets-release.cmake;C:\Program Files\HailoRT\lib\cmake\HailoRT\HailoRTTargets.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeCXXCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeRCCompiler.cmake;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CMakeSystem.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig-version.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVConfig.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-debug.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules-release.cmake;C:\Users\mm930\OneDrive\桌面\lilin\Hailo\Infer\opencv\build\x64\vc15\lib\OpenCVModules.cmake;%(AdditionalInputs)</AdditionalInputs> |
||||||
|
<Outputs Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\generate.stamp</Outputs> |
||||||
|
<LinkObjects Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">false</LinkObjects> |
||||||
|
</CustomBuild> |
||||||
|
</ItemGroup> |
||||||
|
<ItemGroup> |
||||||
|
</ItemGroup> |
||||||
|
<ItemGroup> |
||||||
|
<ProjectReference Include="C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\ZERO_CHECK.vcxproj"> |
||||||
|
<Project>{3F8A53EB-A844-37E2-927A-9F0F8F1786F4}</Project> |
||||||
|
<Name>ZERO_CHECK</Name> |
||||||
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly> |
||||||
|
<CopyToOutputDirectory>Never</CopyToOutputDirectory> |
||||||
|
</ProjectReference> |
||||||
|
<ProjectReference Include="C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\detection_app.vcxproj"> |
||||||
|
<Project>{4427ED32-3AF9-3AAA-B77F-1310F730C328}</Project> |
||||||
|
<Name>detection_app</Name> |
||||||
|
</ProjectReference> |
||||||
|
</ItemGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||||
|
<ImportGroup Label="ExtensionTargets"> |
||||||
|
</ImportGroup> |
||||||
|
</Project> |
||||||
@ -0,0 +1,8 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project ToolsVersion="17.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||||
|
<ItemGroup> |
||||||
|
<CustomBuild Include="C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeLists.txt" /> |
||||||
|
</ItemGroup> |
||||||
|
<ItemGroup> |
||||||
|
</ItemGroup> |
||||||
|
</Project> |
||||||
@ -0,0 +1,350 @@ |
|||||||
|
# This is the CMakeCache file. |
||||||
|
# For build in directory: c:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build |
||||||
|
# It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe |
||||||
|
# You can edit this file to change values found and used by cmake. |
||||||
|
# If you do not want to change any of the values, simply exit the editor. |
||||||
|
# If you do want to change a value, simply edit, save, and exit the editor. |
||||||
|
# The syntax for the file is as follows: |
||||||
|
# KEY:TYPE=VALUE |
||||||
|
# KEY is the name of a variable in the cache. |
||||||
|
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. |
||||||
|
# VALUE is the current value for the KEY. |
||||||
|
|
||||||
|
######################## |
||||||
|
# EXTERNAL cache entries |
||||||
|
######################## |
||||||
|
|
||||||
|
//Path to a program. |
||||||
|
CMAKE_AR:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/lib.exe |
||||||
|
|
||||||
|
//No help, variable specified on the command line. |
||||||
|
CMAKE_BUILD_TYPE:UNINITIALIZED=Release |
||||||
|
|
||||||
|
//Semicolon separated list of supported configuration types, only |
||||||
|
// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything |
||||||
|
// else will be ignored. |
||||||
|
CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo |
||||||
|
|
||||||
|
//Flags used by the CXX compiler during all build types. |
||||||
|
CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc |
||||||
|
|
||||||
|
//Flags used by the CXX compiler during DEBUG builds. |
||||||
|
CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1 |
||||||
|
|
||||||
|
//Flags used by the CXX compiler during MINSIZEREL builds. |
||||||
|
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG |
||||||
|
|
||||||
|
//Flags used by the CXX compiler during RELEASE builds. |
||||||
|
CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG |
||||||
|
|
||||||
|
//Flags used by the CXX compiler during RELWITHDEBINFO builds. |
||||||
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG |
||||||
|
|
||||||
|
//Libraries linked by default with all C++ applications. |
||||||
|
CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib |
||||||
|
|
||||||
|
//Flags used by the C compiler during all build types. |
||||||
|
CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 |
||||||
|
|
||||||
|
//Flags used by the C compiler during DEBUG builds. |
||||||
|
CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1 |
||||||
|
|
||||||
|
//Flags used by the C compiler during MINSIZEREL builds. |
||||||
|
CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG |
||||||
|
|
||||||
|
//Flags used by the C compiler during RELEASE builds. |
||||||
|
CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG |
||||||
|
|
||||||
|
//Flags used by the C compiler during RELWITHDEBINFO builds. |
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG |
||||||
|
|
||||||
|
//Libraries linked by default with all C applications. |
||||||
|
CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib |
||||||
|
|
||||||
|
//Flags used by the linker during all build types. |
||||||
|
CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 |
||||||
|
|
||||||
|
//Flags used by the linker during DEBUG builds. |
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL |
||||||
|
|
||||||
|
//Flags used by the linker during MINSIZEREL builds. |
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO |
||||||
|
|
||||||
|
//Flags used by the linker during RELEASE builds. |
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO |
||||||
|
|
||||||
|
//Flags used by the linker during RELWITHDEBINFO builds. |
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL |
||||||
|
|
||||||
|
//No help, variable specified on the command line. |
||||||
|
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE |
||||||
|
|
||||||
|
//Value Computed by CMake. |
||||||
|
CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build/CMakeFiles/pkgRedirects |
||||||
|
|
||||||
|
//Install path prefix, prepended onto install directories. |
||||||
|
CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/detection_app |
||||||
|
|
||||||
|
//Path to a program. |
||||||
|
CMAKE_LINKER:FILEPATH=C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/link.exe |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during |
||||||
|
// all build types. |
||||||
|
CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during |
||||||
|
// DEBUG builds. |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during |
||||||
|
// MINSIZEREL builds. |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during |
||||||
|
// RELEASE builds. |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of modules during |
||||||
|
// RELWITHDEBINFO builds. |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL |
||||||
|
|
||||||
|
//Path to a program. |
||||||
|
CMAKE_MT:FILEPATH=CMAKE_MT-NOTFOUND |
||||||
|
|
||||||
|
//Value Computed by CMake |
||||||
|
CMAKE_PROJECT_DESCRIPTION:STATIC= |
||||||
|
|
||||||
|
//Value Computed by CMake |
||||||
|
CMAKE_PROJECT_HOMEPAGE_URL:STATIC= |
||||||
|
|
||||||
|
//Value Computed by CMake |
||||||
|
CMAKE_PROJECT_NAME:STATIC=detection_app |
||||||
|
|
||||||
|
//RC compiler |
||||||
|
CMAKE_RC_COMPILER:FILEPATH=rc |
||||||
|
|
||||||
|
//Flags for Windows Resource Compiler during all build types. |
||||||
|
CMAKE_RC_FLAGS:STRING=-DWIN32 |
||||||
|
|
||||||
|
//Flags for Windows Resource Compiler during DEBUG builds. |
||||||
|
CMAKE_RC_FLAGS_DEBUG:STRING=-D_DEBUG |
||||||
|
|
||||||
|
//Flags for Windows Resource Compiler during MINSIZEREL builds. |
||||||
|
CMAKE_RC_FLAGS_MINSIZEREL:STRING= |
||||||
|
|
||||||
|
//Flags for Windows Resource Compiler during RELEASE builds. |
||||||
|
CMAKE_RC_FLAGS_RELEASE:STRING= |
||||||
|
|
||||||
|
//Flags for Windows Resource Compiler during RELWITHDEBINFO builds. |
||||||
|
CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries |
||||||
|
// during all build types. |
||||||
|
CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries |
||||||
|
// during DEBUG builds. |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries |
||||||
|
// during MINSIZEREL builds. |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries |
||||||
|
// during RELEASE builds. |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of shared libraries |
||||||
|
// during RELWITHDEBINFO builds. |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL |
||||||
|
|
||||||
|
//If set, runtime paths are not added when installing shared libraries, |
||||||
|
// but are added when building. |
||||||
|
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO |
||||||
|
|
||||||
|
//If set, runtime paths are not added when using shared libraries. |
||||||
|
CMAKE_SKIP_RPATH:BOOL=NO |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries |
||||||
|
// during all build types. |
||||||
|
CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries |
||||||
|
// during DEBUG builds. |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries |
||||||
|
// during MINSIZEREL builds. |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries |
||||||
|
// during RELEASE builds. |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= |
||||||
|
|
||||||
|
//Flags used by the linker during the creation of static libraries |
||||||
|
// during RELWITHDEBINFO builds. |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= |
||||||
|
|
||||||
|
//If this value is on, makefiles will be generated without the |
||||||
|
// .SILENT directive, and all commands will be echoed to the console |
||||||
|
// during the make. This is useful for debugging only. With Visual |
||||||
|
// Studio IDE projects all commands are done without /nologo. |
||||||
|
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE |
||||||
|
|
||||||
|
//The directory containing a CMake configuration file for HailoRT. |
||||||
|
HailoRT_DIR:PATH=C:/Program Files/HailoRT/lib/cmake/HailoRT |
||||||
|
|
||||||
|
//The directory containing a CMake configuration file for OpenCV. |
||||||
|
OpenCV_DIR:PATH=C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/build/x64/vc15/lib |
||||||
|
|
||||||
|
//Value Computed by CMake |
||||||
|
detection_app_BINARY_DIR:STATIC=C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build |
||||||
|
|
||||||
|
//Value Computed by CMake |
||||||
|
detection_app_IS_TOP_LEVEL:STATIC=ON |
||||||
|
|
||||||
|
//Value Computed by CMake |
||||||
|
detection_app_SOURCE_DIR:STATIC=C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer |
||||||
|
|
||||||
|
|
||||||
|
######################## |
||||||
|
# INTERNAL cache entries |
||||||
|
######################## |
||||||
|
|
||||||
|
//ADVANCED property for variable: CMAKE_AR |
||||||
|
CMAKE_AR-ADVANCED:INTERNAL=1 |
||||||
|
//This is the directory where this CMakeCache.txt was created |
||||||
|
CMAKE_CACHEFILE_DIR:INTERNAL=c:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/build |
||||||
|
//Major version of cmake used to create the current loaded cache |
||||||
|
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 |
||||||
|
//Minor version of cmake used to create the current loaded cache |
||||||
|
CMAKE_CACHE_MINOR_VERSION:INTERNAL=25 |
||||||
|
//Patch version of cmake used to create the current loaded cache |
||||||
|
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1 |
||||||
|
//Path to CMake executable. |
||||||
|
CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe |
||||||
|
//Path to cpack program executable. |
||||||
|
CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe |
||||||
|
//Path to ctest program executable. |
||||||
|
CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe |
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS |
||||||
|
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG |
||||||
|
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL |
||||||
|
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE |
||||||
|
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO |
||||||
|
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES |
||||||
|
CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS |
||||||
|
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG |
||||||
|
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL |
||||||
|
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE |
||||||
|
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO |
||||||
|
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES |
||||||
|
CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 |
||||||
|
//Executable file format |
||||||
|
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown |
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS |
||||||
|
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG |
||||||
|
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL |
||||||
|
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE |
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO |
||||||
|
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
||||||
|
//Name of external makefile project generator. |
||||||
|
CMAKE_EXTRA_GENERATOR:INTERNAL= |
||||||
|
//Name of generator. |
||||||
|
CMAKE_GENERATOR:INTERNAL=Visual Studio 17 2022 |
||||||
|
//Generator instance identifier. |
||||||
|
CMAKE_GENERATOR_INSTANCE:INTERNAL=C:/Program Files/Microsoft Visual Studio/2022/Community |
||||||
|
//Name of generator platform. |
||||||
|
CMAKE_GENERATOR_PLATFORM:INTERNAL= |
||||||
|
//Name of generator toolset. |
||||||
|
CMAKE_GENERATOR_TOOLSET:INTERNAL= |
||||||
|
//Test CMAKE_HAVE_LIBC_PTHREAD |
||||||
|
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL= |
||||||
|
//Have library pthreads |
||||||
|
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL= |
||||||
|
//Have library pthread |
||||||
|
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL= |
||||||
|
//Source directory with the top level CMakeLists.txt file for this |
||||||
|
// project |
||||||
|
CMAKE_HOME_DIRECTORY:INTERNAL=C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer |
||||||
|
//ADVANCED property for variable: CMAKE_LINKER |
||||||
|
CMAKE_LINKER-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS |
||||||
|
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO |
||||||
|
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_MT |
||||||
|
CMAKE_MT-ADVANCED:INTERNAL=1 |
||||||
|
//number of local generators |
||||||
|
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 |
||||||
|
//Platform information initialized |
||||||
|
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 |
||||||
|
//noop for ranlib |
||||||
|
CMAKE_RANLIB:INTERNAL=: |
||||||
|
//ADVANCED property for variable: CMAKE_RC_COMPILER |
||||||
|
CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 |
||||||
|
CMAKE_RC_COMPILER_WORKS:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_RC_FLAGS |
||||||
|
CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG |
||||||
|
CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL |
||||||
|
CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE |
||||||
|
CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO |
||||||
|
CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
||||||
|
//Path to CMake installation. |
||||||
|
CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-3.25 |
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS |
||||||
|
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO |
||||||
|
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH |
||||||
|
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_SKIP_RPATH |
||||||
|
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS |
||||||
|
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO |
||||||
|
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 |
||||||
|
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE |
||||||
|
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 |
||||||
|
//Details about finding OpenCV |
||||||
|
FIND_PACKAGE_MESSAGE_DETAILS_OpenCV:INTERNAL=[C:/Users/mm930/OneDrive/桌面/lilin/Hailo/Infer/opencv/build][v4.6.0()] |
||||||
|
//Details about finding Threads |
||||||
|
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()] |
||||||
|
|
||||||
@ -0,0 +1,72 @@ |
|||||||
|
set(CMAKE_C_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe") |
||||||
|
set(CMAKE_C_COMPILER_ARG1 "") |
||||||
|
set(CMAKE_C_COMPILER_ID "MSVC") |
||||||
|
set(CMAKE_C_COMPILER_VERSION "19.41.34123.0") |
||||||
|
set(CMAKE_C_COMPILER_VERSION_INTERNAL "") |
||||||
|
set(CMAKE_C_COMPILER_WRAPPER "") |
||||||
|
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90") |
||||||
|
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "OFF") |
||||||
|
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;c_std_17") |
||||||
|
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") |
||||||
|
set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") |
||||||
|
set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") |
||||||
|
set(CMAKE_C17_COMPILE_FEATURES "c_std_17") |
||||||
|
set(CMAKE_C23_COMPILE_FEATURES "") |
||||||
|
|
||||||
|
set(CMAKE_C_PLATFORM_ID "Windows") |
||||||
|
set(CMAKE_C_SIMULATE_ID "") |
||||||
|
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") |
||||||
|
set(CMAKE_C_SIMULATE_VERSION "") |
||||||
|
set(CMAKE_C_COMPILER_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(MSVC_C_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/lib.exe") |
||||||
|
set(CMAKE_C_COMPILER_AR "") |
||||||
|
set(CMAKE_RANLIB ":") |
||||||
|
set(CMAKE_C_COMPILER_RANLIB "") |
||||||
|
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/link.exe") |
||||||
|
set(CMAKE_MT "CMAKE_MT-NOTFOUND") |
||||||
|
set(CMAKE_COMPILER_IS_GNUCC ) |
||||||
|
set(CMAKE_C_COMPILER_LOADED 1) |
||||||
|
set(CMAKE_C_COMPILER_WORKS TRUE) |
||||||
|
set(CMAKE_C_ABI_COMPILED TRUE) |
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ENV_VAR "CC") |
||||||
|
|
||||||
|
set(CMAKE_C_COMPILER_ID_RUN 1) |
||||||
|
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) |
||||||
|
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) |
||||||
|
set(CMAKE_C_LINKER_PREFERENCE 10) |
||||||
|
|
||||||
|
# Save compiler ABI information. |
||||||
|
set(CMAKE_C_SIZEOF_DATA_PTR "8") |
||||||
|
set(CMAKE_C_COMPILER_ABI "") |
||||||
|
set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") |
||||||
|
set(CMAKE_C_LIBRARY_ARCHITECTURE "") |
||||||
|
|
||||||
|
if(CMAKE_C_SIZEOF_DATA_PTR) |
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_C_COMPILER_ABI) |
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_C_LIBRARY_ARCHITECTURE) |
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "") |
||||||
|
endif() |
||||||
|
|
||||||
|
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") |
||||||
|
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) |
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") |
||||||
|
endif() |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "") |
||||||
|
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") |
||||||
|
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "") |
||||||
|
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") |
||||||
@ -0,0 +1,83 @@ |
|||||||
|
set(CMAKE_CXX_COMPILER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/cl.exe") |
||||||
|
set(CMAKE_CXX_COMPILER_ARG1 "") |
||||||
|
set(CMAKE_CXX_COMPILER_ID "MSVC") |
||||||
|
set(CMAKE_CXX_COMPILER_VERSION "19.41.34123.0") |
||||||
|
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") |
||||||
|
set(CMAKE_CXX_COMPILER_WRAPPER "") |
||||||
|
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") |
||||||
|
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "OFF") |
||||||
|
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;cxx_std_20;cxx_std_23") |
||||||
|
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") |
||||||
|
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") |
||||||
|
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") |
||||||
|
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") |
||||||
|
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") |
||||||
|
set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") |
||||||
|
|
||||||
|
set(CMAKE_CXX_PLATFORM_ID "Windows") |
||||||
|
set(CMAKE_CXX_SIMULATE_ID "") |
||||||
|
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") |
||||||
|
set(CMAKE_CXX_SIMULATE_VERSION "") |
||||||
|
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(MSVC_CXX_ARCHITECTURE_ID x64) |
||||||
|
|
||||||
|
set(CMAKE_AR "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/lib.exe") |
||||||
|
set(CMAKE_CXX_COMPILER_AR "") |
||||||
|
set(CMAKE_RANLIB ":") |
||||||
|
set(CMAKE_CXX_COMPILER_RANLIB "") |
||||||
|
set(CMAKE_LINKER "C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.41.34120/bin/Hostx64/x64/link.exe") |
||||||
|
set(CMAKE_MT "CMAKE_MT-NOTFOUND") |
||||||
|
set(CMAKE_COMPILER_IS_GNUCXX ) |
||||||
|
set(CMAKE_CXX_COMPILER_LOADED 1) |
||||||
|
set(CMAKE_CXX_COMPILER_WORKS TRUE) |
||||||
|
set(CMAKE_CXX_ABI_COMPILED TRUE) |
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") |
||||||
|
|
||||||
|
set(CMAKE_CXX_COMPILER_ID_RUN 1) |
||||||
|
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm) |
||||||
|
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) |
||||||
|
|
||||||
|
foreach (lang C OBJC OBJCXX) |
||||||
|
if (CMAKE_${lang}_COMPILER_ID_RUN) |
||||||
|
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) |
||||||
|
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) |
||||||
|
endforeach() |
||||||
|
endif() |
||||||
|
endforeach() |
||||||
|
|
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE 30) |
||||||
|
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) |
||||||
|
|
||||||
|
# Save compiler ABI information. |
||||||
|
set(CMAKE_CXX_SIZEOF_DATA_PTR "8") |
||||||
|
set(CMAKE_CXX_COMPILER_ABI "") |
||||||
|
set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") |
||||||
|
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") |
||||||
|
|
||||||
|
if(CMAKE_CXX_SIZEOF_DATA_PTR) |
||||||
|
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_CXX_COMPILER_ABI) |
||||||
|
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") |
||||||
|
endif() |
||||||
|
|
||||||
|
if(CMAKE_CXX_LIBRARY_ARCHITECTURE) |
||||||
|
set(CMAKE_LIBRARY_ARCHITECTURE "") |
||||||
|
endif() |
||||||
|
|
||||||
|
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") |
||||||
|
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) |
||||||
|
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") |
||||||
|
endif() |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "") |
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "") |
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "") |
||||||
|
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") |
||||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,6 @@ |
|||||||
|
set(CMAKE_RC_COMPILER "rc") |
||||||
|
set(CMAKE_RC_COMPILER_ARG1 "") |
||||||
|
set(CMAKE_RC_COMPILER_LOADED 1) |
||||||
|
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC) |
||||||
|
set(CMAKE_RC_OUTPUT_EXTENSION .res) |
||||||
|
set(CMAKE_RC_COMPILER_ENV_VAR "RC") |
||||||
@ -0,0 +1,15 @@ |
|||||||
|
set(CMAKE_HOST_SYSTEM "Windows-10.0.22631") |
||||||
|
set(CMAKE_HOST_SYSTEM_NAME "Windows") |
||||||
|
set(CMAKE_HOST_SYSTEM_VERSION "10.0.22631") |
||||||
|
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64") |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(CMAKE_SYSTEM "Windows-10.0.22631") |
||||||
|
set(CMAKE_SYSTEM_NAME "Windows") |
||||||
|
set(CMAKE_SYSTEM_VERSION "10.0.22631") |
||||||
|
set(CMAKE_SYSTEM_PROCESSOR "AMD64") |
||||||
|
|
||||||
|
set(CMAKE_CROSSCOMPILING "FALSE") |
||||||
|
|
||||||
|
set(CMAKE_SYSTEM_LOADED 1) |
||||||
@ -0,0 +1,868 @@ |
|||||||
|
#ifdef __cplusplus |
||||||
|
# error "A C++ compiler has been selected for C." |
||||||
|
#endif |
||||||
|
|
||||||
|
#if defined(__18CXX) |
||||||
|
# define ID_VOID_MAIN |
||||||
|
#endif |
||||||
|
#if defined(__CLASSIC_C__) |
||||||
|
/* cv-qualifiers did not exist in K&R C */ |
||||||
|
# define const |
||||||
|
# define volatile |
||||||
|
#endif |
||||||
|
|
||||||
|
#if !defined(__has_include) |
||||||
|
/* If the compiler does not have __has_include, pretend the answer is
|
||||||
|
always no. */ |
||||||
|
# define __has_include(x) 0 |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
/* Version number components: V=Version, R=Revision, P=Patch
|
||||||
|
Version date components: YYYY=Year, MM=Month, DD=Day */ |
||||||
|
|
||||||
|
#if defined(__INTEL_COMPILER) || defined(__ICC) |
||||||
|
# define COMPILER_ID "Intel" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
# endif |
||||||
|
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
|
||||||
|
except that a few beta releases use the old format with V=2021. */ |
||||||
|
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111 |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10) |
||||||
|
# if defined(__INTEL_COMPILER_UPDATE) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) |
||||||
|
# else |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) |
||||||
|
# endif |
||||||
|
# else |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE) |
||||||
|
/* The third version component from --version is an update index,
|
||||||
|
but no macro is provided for it. */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(0) |
||||||
|
# endif |
||||||
|
# if defined(__INTEL_COMPILER_BUILD_DATE) |
||||||
|
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) |
||||||
|
# endif |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# elif defined(__GNUG__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER) |
||||||
|
# define COMPILER_ID "IntelLLVM" |
||||||
|
#if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
#endif |
||||||
|
#if defined(__GNUC__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
#endif |
||||||
|
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
|
||||||
|
* later. Look for 6 digit vs. 8 digit version number to decide encoding. |
||||||
|
* VVVV is no smaller than the current year when a version is released. |
||||||
|
*/ |
||||||
|
#if __INTEL_LLVM_COMPILER < 1000000L |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10) |
||||||
|
#else |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100) |
||||||
|
#endif |
||||||
|
#if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
#elif defined(__GNUG__) |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
#endif |
||||||
|
#if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
#endif |
||||||
|
|
||||||
|
#elif defined(__PATHCC__) |
||||||
|
# define COMPILER_ID "PathScale" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) |
||||||
|
# if defined(__PATHCC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) |
||||||
|
# define COMPILER_ID "Embarcadero" |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) |
||||||
|
|
||||||
|
#elif defined(__BORLANDC__) |
||||||
|
# define COMPILER_ID "Borland" |
||||||
|
/* __BORLANDC__ = 0xVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 |
||||||
|
# define COMPILER_ID "Watcom" |
||||||
|
/* __WATCOMC__ = VVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) |
||||||
|
# if (__WATCOMC__ % 10) > 0 |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# define COMPILER_ID "OpenWatcom" |
||||||
|
/* __WATCOMC__ = VVRP + 1100 */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) |
||||||
|
# if (__WATCOMC__ % 10) > 0 |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__SUNPRO_C) |
||||||
|
# define COMPILER_ID "SunPro" |
||||||
|
# if __SUNPRO_C >= 0x5100 |
||||||
|
/* __SUNPRO_C = 0xVRRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) |
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) |
||||||
|
# else |
||||||
|
/* __SUNPRO_CC = 0xVRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) |
||||||
|
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) |
||||||
|
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__HP_cc) |
||||||
|
# define COMPILER_ID "HP" |
||||||
|
/* __HP_cc = VVRRPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) |
||||||
|
|
||||||
|
#elif defined(__DECC) |
||||||
|
# define COMPILER_ID "Compaq" |
||||||
|
/* __DECC_VER = VVRRTPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) |
||||||
|
|
||||||
|
#elif defined(__IBMC__) && defined(__COMPILER_VER__) |
||||||
|
# define COMPILER_ID "zOS" |
||||||
|
/* __IBMC__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) |
||||||
|
|
||||||
|
#elif defined(__open_xl__) && defined(__clang__) |
||||||
|
# define COMPILER_ID "IBMClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ibmxl__) && defined(__clang__) |
||||||
|
# define COMPILER_ID "XLClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 |
||||||
|
# define COMPILER_ID "XL" |
||||||
|
/* __IBMC__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) |
||||||
|
|
||||||
|
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 |
||||||
|
# define COMPILER_ID "VisualAge" |
||||||
|
/* __IBMC__ = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) |
||||||
|
|
||||||
|
#elif defined(__NVCOMPILER) |
||||||
|
# define COMPILER_ID "NVHPC" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) |
||||||
|
# if defined(__NVCOMPILER_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__PGI) |
||||||
|
# define COMPILER_ID "PGI" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__PGIC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) |
||||||
|
# if defined(__PGIC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_CRAYC) |
||||||
|
# define COMPILER_ID "Cray" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) |
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__) |
||||||
|
# define COMPILER_ID "TI" |
||||||
|
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) |
||||||
|
|
||||||
|
#elif defined(__CLANG_FUJITSU) |
||||||
|
# define COMPILER_ID "FujitsuClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) |
||||||
|
# define COMPILER_VERSION_INTERNAL_STR __clang_version__ |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__FUJITSU) |
||||||
|
# define COMPILER_ID "Fujitsu" |
||||||
|
# if defined(__FCC_version__) |
||||||
|
# define COMPILER_VERSION __FCC_version__ |
||||||
|
# elif defined(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) |
||||||
|
# endif |
||||||
|
# if defined(__fcc_version) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) |
||||||
|
# elif defined(__FCC_VERSION) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) |
||||||
|
# endif |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__ghs__) |
||||||
|
# define COMPILER_ID "GHS" |
||||||
|
/* __GHS_VERSION_NUMBER = VVVVRP */ |
||||||
|
# ifdef __GHS_VERSION_NUMBER |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__TASKING__) |
||||||
|
# define COMPILER_ID "Tasking" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) |
||||||
|
|
||||||
|
#elif defined(__TINYC__) |
||||||
|
# define COMPILER_ID "TinyCC" |
||||||
|
|
||||||
|
#elif defined(__BCC__) |
||||||
|
# define COMPILER_ID "Bruce" |
||||||
|
|
||||||
|
#elif defined(__SCO_VERSION__) |
||||||
|
# define COMPILER_ID "SCO" |
||||||
|
|
||||||
|
#elif defined(__ARMCC_VERSION) && !defined(__clang__) |
||||||
|
# define COMPILER_ID "ARMCC" |
||||||
|
#if __ARMCC_VERSION >= 1000000 |
||||||
|
/* __ARMCC_VERSION = VRRPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) |
||||||
|
#else |
||||||
|
/* __ARMCC_VERSION = VRPPPP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) |
||||||
|
#endif |
||||||
|
|
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__apple_build_version__) |
||||||
|
# define COMPILER_ID "AppleClang" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) |
||||||
|
|
||||||
|
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) |
||||||
|
# define COMPILER_ID "ARMClang" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) |
||||||
|
|
||||||
|
#elif defined(__clang__) |
||||||
|
# define COMPILER_ID "Clang" |
||||||
|
# if defined(_MSC_VER) |
||||||
|
# define SIMULATE_ID "MSVC" |
||||||
|
# endif |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__clang_major__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__clang_minor__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) |
||||||
|
# if defined(_MSC_VER) |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) |
||||||
|
# define COMPILER_ID "LCC" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(1) |
||||||
|
# if defined(__LCC__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__LCC__- 100) |
||||||
|
# endif |
||||||
|
# if defined(__LCC_MINOR__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC__) && defined(__GNUC_MINOR__) |
||||||
|
# define SIMULATE_ID "GNU" |
||||||
|
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__GNUC__) |
||||||
|
# define COMPILER_ID "GNU" |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__GNUC__) |
||||||
|
# if defined(__GNUC_MINOR__) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) |
||||||
|
# endif |
||||||
|
# if defined(__GNUC_PATCHLEVEL__) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_MSC_VER) |
||||||
|
# define COMPILER_ID "MSVC" |
||||||
|
/* _MSC_VER = VVRR */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) |
||||||
|
# if defined(_MSC_FULL_VER) |
||||||
|
# if _MSC_VER >= 1400 |
||||||
|
/* _MSC_FULL_VER = VVRRPPPPP */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) |
||||||
|
# else |
||||||
|
/* _MSC_FULL_VER = VVRRPPPP */ |
||||||
|
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# if defined(_MSC_BUILD) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(_ADI_COMPILER) |
||||||
|
# define COMPILER_ID "ADSP" |
||||||
|
#if defined(__VERSIONNUM__) |
||||||
|
/* __VERSIONNUM__ = 0xVVRRPPTT */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) |
||||||
|
# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) |
||||||
|
#endif |
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) |
||||||
|
# define COMPILER_ID "IAR" |
||||||
|
# if defined(__VER__) && defined(__ICCARM__) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) |
||||||
|
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) |
||||||
|
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) |
||||||
|
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) |
||||||
|
# define COMPILER_ID "SDCC" |
||||||
|
# if defined(__SDCC_VERSION_MAJOR) |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) |
||||||
|
# else |
||||||
|
/* SDCC = VRP */ |
||||||
|
# define COMPILER_VERSION_MAJOR DEC(SDCC/100) |
||||||
|
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) |
||||||
|
# define COMPILER_VERSION_PATCH DEC(SDCC % 10) |
||||||
|
# endif |
||||||
|
|
||||||
|
|
||||||
|
/* These compilers are either not known or too old to define an
|
||||||
|
identification macro. Try to identify the platform and guess that |
||||||
|
it is the native compiler. */ |
||||||
|
#elif defined(__hpux) || defined(__hpua) |
||||||
|
# define COMPILER_ID "HP" |
||||||
|
|
||||||
|
#else /* unknown compiler */ |
||||||
|
# define COMPILER_ID "" |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array |
||||||
|
because some compilers will just produce instructions to fill the |
||||||
|
array rather than assigning a pointer to a static array. */ |
||||||
|
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; |
||||||
|
#ifdef SIMULATE_ID |
||||||
|
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#ifdef __QNXNTO__ |
||||||
|
char const* qnxnto = "INFO" ":" "qnxnto[]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) |
||||||
|
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
#define STRINGIFY_HELPER(X) #X |
||||||
|
#define STRINGIFY(X) STRINGIFY_HELPER(X) |
||||||
|
|
||||||
|
/* Identify known platforms by name. */ |
||||||
|
#if defined(__linux) || defined(__linux__) || defined(linux) |
||||||
|
# define PLATFORM_ID "Linux" |
||||||
|
|
||||||
|
#elif defined(__MSYS__) |
||||||
|
# define PLATFORM_ID "MSYS" |
||||||
|
|
||||||
|
#elif defined(__CYGWIN__) |
||||||
|
# define PLATFORM_ID "Cygwin" |
||||||
|
|
||||||
|
#elif defined(__MINGW32__) |
||||||
|
# define PLATFORM_ID "MinGW" |
||||||
|
|
||||||
|
#elif defined(__APPLE__) |
||||||
|
# define PLATFORM_ID "Darwin" |
||||||
|
|
||||||
|
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) |
||||||
|
# define PLATFORM_ID "Windows" |
||||||
|
|
||||||
|
#elif defined(__FreeBSD__) || defined(__FreeBSD) |
||||||
|
# define PLATFORM_ID "FreeBSD" |
||||||
|
|
||||||
|
#elif defined(__NetBSD__) || defined(__NetBSD) |
||||||
|
# define PLATFORM_ID "NetBSD" |
||||||
|
|
||||||
|
#elif defined(__OpenBSD__) || defined(__OPENBSD) |
||||||
|
# define PLATFORM_ID "OpenBSD" |
||||||
|
|
||||||
|
#elif defined(__sun) || defined(sun) |
||||||
|
# define PLATFORM_ID "SunOS" |
||||||
|
|
||||||
|
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) |
||||||
|
# define PLATFORM_ID "AIX" |
||||||
|
|
||||||
|
#elif defined(__hpux) || defined(__hpux__) |
||||||
|
# define PLATFORM_ID "HP-UX" |
||||||
|
|
||||||
|
#elif defined(__HAIKU__) |
||||||
|
# define PLATFORM_ID "Haiku" |
||||||
|
|
||||||
|
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) |
||||||
|
# define PLATFORM_ID "BeOS" |
||||||
|
|
||||||
|
#elif defined(__QNX__) || defined(__QNXNTO__) |
||||||
|
# define PLATFORM_ID "QNX" |
||||||
|
|
||||||
|
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) |
||||||
|
# define PLATFORM_ID "Tru64" |
||||||
|
|
||||||
|
#elif defined(__riscos) || defined(__riscos__) |
||||||
|
# define PLATFORM_ID "RISCos" |
||||||
|
|
||||||
|
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) |
||||||
|
# define PLATFORM_ID "SINIX" |
||||||
|
|
||||||
|
#elif defined(__UNIX_SV__) |
||||||
|
# define PLATFORM_ID "UNIX_SV" |
||||||
|
|
||||||
|
#elif defined(__bsdos__) |
||||||
|
# define PLATFORM_ID "BSDOS" |
||||||
|
|
||||||
|
#elif defined(_MPRAS) || defined(MPRAS) |
||||||
|
# define PLATFORM_ID "MP-RAS" |
||||||
|
|
||||||
|
#elif defined(__osf) || defined(__osf__) |
||||||
|
# define PLATFORM_ID "OSF1" |
||||||
|
|
||||||
|
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) |
||||||
|
# define PLATFORM_ID "SCO_SV" |
||||||
|
|
||||||
|
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) |
||||||
|
# define PLATFORM_ID "ULTRIX" |
||||||
|
|
||||||
|
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) |
||||||
|
# define PLATFORM_ID "Xenix" |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# if defined(__LINUX__) |
||||||
|
# define PLATFORM_ID "Linux" |
||||||
|
|
||||||
|
# elif defined(__DOS__) |
||||||
|
# define PLATFORM_ID "DOS" |
||||||
|
|
||||||
|
# elif defined(__OS2__) |
||||||
|
# define PLATFORM_ID "OS2" |
||||||
|
|
||||||
|
# elif defined(__WINDOWS__) |
||||||
|
# define PLATFORM_ID "Windows3x" |
||||||
|
|
||||||
|
# elif defined(__VXWORKS__) |
||||||
|
# define PLATFORM_ID "VxWorks" |
||||||
|
|
||||||
|
# else /* unknown platform */ |
||||||
|
# define PLATFORM_ID |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__INTEGRITY) |
||||||
|
# if defined(INT_178B) |
||||||
|
# define PLATFORM_ID "Integrity178" |
||||||
|
|
||||||
|
# else /* regular Integrity */ |
||||||
|
# define PLATFORM_ID "Integrity" |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(_ADI_COMPILER) |
||||||
|
# define PLATFORM_ID "ADSP" |
||||||
|
|
||||||
|
#else /* unknown platform */ |
||||||
|
# define PLATFORM_ID |
||||||
|
|
||||||
|
#endif |
||||||
|
|
||||||
|
/* For windows compilers MSVC and Intel we can determine
|
||||||
|
the architecture of the compiler being used. This is because |
||||||
|
the compilers do not have flags that can change the architecture, |
||||||
|
but rather depend on which compiler is being used |
||||||
|
*/ |
||||||
|
#if defined(_WIN32) && defined(_MSC_VER) |
||||||
|
# if defined(_M_IA64) |
||||||
|
# define ARCHITECTURE_ID "IA64" |
||||||
|
|
||||||
|
# elif defined(_M_ARM64EC) |
||||||
|
# define ARCHITECTURE_ID "ARM64EC" |
||||||
|
|
||||||
|
# elif defined(_M_X64) || defined(_M_AMD64) |
||||||
|
# define ARCHITECTURE_ID "x64" |
||||||
|
|
||||||
|
# elif defined(_M_IX86) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# elif defined(_M_ARM64) |
||||||
|
# define ARCHITECTURE_ID "ARM64" |
||||||
|
|
||||||
|
# elif defined(_M_ARM) |
||||||
|
# if _M_ARM == 4 |
||||||
|
# define ARCHITECTURE_ID "ARMV4I" |
||||||
|
# elif _M_ARM == 5 |
||||||
|
# define ARCHITECTURE_ID "ARMV5I" |
||||||
|
# else |
||||||
|
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(_M_MIPS) |
||||||
|
# define ARCHITECTURE_ID "MIPS" |
||||||
|
|
||||||
|
# elif defined(_M_SH) |
||||||
|
# define ARCHITECTURE_ID "SHx" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__WATCOMC__) |
||||||
|
# if defined(_M_I86) |
||||||
|
# define ARCHITECTURE_ID "I86" |
||||||
|
|
||||||
|
# elif defined(_M_IX86) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) |
||||||
|
# if defined(__ICCARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__ICCRX__) |
||||||
|
# define ARCHITECTURE_ID "RX" |
||||||
|
|
||||||
|
# elif defined(__ICCRH850__) |
||||||
|
# define ARCHITECTURE_ID "RH850" |
||||||
|
|
||||||
|
# elif defined(__ICCRL78__) |
||||||
|
# define ARCHITECTURE_ID "RL78" |
||||||
|
|
||||||
|
# elif defined(__ICCRISCV__) |
||||||
|
# define ARCHITECTURE_ID "RISCV" |
||||||
|
|
||||||
|
# elif defined(__ICCAVR__) |
||||||
|
# define ARCHITECTURE_ID "AVR" |
||||||
|
|
||||||
|
# elif defined(__ICC430__) |
||||||
|
# define ARCHITECTURE_ID "MSP430" |
||||||
|
|
||||||
|
# elif defined(__ICCV850__) |
||||||
|
# define ARCHITECTURE_ID "V850" |
||||||
|
|
||||||
|
# elif defined(__ICC8051__) |
||||||
|
# define ARCHITECTURE_ID "8051" |
||||||
|
|
||||||
|
# elif defined(__ICCSTM8__) |
||||||
|
# define ARCHITECTURE_ID "STM8" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__ghs__) |
||||||
|
# if defined(__PPC64__) |
||||||
|
# define ARCHITECTURE_ID "PPC64" |
||||||
|
|
||||||
|
# elif defined(__ppc__) |
||||||
|
# define ARCHITECTURE_ID "PPC" |
||||||
|
|
||||||
|
# elif defined(__ARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__x86_64__) |
||||||
|
# define ARCHITECTURE_ID "x64" |
||||||
|
|
||||||
|
# elif defined(__i386__) |
||||||
|
# define ARCHITECTURE_ID "X86" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#elif defined(__TI_COMPILER_VERSION__) |
||||||
|
# if defined(__TI_ARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__MSP430__) |
||||||
|
# define ARCHITECTURE_ID "MSP430" |
||||||
|
|
||||||
|
# elif defined(__TMS320C28XX__) |
||||||
|
# define ARCHITECTURE_ID "TMS320C28x" |
||||||
|
|
||||||
|
# elif defined(__TMS320C6X__) || defined(_TMS320C6X) |
||||||
|
# define ARCHITECTURE_ID "TMS320C6x" |
||||||
|
|
||||||
|
# else /* unknown architecture */ |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
# elif defined(__ADSPSHARC__) |
||||||
|
# define ARCHITECTURE_ID "SHARC" |
||||||
|
|
||||||
|
# elif defined(__ADSPBLACKFIN__) |
||||||
|
# define ARCHITECTURE_ID "Blackfin" |
||||||
|
|
||||||
|
#elif defined(__TASKING__) |
||||||
|
|
||||||
|
# if defined(__CTC__) || defined(__CPTC__) |
||||||
|
# define ARCHITECTURE_ID "TriCore" |
||||||
|
|
||||||
|
# elif defined(__CMCS__) |
||||||
|
# define ARCHITECTURE_ID "MCS" |
||||||
|
|
||||||
|
# elif defined(__CARM__) |
||||||
|
# define ARCHITECTURE_ID "ARM" |
||||||
|
|
||||||
|
# elif defined(__CARC__) |
||||||
|
# define ARCHITECTURE_ID "ARC" |
||||||
|
|
||||||
|
# elif defined(__C51__) |
||||||
|
# define ARCHITECTURE_ID "8051" |
||||||
|
|
||||||
|
# elif defined(__CPCP__) |
||||||
|
# define ARCHITECTURE_ID "PCP" |
||||||
|
|
||||||
|
# else |
||||||
|
# define ARCHITECTURE_ID "" |
||||||
|
# endif |
||||||
|
|
||||||
|
#else |
||||||
|
# define ARCHITECTURE_ID |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Convert integer to decimal digit literals. */ |
||||||
|
#define DEC(n) \ |
||||||
|
('0' + (((n) / 10000000)%10)), \
|
||||||
|
('0' + (((n) / 1000000)%10)), \
|
||||||
|
('0' + (((n) / 100000)%10)), \
|
||||||
|
('0' + (((n) / 10000)%10)), \
|
||||||
|
('0' + (((n) / 1000)%10)), \
|
||||||
|
('0' + (((n) / 100)%10)), \
|
||||||
|
('0' + (((n) / 10)%10)), \
|
||||||
|
('0' + ((n) % 10)) |
||||||
|
|
||||||
|
/* Convert integer to hex digit literals. */ |
||||||
|
#define HEX(n) \ |
||||||
|
('0' + ((n)>>28 & 0xF)), \
|
||||||
|
('0' + ((n)>>24 & 0xF)), \
|
||||||
|
('0' + ((n)>>20 & 0xF)), \
|
||||||
|
('0' + ((n)>>16 & 0xF)), \
|
||||||
|
('0' + ((n)>>12 & 0xF)), \
|
||||||
|
('0' + ((n)>>8 & 0xF)), \
|
||||||
|
('0' + ((n)>>4 & 0xF)), \
|
||||||
|
('0' + ((n) & 0xF)) |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number. */ |
||||||
|
#ifdef COMPILER_VERSION |
||||||
|
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */ |
||||||
|
#elif defined(COMPILER_VERSION_MAJOR) |
||||||
|
char const info_version[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', |
||||||
|
COMPILER_VERSION_MAJOR, |
||||||
|
# ifdef COMPILER_VERSION_MINOR |
||||||
|
'.', COMPILER_VERSION_MINOR, |
||||||
|
# ifdef COMPILER_VERSION_PATCH |
||||||
|
'.', COMPILER_VERSION_PATCH, |
||||||
|
# ifdef COMPILER_VERSION_TWEAK |
||||||
|
'.', COMPILER_VERSION_TWEAK, |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
']','\0'}; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct a string literal encoding the internal version number. */ |
||||||
|
#ifdef COMPILER_VERSION_INTERNAL |
||||||
|
char const info_version_internal[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', |
||||||
|
'i','n','t','e','r','n','a','l','[', |
||||||
|
COMPILER_VERSION_INTERNAL,']','\0'}; |
||||||
|
#elif defined(COMPILER_VERSION_INTERNAL_STR) |
||||||
|
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct a string literal encoding the version number components. */ |
||||||
|
#ifdef SIMULATE_VERSION_MAJOR |
||||||
|
char const info_simulate_version[] = { |
||||||
|
'I', 'N', 'F', 'O', ':', |
||||||
|
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', |
||||||
|
SIMULATE_VERSION_MAJOR, |
||||||
|
# ifdef SIMULATE_VERSION_MINOR |
||||||
|
'.', SIMULATE_VERSION_MINOR, |
||||||
|
# ifdef SIMULATE_VERSION_PATCH |
||||||
|
'.', SIMULATE_VERSION_PATCH, |
||||||
|
# ifdef SIMULATE_VERSION_TWEAK |
||||||
|
'.', SIMULATE_VERSION_TWEAK, |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
# endif |
||||||
|
']','\0'}; |
||||||
|
#endif |
||||||
|
|
||||||
|
/* Construct the string literal in pieces to prevent the source from
|
||||||
|
getting matched. Store it in a pointer rather than an array |
||||||
|
because some compilers will just produce instructions to fill the |
||||||
|
array rather than assigning a pointer to a static array. */ |
||||||
|
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; |
||||||
|
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#if !defined(__STDC__) && !defined(__clang__) |
||||||
|
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) |
||||||
|
# define C_VERSION "90" |
||||||
|
# else |
||||||
|
# define C_VERSION |
||||||
|
# endif |
||||||
|
#elif __STDC_VERSION__ > 201710L |
||||||
|
# define C_VERSION "23" |
||||||
|
#elif __STDC_VERSION__ >= 201710L |
||||||
|
# define C_VERSION "17" |
||||||
|
#elif __STDC_VERSION__ >= 201000L |
||||||
|
# define C_VERSION "11" |
||||||
|
#elif __STDC_VERSION__ >= 199901L |
||||||
|
# define C_VERSION "99" |
||||||
|
#else |
||||||
|
# define C_VERSION "90" |
||||||
|
#endif |
||||||
|
const char* info_language_standard_default = |
||||||
|
"INFO" ":" "standard_default[" C_VERSION "]"; |
||||||
|
|
||||||
|
const char* info_language_extensions_default = "INFO" ":" "extensions_default[" |
||||||
|
#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ |
||||||
|
defined(__TI_COMPILER_VERSION__)) && \
|
||||||
|
!defined(__STRICT_ANSI__) |
||||||
|
"ON" |
||||||
|
#else |
||||||
|
"OFF" |
||||||
|
#endif |
||||||
|
"]"; |
||||||
|
|
||||||
|
/*--------------------------------------------------------------------------*/ |
||||||
|
|
||||||
|
#ifdef ID_VOID_MAIN |
||||||
|
void main() {} |
||||||
|
#else |
||||||
|
# if defined(__CLASSIC_C__) |
||||||
|
int main(argc, argv) int argc; char *argv[]; |
||||||
|
# else |
||||||
|
int main(int argc, char* argv[]) |
||||||
|
# endif |
||||||
|
{ |
||||||
|
int require = 0; |
||||||
|
require += info_compiler[argc]; |
||||||
|
require += info_platform[argc]; |
||||||
|
require += info_arch[argc]; |
||||||
|
#ifdef COMPILER_VERSION_MAJOR |
||||||
|
require += info_version[argc]; |
||||||
|
#endif |
||||||
|
#ifdef COMPILER_VERSION_INTERNAL |
||||||
|
require += info_version_internal[argc]; |
||||||
|
#endif |
||||||
|
#ifdef SIMULATE_ID |
||||||
|
require += info_simulate[argc]; |
||||||
|
#endif |
||||||
|
#ifdef SIMULATE_VERSION_MAJOR |
||||||
|
require += info_simulate_version[argc]; |
||||||
|
#endif |
||||||
|
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) |
||||||
|
require += info_cray[argc]; |
||||||
|
#endif |
||||||
|
require += info_language_standard_default[argc]; |
||||||
|
require += info_language_extensions_default[argc]; |
||||||
|
(void)argv; |
||||||
|
return require; |
||||||
|
} |
||||||
|
#endif |
||||||
Binary file not shown.
@ -0,0 +1,71 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
||||||
|
<ItemGroup Label="ProjectConfigurations"> |
||||||
|
<ProjectConfiguration Include="Debug|x64"> |
||||||
|
<Configuration>Debug</Configuration> |
||||||
|
<Platform>x64</Platform> |
||||||
|
</ProjectConfiguration> |
||||||
|
</ItemGroup> |
||||||
|
<PropertyGroup Label="Globals"> |
||||||
|
<ProjectGuid>{CAE07175-D007-4FC3-BFE8-47B392814159}</ProjectGuid> |
||||||
|
<RootNamespace>CompilerIdC</RootNamespace> |
||||||
|
<Keyword>Win32Proj</Keyword> |
||||||
|
|
||||||
|
|
||||||
|
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion> |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</PropertyGroup> |
||||||
|
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> |
||||||
|
<PropertyGroup> |
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture> |
||||||
|
</PropertyGroup> |
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> |
||||||
|
<ConfigurationType>Application</ConfigurationType> |
||||||
|
<PlatformToolset>v143</PlatformToolset> |
||||||
|
<CharacterSet>MultiByte</CharacterSet> |
||||||
|
</PropertyGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> |
||||||
|
<ImportGroup Label="ExtensionSettings"> |
||||||
|
|
||||||
|
</ImportGroup> |
||||||
|
<PropertyGroup> |
||||||
|
<_ProjectFileVersion>10.0.30319.1</_ProjectFileVersion> |
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">.\</OutDir> |
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Configuration)\</IntDir> |
||||||
|
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</LinkIncremental> |
||||||
|
</PropertyGroup> |
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> |
||||||
|
<ClCompile> |
||||||
|
<Optimization>Disabled</Optimization> |
||||||
|
<PreprocessorDefinitions>%(PreprocessorDefinitions)</PreprocessorDefinitions> |
||||||
|
<MinimalRebuild>false</MinimalRebuild> |
||||||
|
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> |
||||||
|
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> |
||||||
|
<PrecompiledHeader> |
||||||
|
</PrecompiledHeader> |
||||||
|
<WarningLevel>TurnOffAllWarnings</WarningLevel> |
||||||
|
<DebugInformationFormat> |
||||||
|
</DebugInformationFormat> |
||||||
|
</ClCompile> |
||||||
|
|
||||||
|
<Link> |
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation> |
||||||
|
<SubSystem>Console</SubSystem> |
||||||
|
|
||||||
|
</Link> |
||||||
|
<PostBuildEvent> |
||||||
|
<Command>for %%i in (cl.exe) do %40echo CMAKE_C_COMPILER=%%~$PATH:i</Command> |
||||||
|
</PostBuildEvent> |
||||||
|
</ItemDefinitionGroup> |
||||||
|
<ItemGroup> |
||||||
|
<ClCompile Include="CMakeCCompilerId.c" /> |
||||||
|
</ItemGroup> |
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
||||||
|
<ImportGroup Label="ExtensionTargets"> |
||||||
|
|
||||||
|
</ImportGroup> |
||||||
|
</Project> |
||||||
Binary file not shown.
@ -0,0 +1,11 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<Project> |
||||||
|
<ProjectOutputs> |
||||||
|
<ProjectOutput> |
||||||
|
<FullPath>C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CompilerIdC\CompilerIdC.exe</FullPath> |
||||||
|
</ProjectOutput> |
||||||
|
</ProjectOutputs> |
||||||
|
<ContentFiles /> |
||||||
|
<SatelliteDlls /> |
||||||
|
<NonRecipeFileRefs /> |
||||||
|
</Project> |
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||||||
|
C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CompilerIdC\CMakeCCompilerId.c;C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CompilerIdC\Debug\CMakeCCompilerId.obj |
||||||
@ -0,0 +1,2 @@ |
|||||||
|
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.41.34120:TargetPlatformVersion=10.0.22621.0: |
||||||
|
Debug|x64|C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\build\CMakeFiles\3.25.1\CompilerIdC\| |
||||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@ |
|||||||
|
^C:\USERS\MM930\ONEDRIVE\DOCUMENTS\HAILO\YUVINFER\BUILD\CMAKEFILES\3.25.1\COMPILERIDC\DEBUG\CMAKECCOMPILERID.OBJ |
||||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue