1. 解决编译错突
This commit is contained in:
Generated
+8
@@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
Generated
+2
@@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module classpath="CMake" type="CPP_MODULE" version="4" />
|
||||
Generated
+164
@@ -0,0 +1,164 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false">
|
||||
<serverData>
|
||||
<paths name="192.168.96.11 (19275d7b-e08c-4fc8-80a3-5258b306e748)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.11 (577dd979-5800-4921-9052-2d0114993e57)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.11_gcc (f4cff9b3-b79b-4360-9b68-6863d0e52eb6)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping deploy="/tmp/tmp.Km6nRET6My" local="$PROJECT_DIR$" />
|
||||
</mappings>
|
||||
<excludedPaths>
|
||||
<excludedPath local="true" path="$PROJECT_DIR$/cmake-build-debug" />
|
||||
</excludedPaths>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.21 (21ec9ba3-e858-483e-a394-9806896503fc)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.21 (3b831f2d-34cd-407b-a6f5-033ab46bce0e)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.21 (bcb00672-6e5b-47e8-bf3d-d0fe63e858ad)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.21 (gcc) (2cb8c470-a8bb-49b8-b52a-ff6f35478727)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.21 (gcc) (8e66df4a-3d3d-4f00-ace7-8623dc9056ca)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="192.168.96.21 (gcc) (d50e26f1-3872-4051-84ee-62579ae83119)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="ARM32_HF (48362004-6bd9-40f6-abcf-3c299e2a1cb8)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="ARM32_HF (4a1eba75-c674-4122-ac7a-b1561e171ad0)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="ARM32_HF (b8f30577-a8a3-4ef2-9f14-e62af7da06d3)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="ARM32_HF (ce6c1648-3609-4831-baee-9156bf5c482d)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="PEE (09678420-3e38-4de5-b21b-26144b2c9a53)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="PEE (3b43b9cd-19bc-42cc-bb22-b96145d461c0)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="PEE (99f97efd-13d4-4ab9-83a6-24485c9a7c65)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="PEE (9b716b2e-a24c-42b3-8a0c-b05b44f677aa)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="Remote Host (00e2ffe8-a721-4411-bc96-8dc7d3fe0664)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="Remote Host (412f47ee-7aa9-43d2-99ba-92c64d039dc4)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="Remote Host (52e086cd-3006-4035-be50-56c78f9f48b4)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="Remote Host (6470e51d-f3c5-4ccd-bb46-a7c5d0fb1a19)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
<paths name="Remote Host (cff5087d-5b9d-44c0-a6fb-84a4077511f6)">
|
||||
<serverdata>
|
||||
<mappings>
|
||||
<mapping local="$PROJECT_DIR$" web="/" />
|
||||
</mappings>
|
||||
</serverdata>
|
||||
</paths>
|
||||
</serverData>
|
||||
</component>
|
||||
</project>
|
||||
Generated
+4
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CMakeWorkspace" PROJECT_DIR="$PROJECT_DIR$" />
|
||||
</project>
|
||||
Generated
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/dcapp.iml" filepath="$PROJECT_DIR$/.idea/dcapp.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
Generated
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AutoUploadManager">
|
||||
<option name="hosts">
|
||||
<list>
|
||||
<option value="f4cff9b3-b79b-4360-9b68-6863d0e52eb6" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
Generated
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
+10
-11
@@ -4,9 +4,9 @@ project(dcapp)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_FLAGS "-std=c++11")
|
||||
|
||||
include_directories(./
|
||||
./datacenter/inc)
|
||||
|
||||
include_directories(${PROJECT_SOURCE_DIR}/
|
||||
${PROJECT_SOURCE_DIR}/datacenter/inc
|
||||
${PROJECT_SOURCE_DIR}/common/inc)
|
||||
|
||||
LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/lib/x86)
|
||||
|
||||
@@ -15,30 +15,29 @@ aux_source_directory(./dataservice DS_SRC)
|
||||
aux_source_directory(${PROJECT_SOURCE_DIR}/datacenter/bizService DS_BIZSRC)
|
||||
|
||||
|
||||
add_executable(dcapp
|
||||
${PROJECT_SOURCE_DIR}/main.cpp
|
||||
add_executable(dcapp ${PROJECT_SOURCE_DIR}/main.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/src/datacenter.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/src/mqttClient.cpp
|
||||
${PROJECT_SOURCE_DIR}/common/src/queue.cpp
|
||||
${PROJECT_SOURCE_DIR}/common/src/ToolUtils.cpp
|
||||
${PROJECT_SOURCE_DIR}/common/src/thread_pool.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_GetVersion.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_GetVersion.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/src/queue.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/src/mqttClient.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/src/ToolUtils.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/src/thread_pool.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_InsertRecord.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_UpdateRecord.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_GetSaveCount.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_Tool.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_GetSupportNum.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_SetSupportNum.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_ReadData.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_WriteData.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_Online.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/F_SetSubscribe.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/f-readdata/normalDataDB.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/db_api/db_api.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/db_api/db_sqlite.cpp
|
||||
${PROJECT_SOURCE_DIR}/datacenter/bizService/db_api/db_param.cpp
|
||||
${DC_SRC} ${DS_SRC} ${DQ_SRC} ${DS_BIZSRC}
|
||||
)
|
||||
|
||||
target_link_libraries(dcapp
|
||||
paho-mqtt3c
|
||||
sqlite3
|
||||
|
||||
+2
-2
@@ -22,10 +22,10 @@
|
||||
"F-DelUserDic"
|
||||
],
|
||||
"subTopics": [
|
||||
"/sys.dbc/sys.brd/S-datacenter/F-GetVersion",
|
||||
"/sys.dbc/+/S-datacenter/+"
|
||||
],
|
||||
"pubTopics": [
|
||||
"/sys.brd/sys.dbc/S-datacenter/F-Online"
|
||||
"/sys.brd/sys.dbc/S-datacenter/F-Online",
|
||||
"/sys.brd/sys.dbc/S-datacenter/F-NotifyInit"
|
||||
|
||||
]
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,76 @@
|
||||
set(CMAKE_C_COMPILER "/usr/bin/cc")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "9.4.0")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
||||
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")
|
||||
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_C_PLATFORM_ID "Linux")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-9")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW )
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
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 "ELF")
|
||||
set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
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 "x86_64-linux-gnu")
|
||||
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 "/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
@@ -0,0 +1,88 @@
|
||||
set(CMAKE_CXX_COMPILER "/usr/bin/c++")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "9.4.0")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
|
||||
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")
|
||||
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_CXX_PLATFORM_ID "Linux")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "/usr/bin/ar")
|
||||
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-9")
|
||||
set(CMAKE_RANLIB "/usr/bin/ranlib")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-9")
|
||||
set(CMAKE_LINKER "/usr/bin/ld")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW )
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
|
||||
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 "ELF")
|
||||
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
|
||||
|
||||
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 "x86_64-linux-gnu")
|
||||
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 "/usr/include/c++/9;/usr/include/x86_64-linux-gnu/c++/9;/usr/include/c++/9/backward;/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
@@ -0,0 +1,15 @@
|
||||
set(CMAKE_HOST_SYSTEM "Linux-5.4.0-204-generic")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "5.4.0-204-generic")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Linux-5.4.0-204-generic")
|
||||
set(CMAKE_SYSTEM_NAME "Linux")
|
||||
set(CMAKE_SYSTEM_VERSION "5.4.0-204-generic")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
||||
@@ -0,0 +1,671 @@
|
||||
#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
|
||||
|
||||
|
||||
/* 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 */
|
||||
# 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
|
||||
# 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(__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(__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(__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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#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(__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(__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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 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__))
|
||||
# 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(__CRAYXE) || defined(__CRAYXC)
|
||||
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(__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"
|
||||
|
||||
# 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
|
||||
|
||||
#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_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"
|
||||
|
||||
# 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
|
||||
#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 components. */
|
||||
#ifdef 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'};
|
||||
#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__)
|
||||
# if (defined(_MSC_VER) && !defined(__clang__)) \
|
||||
|| (defined(__ibmxl__) || defined(__IBMC__))
|
||||
# define C_DIALECT "90"
|
||||
# else
|
||||
# define C_DIALECT
|
||||
# endif
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_DIALECT "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_DIALECT "99"
|
||||
#else
|
||||
# define C_DIALECT "90"
|
||||
#endif
|
||||
const char* info_language_dialect_default =
|
||||
"INFO" ":" "dialect_default[" C_DIALECT "]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#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(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,660 @@
|
||||
/* 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
|
||||
|
||||
|
||||
/* 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 */
|
||||
# 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
|
||||
# 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(__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(__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(__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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#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(__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(__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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 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__))
|
||||
# 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(__CRAYXE) || defined(__CRAYXC)
|
||||
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(__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"
|
||||
|
||||
# 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
|
||||
|
||||
#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_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"
|
||||
|
||||
# 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
|
||||
#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 components. */
|
||||
#ifdef 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'};
|
||||
#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_dialect_default = "INFO" ":" "dialect_default["
|
||||
#if CXX_STD > 201703L
|
||||
"20"
|
||||
#elif CXX_STD >= 201703L
|
||||
"17"
|
||||
#elif CXX_STD >= 201402L
|
||||
"14"
|
||||
#elif CXX_STD >= 201103L
|
||||
"11"
|
||||
#else
|
||||
"98"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[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(__CRAYXE) || defined(__CRAYXC)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
@@ -0,0 +1,77 @@
|
||||
set(CMAKE_C_COMPILER "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/gcc.exe")
|
||||
set(CMAKE_C_COMPILER_ARG1 "")
|
||||
set(CMAKE_C_COMPILER_ID "GNU")
|
||||
set(CMAKE_C_COMPILER_VERSION "8.1.0")
|
||||
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_C_COMPILER_WRAPPER "")
|
||||
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
|
||||
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")
|
||||
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_C_PLATFORM_ID "MinGW")
|
||||
set(CMAKE_C_SIMULATE_ID "")
|
||||
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
|
||||
set(CMAKE_C_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/ar.exe")
|
||||
set(CMAKE_C_COMPILER_AR "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/gcc-ar.exe")
|
||||
set(CMAKE_RANLIB "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/ranlib.exe")
|
||||
set(CMAKE_C_COMPILER_RANLIB "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/gcc-ranlib.exe")
|
||||
set(CMAKE_LINKER "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/ld.exe")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCC 1)
|
||||
set(CMAKE_C_COMPILER_LOADED 1)
|
||||
set(CMAKE_C_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_C_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW 1)
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_C_COMPILER_ENV_VAR "CC")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
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_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 "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/x86_64-w64-mingw32/include")
|
||||
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "mingw32;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;iconv;mingw32;gcc;moldname;mingwex")
|
||||
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/x86_64-w64-mingw32/lib;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib")
|
||||
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
@@ -0,0 +1,89 @@
|
||||
set(CMAKE_CXX_COMPILER "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/g++.exe")
|
||||
set(CMAKE_CXX_COMPILER_ARG1 "")
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
set(CMAKE_CXX_COMPILER_VERSION "8.1.0")
|
||||
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
|
||||
set(CMAKE_CXX_COMPILER_WRAPPER "")
|
||||
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
|
||||
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")
|
||||
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_CXX_PLATFORM_ID "MinGW")
|
||||
set(CMAKE_CXX_SIMULATE_ID "")
|
||||
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
|
||||
set(CMAKE_CXX_SIMULATE_VERSION "")
|
||||
|
||||
|
||||
|
||||
|
||||
set(CMAKE_AR "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/ar.exe")
|
||||
set(CMAKE_CXX_COMPILER_AR "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/gcc-ar.exe")
|
||||
set(CMAKE_RANLIB "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/ranlib.exe")
|
||||
set(CMAKE_CXX_COMPILER_RANLIB "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/gcc-ranlib.exe")
|
||||
set(CMAKE_LINKER "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/ld.exe")
|
||||
set(CMAKE_MT "")
|
||||
set(CMAKE_COMPILER_IS_GNUCXX 1)
|
||||
set(CMAKE_CXX_COMPILER_LOADED 1)
|
||||
set(CMAKE_CXX_COMPILER_WORKS TRUE)
|
||||
set(CMAKE_CXX_ABI_COMPILED TRUE)
|
||||
set(CMAKE_COMPILER_IS_MINGW 1)
|
||||
set(CMAKE_COMPILER_IS_CYGWIN )
|
||||
if(CMAKE_COMPILER_IS_CYGWIN)
|
||||
set(CYGWIN 1)
|
||||
set(UNIX 1)
|
||||
endif()
|
||||
|
||||
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
|
||||
|
||||
if(CMAKE_COMPILER_IS_MINGW)
|
||||
set(MINGW 1)
|
||||
endif()
|
||||
set(CMAKE_CXX_COMPILER_ID_RUN 1)
|
||||
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
|
||||
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_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 "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/backward;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/x86_64-w64-mingw32/include")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;mingw32;gcc_s;gcc;moldname;mingwex;pthread;advapi32;shell32;user32;kernel32;iconv;mingw32;gcc_s;gcc;moldname;mingwex")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc/x86_64-w64-mingw32/8.1.0;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib/gcc;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/x86_64-w64-mingw32/lib;D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/lib")
|
||||
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
set(CMAKE_RC_COMPILER "D:/codeblocks/codeblocks-20.03mingw-nosetup/MinGW/bin/windres.exe")
|
||||
set(CMAKE_RC_COMPILER_ARG1 "")
|
||||
set(CMAKE_RC_COMPILER_LOADED 1)
|
||||
set(CMAKE_RC_SOURCE_FILE_EXTENSIONS rc;RC)
|
||||
set(CMAKE_RC_OUTPUT_EXTENSION .obj)
|
||||
set(CMAKE_RC_COMPILER_ENV_VAR "RC")
|
||||
@@ -0,0 +1,15 @@
|
||||
set(CMAKE_HOST_SYSTEM "Windows-10.0.22621")
|
||||
set(CMAKE_HOST_SYSTEM_NAME "Windows")
|
||||
set(CMAKE_HOST_SYSTEM_VERSION "10.0.22621")
|
||||
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
|
||||
|
||||
|
||||
|
||||
set(CMAKE_SYSTEM "Windows-10.0.22621")
|
||||
set(CMAKE_SYSTEM_NAME "Windows")
|
||||
set(CMAKE_SYSTEM_VERSION "10.0.22621")
|
||||
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
|
||||
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
|
||||
set(CMAKE_SYSTEM_LOADED 1)
|
||||
@@ -0,0 +1,691 @@
|
||||
#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
|
||||
|
||||
|
||||
/* 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 */
|
||||
# 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
|
||||
# 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(__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(__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(__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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#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(__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(__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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 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__))
|
||||
# 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(_CRAYC) || defined(__cray__)
|
||||
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(__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
|
||||
|
||||
#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_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"
|
||||
|
||||
# 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
|
||||
|
||||
#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 components. */
|
||||
#ifdef 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'};
|
||||
#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__)
|
||||
# if (defined(_MSC_VER) && !defined(__clang__)) \
|
||||
|| (defined(__ibmxl__) || defined(__IBMC__))
|
||||
# define C_DIALECT "90"
|
||||
# else
|
||||
# define C_DIALECT
|
||||
# endif
|
||||
#elif __STDC_VERSION__ >= 201000L
|
||||
# define C_DIALECT "11"
|
||||
#elif __STDC_VERSION__ >= 199901L
|
||||
# define C_DIALECT "99"
|
||||
#else
|
||||
# define C_DIALECT "90"
|
||||
#endif
|
||||
const char* info_language_dialect_default =
|
||||
"INFO" ":" "dialect_default[" C_DIALECT "]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
#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(_CRAYC) || defined(__cray__)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
#endif
|
||||
Binary file not shown.
@@ -0,0 +1,680 @@
|
||||
/* 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
|
||||
|
||||
|
||||
/* 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 */
|
||||
# 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
|
||||
# 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(__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(__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(__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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
|
||||
# define COMPILER_ID "Fujitsu"
|
||||
|
||||
#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(__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(__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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
|
||||
# define COMPILER_ID "ADSP"
|
||||
#if defined(__VISUALDSPVERSION__)
|
||||
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
|
||||
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
|
||||
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
|
||||
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 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__))
|
||||
# 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(_CRAYC) || defined(__cray__)
|
||||
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(__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
|
||||
|
||||
#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_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"
|
||||
|
||||
# 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
|
||||
|
||||
#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 components. */
|
||||
#ifdef 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'};
|
||||
#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_dialect_default = "INFO" ":" "dialect_default["
|
||||
#if CXX_STD > 201703L
|
||||
"20"
|
||||
#elif CXX_STD >= 201703L
|
||||
"17"
|
||||
#elif CXX_STD >= 201402L
|
||||
"14"
|
||||
#elif CXX_STD >= 201103L
|
||||
"11"
|
||||
#else
|
||||
"98"
|
||||
#endif
|
||||
"]";
|
||||
|
||||
/*--------------------------------------------------------------------------*/
|
||||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
int require = 0;
|
||||
require += info_compiler[argc];
|
||||
require += info_platform[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(_CRAYC) || defined(__cray__)
|
||||
require += info_cray[argc];
|
||||
#endif
|
||||
require += info_language_dialect_default[argc];
|
||||
(void)argv;
|
||||
return require;
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,16 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Relative path conversion top directories.
|
||||
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/tmp/tmp.Km6nRET6My")
|
||||
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/tmp/tmp.Km6nRET6My/cmake-build-debug")
|
||||
|
||||
# Force unix paths in dependencies.
|
||||
set(CMAKE_FORCE_UNIX_PATHS 1)
|
||||
|
||||
|
||||
# The C and CXX include file regular expressions for this directory.
|
||||
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
|
||||
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
|
||||
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
|
||||
@@ -0,0 +1,463 @@
|
||||
The system is: Linux - 5.4.0-204-generic - x86_64
|
||||
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
|
||||
Compiler: /usr/bin/cc
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
|
||||
|
||||
The C compiler identification is GNU, found in "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/3.16.3/CompilerIdC/a.out"
|
||||
|
||||
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
|
||||
Compiler: /usr/bin/c++
|
||||
Build flags:
|
||||
Id flags:
|
||||
|
||||
The output was:
|
||||
0
|
||||
|
||||
|
||||
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
|
||||
|
||||
The CXX compiler identification is GNU, found in "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/3.16.3/CompilerIdCXX/a.out"
|
||||
|
||||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_79cd4/fast && /usr/bin/make -f CMakeFiles/cmTC_79cd4.dir/build.make CMakeFiles/cmTC_79cd4.dir/build
|
||||
make[1]: Entering directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_79cd4.dir/testCCompiler.c.o
|
||||
/usr/bin/cc -o CMakeFiles/cmTC_79cd4.dir/testCCompiler.c.o -c /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_79cd4
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_79cd4.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -rdynamic CMakeFiles/cmTC_79cd4.dir/testCCompiler.c.o -o cmTC_79cd4
|
||||
make[1]: Leaving directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_22731/fast && /usr/bin/make -f CMakeFiles/cmTC_22731.dir/build.make CMakeFiles/cmTC_22731.dir/build
|
||||
make[1]: Entering directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o
|
||||
/usr/bin/cc -v -o CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cceUWgOe.s
|
||||
GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
|
||||
#include "..." search starts here:
|
||||
#include <...> search starts here:
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/include
|
||||
/usr/local/include
|
||||
/usr/include/x86_64-linux-gnu
|
||||
/usr/include
|
||||
End of search list.
|
||||
GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 01da938ff5dc2163489aa33cb3b747a7
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||
as -v --64 -o CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o /tmp/cceUWgOe.s
|
||||
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64'
|
||||
Linking C executable cmTC_22731
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_22731.dir/link.txt --verbose=1
|
||||
/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -o cmTC_22731
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/cc
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_22731' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccj6SQEG.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_22731 /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_22731' '-mtune=generic' '-march=x86-64'
|
||||
make[1]: Leaving directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
||||
Parsed C implicit include dir info from above output: rv=done
|
||||
found start of include info
|
||||
found start of implicit include info
|
||||
add: [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
add: [/usr/local/include]
|
||||
add: [/usr/include/x86_64-linux-gnu]
|
||||
add: [/usr/include]
|
||||
end of search list found
|
||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/9/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
||||
collapse include dir [/usr/include] ==> [/usr/include]
|
||||
implicit include dirs: [/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
||||
|
||||
|
||||
Parsed C implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_22731/fast && /usr/bin/make -f CMakeFiles/cmTC_22731.dir/build.make CMakeFiles/cmTC_22731.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o]
|
||||
ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/cc1 -quiet -v -imultiarch x86_64-linux-gnu /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/cceUWgOe.s]
|
||||
ignore line: [GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
ignore line: [#include <...> search starts here:]
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
ignore line: [ /usr/local/include]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [GNU C17 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 01da938ff5dc2163489aa33cb3b747a7]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o /tmp/cceUWgOe.s]
|
||||
ignore line: [GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [Linking C executable cmTC_22731]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_22731.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -o cmTC_22731 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/cc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_22731' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccj6SQEG.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_22731 /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccj6SQEG.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_22731] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o] ==> ignore
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..]
|
||||
arg [CMakeFiles/cmTC_22731.dir/CMakeCCompilerABI.c.o] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [--push-state] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [--pop-state] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9] ==> [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> [/usr/lib]
|
||||
implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
Determining if the CXX compiler works passed with the following output:
|
||||
Change Dir: /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_d8c6f/fast && /usr/bin/make -f CMakeFiles/cmTC_d8c6f.dir/build.make CMakeFiles/cmTC_d8c6f.dir/build
|
||||
make[1]: Entering directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_d8c6f.dir/testCXXCompiler.cxx.o
|
||||
/usr/bin/c++ -o CMakeFiles/cmTC_d8c6f.dir/testCXXCompiler.cxx.o -c /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_d8c6f
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d8c6f.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -rdynamic CMakeFiles/cmTC_d8c6f.dir/testCXXCompiler.cxx.o -o cmTC_d8c6f
|
||||
make[1]: Leaving directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
||||
Detecting CXX compiler ABI info compiled with the following output:
|
||||
Change Dir: /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_a470c/fast && /usr/bin/make -f CMakeFiles/cmTC_a470c.dir/build.make CMakeFiles/cmTC_a470c.dir/build
|
||||
make[1]: Entering directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o
|
||||
/usr/bin/c++ -v -o CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccDN719d.s
|
||||
GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9"
|
||||
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"
|
||||
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
|
||||
#include "..." search starts here:
|
||||
#include <...> search starts here:
|
||||
/usr/include/c++/9
|
||||
/usr/include/x86_64-linux-gnu/c++/9
|
||||
/usr/include/c++/9/backward
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/include
|
||||
/usr/local/include
|
||||
/usr/include/x86_64-linux-gnu
|
||||
/usr/include
|
||||
End of search list.
|
||||
GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)
|
||||
compiled by GNU C version 9.4.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.22.1-GMP
|
||||
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 3d1eba838554fa2348dba760e4770469
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
as -v --64 -o CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccDN719d.s
|
||||
GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
Linking CXX executable cmTC_a470c
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a470c.dir/link.txt --verbose=1
|
||||
/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_a470c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/usr/bin/c++
|
||||
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
|
||||
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
|
||||
OFFLOAD_TARGET_DEFAULT=1
|
||||
Target: x86_64-linux-gnu
|
||||
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
|
||||
Thread model: posix
|
||||
gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
|
||||
COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/
|
||||
LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_a470c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
/usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDlaVXG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_a470c /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
|
||||
COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_a470c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
|
||||
make[1]: Leaving directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
|
||||
Parsed CXX implicit include dir info from above output: rv=done
|
||||
found start of include info
|
||||
found start of implicit include info
|
||||
add: [/usr/include/c++/9]
|
||||
add: [/usr/include/x86_64-linux-gnu/c++/9]
|
||||
add: [/usr/include/c++/9/backward]
|
||||
add: [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
add: [/usr/local/include]
|
||||
add: [/usr/include/x86_64-linux-gnu]
|
||||
add: [/usr/include]
|
||||
end of search list found
|
||||
collapse include dir [/usr/include/c++/9] ==> [/usr/include/c++/9]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu/c++/9] ==> [/usr/include/x86_64-linux-gnu/c++/9]
|
||||
collapse include dir [/usr/include/c++/9/backward] ==> [/usr/include/c++/9/backward]
|
||||
collapse include dir [/usr/lib/gcc/x86_64-linux-gnu/9/include] ==> [/usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
collapse include dir [/usr/local/include] ==> [/usr/local/include]
|
||||
collapse include dir [/usr/include/x86_64-linux-gnu] ==> [/usr/include/x86_64-linux-gnu]
|
||||
collapse include dir [/usr/include] ==> [/usr/include]
|
||||
implicit include dirs: [/usr/include/c++/9;/usr/include/x86_64-linux-gnu/c++/9;/usr/include/c++/9/backward;/usr/lib/gcc/x86_64-linux-gnu/9/include;/usr/local/include;/usr/include/x86_64-linux-gnu;/usr/include]
|
||||
|
||||
|
||||
Parsed CXX implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_a470c/fast && /usr/bin/make -f CMakeFiles/cmTC_a470c.dir/build.make CMakeFiles/cmTC_a470c.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o]
|
||||
ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -D_GNU_SOURCE /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mtune=generic -march=x86-64 -auxbase-strip CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -version -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/ccDN719d.s]
|
||||
ignore line: [GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [ignoring duplicate directory "/usr/include/x86_64-linux-gnu/c++/9"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed"]
|
||||
ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"]
|
||||
ignore line: [#include "..." search starts here:]
|
||||
ignore line: [#include <...> search starts here:]
|
||||
ignore line: [ /usr/include/c++/9]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu/c++/9]
|
||||
ignore line: [ /usr/include/c++/9/backward]
|
||||
ignore line: [ /usr/lib/gcc/x86_64-linux-gnu/9/include]
|
||||
ignore line: [ /usr/local/include]
|
||||
ignore line: [ /usr/include/x86_64-linux-gnu]
|
||||
ignore line: [ /usr/include]
|
||||
ignore line: [End of search list.]
|
||||
ignore line: [GNU C++14 (Ubuntu 9.4.0-1ubuntu1~20.04.2) version 9.4.0 (x86_64-linux-gnu)]
|
||||
ignore line: [ compiled by GNU C version 9.4.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version isl-0.22.1-GMP]
|
||||
ignore line: []
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 3d1eba838554fa2348dba760e4770469]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [ as -v --64 -o CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccDN719d.s]
|
||||
ignore line: [GNU assembler version 2.34 (x86_64-linux-gnu) using BFD version (GNU Binutils for Ubuntu) 2.34]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
ignore line: [Linking CXX executable cmTC_a470c]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a470c.dir/link.txt --verbose=1]
|
||||
ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_a470c ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/usr/bin/c++]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper]
|
||||
ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none:hsa]
|
||||
ignore line: [OFFLOAD_TARGET_DEFAULT=1]
|
||||
ignore line: [Target: x86_64-linux-gnu]
|
||||
ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.4.0-1ubuntu1~20.04.2' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c ada c++ go brig d fortran objc obj-c++ gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32 m64 mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-9QDOt0/gcc-9-9.4.0/debian/tmp-nvptx/usr hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
|
||||
ignore line: [Thread model: posix]
|
||||
ignore line: [gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2) ]
|
||||
ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/]
|
||||
ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/9/../../../:/lib/:/usr/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_a470c' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
|
||||
link line: [ /usr/lib/gcc/x86_64-linux-gnu/9/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/ccDlaVXG.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_a470c /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccDlaVXG.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [--build-id] ==> ignore
|
||||
arg [--eh-frame-hdr] ==> ignore
|
||||
arg [-m] ==> ignore
|
||||
arg [elf_x86_64] ==> ignore
|
||||
arg [--hash-style=gnu] ==> ignore
|
||||
arg [--as-needed] ==> ignore
|
||||
arg [-export-dynamic] ==> ignore
|
||||
arg [-dynamic-linker] ==> ignore
|
||||
arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
|
||||
arg [-pie] ==> ignore
|
||||
arg [-znow] ==> ignore
|
||||
arg [-zrelro] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_a470c] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o] ==> ignore
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib]
|
||||
arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
|
||||
arg [-L/lib/../lib] ==> dir [/lib/../lib]
|
||||
arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
|
||||
arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
|
||||
arg [-L/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..]
|
||||
arg [CMakeFiles/cmTC_a470c.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lc] ==> lib [c]
|
||||
arg [-lgcc_s] ==> lib [gcc_s]
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o] ==> ignore
|
||||
arg [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o] ==> ignore
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9] ==> [/usr/lib/gcc/x86_64-linux-gnu/9]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib] ==> [/usr/lib]
|
||||
collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/lib/../lib] ==> [/lib]
|
||||
collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
|
||||
collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
|
||||
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/9/../../..] ==> [/usr/lib]
|
||||
implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
|
||||
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/9;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
|
||||
implicit fwks: []
|
||||
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# The generator used is:
|
||||
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
|
||||
|
||||
# The top level Makefile was generated from the following files:
|
||||
set(CMAKE_MAKEFILE_DEPENDS
|
||||
"CMakeCache.txt"
|
||||
"../CMakeLists.txt"
|
||||
"CMakeFiles/3.16.3/CMakeCCompiler.cmake"
|
||||
"CMakeFiles/3.16.3/CMakeCXXCompiler.cmake"
|
||||
"CMakeFiles/3.16.3/CMakeSystem.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCXXInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeCommonLanguageInclude.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeFindCodeBlocks.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeGenericSystem.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeInitializeConfigs.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeLanguageInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInformation.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/CMakeSystemSpecificInitialize.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU-C.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Compiler/GNU.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Internal/CMakeCheckCompilerFlag.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-C.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU-CXX.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux-GNU.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/Linux.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/Platform/UnixPaths.cmake"
|
||||
"/usr/share/cmake-3.16/Modules/ProcessorCount.cmake"
|
||||
)
|
||||
|
||||
# The corresponding makefile is:
|
||||
set(CMAKE_MAKEFILE_OUTPUTS
|
||||
"Makefile"
|
||||
"CMakeFiles/cmake.check_cache"
|
||||
)
|
||||
|
||||
# Byproducts of CMake generate step:
|
||||
set(CMAKE_MAKEFILE_PRODUCTS
|
||||
"CMakeFiles/CMakeDirectoryInformation.cmake"
|
||||
)
|
||||
|
||||
# Dependency information for all targets:
|
||||
set(CMAKE_DEPEND_INFO_FILES
|
||||
"CMakeFiles/dcapp.dir/DependInfo.cmake"
|
||||
)
|
||||
@@ -0,0 +1,106 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /tmp/tmp.Km6nRET6My
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /tmp/tmp.Km6nRET6My/cmake-build-debug
|
||||
|
||||
#=============================================================================
|
||||
# Directory level rules for the build root directory
|
||||
|
||||
# The main recursive "all" target.
|
||||
all: CMakeFiles/dcapp.dir/all
|
||||
|
||||
.PHONY : all
|
||||
|
||||
# The main recursive "preinstall" target.
|
||||
preinstall:
|
||||
|
||||
.PHONY : preinstall
|
||||
|
||||
# The main recursive "clean" target.
|
||||
clean: CMakeFiles/dcapp.dir/clean
|
||||
|
||||
.PHONY : clean
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for target CMakeFiles/dcapp.dir
|
||||
|
||||
# All Build rule for target.
|
||||
CMakeFiles/dcapp.dir/all:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/depend
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/build
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21 "Built target dcapp"
|
||||
.PHONY : CMakeFiles/dcapp.dir/all
|
||||
|
||||
# Build rule for subdir invocation for target.
|
||||
CMakeFiles/dcapp.dir/rule: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles 21
|
||||
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/dcapp.dir/all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles 0
|
||||
.PHONY : CMakeFiles/dcapp.dir/rule
|
||||
|
||||
# Convenience name for target.
|
||||
dcapp: CMakeFiles/dcapp.dir/rule
|
||||
|
||||
.PHONY : dcapp
|
||||
|
||||
# clean rule for target.
|
||||
CMakeFiles/dcapp.dir/clean:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/clean
|
||||
.PHONY : CMakeFiles/dcapp.dir/clean
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
empty
|
||||
@@ -0,0 +1 @@
|
||||
21
|
||||
@@ -0,0 +1,3 @@
|
||||
/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/rebuild_cache.dir
|
||||
/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/edit_cache.dir
|
||||
/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir
|
||||
@@ -0,0 +1,3 @@
|
||||
ToolSet: 1.0 (remote)Options:
|
||||
|
||||
Options:
|
||||
@@ -0,0 +1,4 @@
|
||||
/usr/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /tmp/tmp.Km6nRET6My
|
||||
-- Configuring done
|
||||
-- Generating done
|
||||
-- Build files have been written to: /tmp/tmp.Km6nRET6My/cmake-build-debug
|
||||
@@ -0,0 +1 @@
|
||||
# This file is generated by cmake for dependency checking of the CMakeCache.txt file
|
||||
@@ -0,0 +1,896 @@
|
||||
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
|
||||
|
||||
#IncludeRegexScan: ^.*$
|
||||
|
||||
#IncludeRegexComplain: ^$
|
||||
|
||||
#IncludeRegexTransform:
|
||||
|
||||
../common/inc/ToolUtils.h
|
||||
string
|
||||
-
|
||||
|
||||
../common/inc/json.hpp
|
||||
algorithm
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
functional
|
||||
-
|
||||
initializer_list
|
||||
-
|
||||
iosfwd
|
||||
-
|
||||
iterator
|
||||
-
|
||||
memory
|
||||
-
|
||||
numeric
|
||||
-
|
||||
string
|
||||
-
|
||||
utility
|
||||
-
|
||||
vector
|
||||
-
|
||||
utility
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
array
|
||||
-
|
||||
forward_list
|
||||
-
|
||||
iterator
|
||||
-
|
||||
map
|
||||
-
|
||||
string
|
||||
-
|
||||
tuple
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
unordered_map
|
||||
-
|
||||
utility
|
||||
-
|
||||
valarray
|
||||
-
|
||||
exception
|
||||
-
|
||||
stdexcept
|
||||
-
|
||||
string
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
utility
|
||||
-
|
||||
stdint.h
|
||||
-
|
||||
stdint.h
|
||||
-
|
||||
cstdlib
|
||||
-
|
||||
cassert
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
limits
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
utility
|
||||
-
|
||||
iterator
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
map
|
||||
-
|
||||
memory
|
||||
-
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
array
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
string
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
iterator
|
||||
-
|
||||
string
|
||||
-
|
||||
tuple
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
utility
|
||||
-
|
||||
valarray
|
||||
-
|
||||
vector
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
iterator
|
||||
-
|
||||
string
|
||||
-
|
||||
tuple
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
tuple
|
||||
-
|
||||
utility
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
functional
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
array
|
||||
-
|
||||
cmath
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
cstdio
|
||||
-
|
||||
cstring
|
||||
-
|
||||
iterator
|
||||
-
|
||||
limits
|
||||
-
|
||||
string
|
||||
-
|
||||
utility
|
||||
-
|
||||
array
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
cstdio
|
||||
-
|
||||
cstring
|
||||
-
|
||||
istream
|
||||
-
|
||||
iterator
|
||||
-
|
||||
memory
|
||||
-
|
||||
numeric
|
||||
-
|
||||
string
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
utility
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
string
|
||||
-
|
||||
utility
|
||||
-
|
||||
vector
|
||||
-
|
||||
array
|
||||
-
|
||||
clocale
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
cstdio
|
||||
-
|
||||
cstdlib
|
||||
-
|
||||
initializer_list
|
||||
-
|
||||
string
|
||||
-
|
||||
utility
|
||||
-
|
||||
vector
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
utility
|
||||
-
|
||||
string
|
||||
-
|
||||
cmath
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
functional
|
||||
-
|
||||
string
|
||||
-
|
||||
utility
|
||||
-
|
||||
vector
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
limits
|
||||
-
|
||||
iterator
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
iterator
|
||||
-
|
||||
utility
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
cctype
|
||||
-
|
||||
limits
|
||||
-
|
||||
numeric
|
||||
-
|
||||
string
|
||||
-
|
||||
utility
|
||||
-
|
||||
vector
|
||||
-
|
||||
initializer_list
|
||||
-
|
||||
utility
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
array
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
cstring
|
||||
-
|
||||
limits
|
||||
-
|
||||
string
|
||||
-
|
||||
cmath
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
ios
|
||||
-
|
||||
iterator
|
||||
-
|
||||
memory
|
||||
-
|
||||
ostream
|
||||
-
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
algorithm
|
||||
-
|
||||
array
|
||||
-
|
||||
clocale
|
||||
-
|
||||
cmath
|
||||
-
|
||||
cstddef
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
cstdio
|
||||
-
|
||||
limits
|
||||
-
|
||||
string
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
utility
|
||||
-
|
||||
array
|
||||
-
|
||||
cmath
|
||||
-
|
||||
cstdint
|
||||
-
|
||||
cstring
|
||||
-
|
||||
limits
|
||||
-
|
||||
type_traits
|
||||
-
|
||||
functional
|
||||
-
|
||||
memory
|
||||
-
|
||||
utility
|
||||
-
|
||||
vector
|
||||
-
|
||||
|
||||
../common/inc/queue.h
|
||||
iostream
|
||||
-
|
||||
queue
|
||||
-
|
||||
thread
|
||||
-
|
||||
mutex
|
||||
-
|
||||
condition_variable
|
||||
-
|
||||
chrono
|
||||
-
|
||||
string
|
||||
-
|
||||
msg.h
|
||||
../common/inc/msg.h
|
||||
|
||||
../common/inc/sqlite3.h
|
||||
stdarg.h
|
||||
-
|
||||
|
||||
../common/inc/thread_pool.h
|
||||
vector
|
||||
-
|
||||
queue
|
||||
-
|
||||
memory
|
||||
-
|
||||
thread
|
||||
-
|
||||
mutex
|
||||
-
|
||||
condition_variable
|
||||
-
|
||||
future
|
||||
-
|
||||
functional
|
||||
-
|
||||
stdexcept
|
||||
-
|
||||
atomic
|
||||
-
|
||||
chrono
|
||||
-
|
||||
|
||||
../datacenter/bizService/F_GetVersion.h
|
||||
msg.h
|
||||
../datacenter/bizService/msg.h
|
||||
bizservice.h
|
||||
../datacenter/bizService/bizservice.h
|
||||
common/inc/queue.h
|
||||
../datacenter/bizService/common/inc/queue.h
|
||||
|
||||
../datacenter/bizService/F_Online.h
|
||||
msg.h
|
||||
../datacenter/bizService/msg.h
|
||||
bizservice.h
|
||||
../datacenter/bizService/bizservice.h
|
||||
common/inc/queue.h
|
||||
../datacenter/bizService/common/inc/queue.h
|
||||
|
||||
../datacenter/bizService/F_Tool.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
map
|
||||
-
|
||||
|
||||
../datacenter/inc/ConnectionPool.h
|
||||
vector
|
||||
-
|
||||
queue
|
||||
-
|
||||
mutex
|
||||
-
|
||||
condition_variable
|
||||
-
|
||||
|
||||
../datacenter/inc/Database.h
|
||||
iostream
|
||||
-
|
||||
common/inc/sqlite3.h
|
||||
-
|
||||
iostream
|
||||
-
|
||||
string.h
|
||||
-
|
||||
string
|
||||
-
|
||||
map
|
||||
-
|
||||
vector
|
||||
-
|
||||
sstream
|
||||
-
|
||||
sys/stat.h
|
||||
-
|
||||
|
||||
../datacenter/inc/bizservice.h
|
||||
string
|
||||
-
|
||||
|
||||
../datacenter/inc/datacenter.h
|
||||
unistd.h
|
||||
-
|
||||
thread
|
||||
-
|
||||
functional
|
||||
-
|
||||
service.h
|
||||
../datacenter/inc/service.h
|
||||
mqttClient.h
|
||||
../datacenter/inc/mqttClient.h
|
||||
common/inc/queue.h
|
||||
../datacenter/inc/common/inc/queue.h
|
||||
common/inc/thread_pool.h
|
||||
../datacenter/inc/common/inc/thread_pool.h
|
||||
|
||||
../datacenter/inc/mqttClient.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
iostream
|
||||
-
|
||||
fstream
|
||||
-
|
||||
common/inc/queue.h
|
||||
../datacenter/inc/common/inc/queue.h
|
||||
mqtt/MQTTClient.h
|
||||
../datacenter/inc/mqtt/MQTTClient.h
|
||||
|
||||
../datacenter/inc/msg.h
|
||||
|
||||
../datacenter/inc/version.h
|
||||
|
||||
../service.h
|
||||
map
|
||||
-
|
||||
string
|
||||
-
|
||||
|
||||
/tmp/tmp.Km6nRET6My/common/src/ToolUtils.cpp
|
||||
iostream
|
||||
-
|
||||
uuid/uuid.h
|
||||
-
|
||||
common/inc/ToolUtils.h
|
||||
/tmp/tmp.Km6nRET6My/common/src/common/inc/ToolUtils.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/common/src/queue.cpp
|
||||
common/inc/queue.h
|
||||
/tmp/tmp.Km6nRET6My/common/src/common/inc/queue.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/common/src/thread_pool.cpp
|
||||
common/inc/thread_pool.h
|
||||
/tmp/tmp.Km6nRET6My/common/src/common/inc/thread_pool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeleteData.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
common/inc/sqlite3.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/sqlite3.h
|
||||
F_Tool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeteteData.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
F_DeleteData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeleteData.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
F_FormatData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
common/inc/sqlite3.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/sqlite3.h
|
||||
F_Tool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
F_GetSaveCount.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
common/inc/sqlite3.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/sqlite3.h
|
||||
F_Tool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
F_GetSupportNum.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
common/inc/sqlite3.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/sqlite3.h
|
||||
F_Tool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.cpp
|
||||
iostream
|
||||
-
|
||||
vector
|
||||
-
|
||||
map
|
||||
-
|
||||
unistd.h
|
||||
-
|
||||
common/inc/ToolUtils.h
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
msg.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/msg.h
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
version.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/version.h
|
||||
datacenter/bizService/F_GetVersion.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/datacenter/bizService/F_GetVersion.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
F_InsertRecord.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
common/inc/sqlite3.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/sqlite3.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.cpp
|
||||
iostream
|
||||
-
|
||||
vector
|
||||
-
|
||||
map
|
||||
-
|
||||
common/inc/ToolUtils.h
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
datacenter/bizService/F_Online.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/datacenter/bizService/F_Online.h
|
||||
version.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/version.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.cpp
|
||||
map
|
||||
-
|
||||
iostream
|
||||
-
|
||||
F_ReadData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
f-readdata/normalDataDB.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h
|
||||
time.h
|
||||
-
|
||||
sys/time.h
|
||||
-
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
F_SetSupportNum.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
common/inc/sqlite3.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/sqlite3.h
|
||||
F_Tool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
datacenter/bizService/F_Tool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/datacenter/bizService/F_Tool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
map
|
||||
-
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.cpp
|
||||
iostream
|
||||
-
|
||||
chrono
|
||||
-
|
||||
iomanip
|
||||
-
|
||||
sstream
|
||||
-
|
||||
string
|
||||
-
|
||||
ctime
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/json.hpp
|
||||
F_UpdateRecord.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.h
|
||||
common/inc/sqlite3.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/common/inc/sqlite3.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.h
|
||||
string
|
||||
-
|
||||
vector
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.cpp
|
||||
iostream
|
||||
-
|
||||
common/inc/sqlite3.h
|
||||
-
|
||||
F_WriteData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.h
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
f-readdata/normalDataDB.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.h
|
||||
string
|
||||
-
|
||||
map
|
||||
-
|
||||
bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/bizservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.cpp
|
||||
normalDataDB.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/common/inc/json.hpp
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/datacenter.cpp
|
||||
iostream
|
||||
-
|
||||
unistd.h
|
||||
-
|
||||
functional
|
||||
-
|
||||
datacenter.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/datacenter.h
|
||||
msg.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/msg.h
|
||||
datacenter/bizService/F_GetVersion.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/datacenter/bizService/F_GetVersion.h
|
||||
common/inc/ToolUtils.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/common/inc/ToolUtils.h
|
||||
Database.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/Database.h
|
||||
ConnectionPool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/ConnectionPool.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.cpp
|
||||
unistd.h
|
||||
-
|
||||
sstream
|
||||
-
|
||||
common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/common/inc/json.hpp
|
||||
mqttClient.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/dataservice/dataservice.cpp
|
||||
dataservice.h
|
||||
/tmp/tmp.Km6nRET6My/dataservice/dataservice.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/dataservice/dataservice.h
|
||||
unistd.h
|
||||
-
|
||||
service.h
|
||||
/tmp/tmp.Km6nRET6My/dataservice/service.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/main.cpp
|
||||
sys/wait.h
|
||||
-
|
||||
sched.h
|
||||
-
|
||||
stdio.h
|
||||
-
|
||||
unistd.h
|
||||
-
|
||||
sys/prctl.h
|
||||
-
|
||||
map
|
||||
-
|
||||
fcntl.h
|
||||
-
|
||||
service.h
|
||||
/tmp/tmp.Km6nRET6My/service.h
|
||||
|
||||
/tmp/tmp.Km6nRET6My/service.h
|
||||
map
|
||||
-
|
||||
string
|
||||
-
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# The set of languages for which implicit dependencies are needed:
|
||||
set(CMAKE_DEPENDS_LANGUAGES
|
||||
"CXX"
|
||||
)
|
||||
# The set of files for implicit dependencies of each language:
|
||||
set(CMAKE_DEPENDS_CHECK_CXX
|
||||
"/tmp/tmp.Km6nRET6My/common/src/ToolUtils.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/common/src/queue.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/common/src/queue.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/common/src/thread_pool.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeteteData.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/src/datacenter.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/dataservice/dataservice.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o"
|
||||
"/tmp/tmp.Km6nRET6My/main.cpp" "/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/main.cpp.o"
|
||||
)
|
||||
set(CMAKE_CXX_COMPILER_ID "GNU")
|
||||
|
||||
# The include file search paths:
|
||||
set(CMAKE_CXX_TARGET_INCLUDE_PATH
|
||||
"../."
|
||||
".././datacenter/inc"
|
||||
".././common/inc"
|
||||
)
|
||||
|
||||
# Targets to which this target links.
|
||||
set(CMAKE_TARGET_LINKED_INFO_FILES
|
||||
)
|
||||
|
||||
# Fortran module output directory.
|
||||
set(CMAKE_Fortran_TARGET_MODULE_DIR "")
|
||||
@@ -0,0 +1,383 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Delete rule output on recipe failure.
|
||||
.DELETE_ON_ERROR:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /tmp/tmp.Km6nRET6My
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /tmp/tmp.Km6nRET6My/cmake-build-debug
|
||||
|
||||
# Include any dependencies generated for this target.
|
||||
include CMakeFiles/dcapp.dir/depend.make
|
||||
|
||||
# Include the progress variables for this target.
|
||||
include CMakeFiles/dcapp.dir/progress.make
|
||||
|
||||
# Include the compile flags for this target's objects.
|
||||
include CMakeFiles/dcapp.dir/flags.make
|
||||
|
||||
CMakeFiles/dcapp.dir/main.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/main.cpp.o: ../main.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/dcapp.dir/main.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/main.cpp.o -c /tmp/tmp.Km6nRET6My/main.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/main.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/main.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/main.cpp > CMakeFiles/dcapp.dir/main.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/main.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/main.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/main.cpp -o CMakeFiles/dcapp.dir/main.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/src/datacenter.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/src/datacenter.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/src/datacenter.cpp > CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/src/datacenter.cpp -o CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../datacenter/bizService/F_GetVersion.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.o: ../common/src/queue.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object CMakeFiles/dcapp.dir/common/src/queue.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/common/src/queue.cpp.o -c /tmp/tmp.Km6nRET6My/common/src/queue.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/common/src/queue.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/common/src/queue.cpp > CMakeFiles/dcapp.dir/common/src/queue.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/common/src/queue.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/common/src/queue.cpp -o CMakeFiles/dcapp.dir/common/src/queue.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o: ../datacenter/src/mqttClient.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building CXX object CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.cpp > CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.cpp -o CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o: ../common/src/ToolUtils.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building CXX object CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o -c /tmp/tmp.Km6nRET6My/common/src/ToolUtils.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/common/src/ToolUtils.cpp > CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/common/src/ToolUtils.cpp -o CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o: ../common/src/thread_pool.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building CXX object CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o -c /tmp/tmp.Km6nRET6My/common/src/thread_pool.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/common/src/thread_pool.cpp > CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/common/src/thread_pool.cpp -o CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o: ../datacenter/bizService/F_InsertRecord.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o: ../datacenter/bizService/F_UpdateRecord.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: ../datacenter/bizService/F_GetSaveCount.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o: ../datacenter/bizService/F_Tool.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: ../datacenter/bizService/F_GetSupportNum.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: ../datacenter/bizService/F_SetSupportNum.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o: ../datacenter/bizService/F_ReadData.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_14) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: ../datacenter/bizService/F_WriteData.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_15) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../datacenter/bizService/F_Online.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_16) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o: ../datacenter/bizService/f-readdata/normalDataDB.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_17) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o: ../dataservice/dataservice.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_18) "Building CXX object CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o -c /tmp/tmp.Km6nRET6My/dataservice/dataservice.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/dataservice/dataservice.cpp > CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/dataservice/dataservice.cpp -o CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: ../datacenter/bizService/F_DeteteData.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_19) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeteteData.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeteteData.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeteteData.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.s
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: CMakeFiles/dcapp.dir/flags.make
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: ../datacenter/bizService/F_FormatData.cpp
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_20) "Building CXX object CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o -c /tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.i: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.i"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.cpp > CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.i
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.s: cmake_force
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.s"
|
||||
/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.cpp -o CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.s
|
||||
|
||||
# Object files for target dcapp
|
||||
dcapp_OBJECTS = \
|
||||
"CMakeFiles/dcapp.dir/main.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/common/src/queue.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o" \
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o"
|
||||
|
||||
# External object files for target dcapp
|
||||
dcapp_EXTERNAL_OBJECTS =
|
||||
|
||||
dcapp: CMakeFiles/dcapp.dir/main.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/common/src/queue.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o
|
||||
dcapp: CMakeFiles/dcapp.dir/build.make
|
||||
dcapp: CMakeFiles/dcapp.dir/link.txt
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_21) "Linking CXX executable dcapp"
|
||||
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/dcapp.dir/link.txt --verbose=$(VERBOSE)
|
||||
|
||||
# Rule to build all files generated by this target.
|
||||
CMakeFiles/dcapp.dir/build: dcapp
|
||||
|
||||
.PHONY : CMakeFiles/dcapp.dir/build
|
||||
|
||||
CMakeFiles/dcapp.dir/clean:
|
||||
$(CMAKE_COMMAND) -P CMakeFiles/dcapp.dir/cmake_clean.cmake
|
||||
.PHONY : CMakeFiles/dcapp.dir/clean
|
||||
|
||||
CMakeFiles/dcapp.dir/depend:
|
||||
cd /tmp/tmp.Km6nRET6My/cmake-build-debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /tmp/tmp.Km6nRET6My /tmp/tmp.Km6nRET6My /tmp/tmp.Km6nRET6My/cmake-build-debug /tmp/tmp.Km6nRET6My/cmake-build-debug /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/dcapp.dir/DependInfo.cmake --color=$(COLOR)
|
||||
.PHONY : CMakeFiles/dcapp.dir/depend
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
file(REMOVE_RECURSE
|
||||
"CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/common/src/queue.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o"
|
||||
"CMakeFiles/dcapp.dir/main.cpp.o"
|
||||
"dcapp"
|
||||
"dcapp.pdb"
|
||||
)
|
||||
|
||||
# Per-language clean rules from dependency scanning.
|
||||
foreach(lang CXX)
|
||||
include(CMakeFiles/dcapp.dir/cmake_clean_${lang}.cmake OPTIONAL)
|
||||
endforeach()
|
||||
@@ -0,0 +1,126 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o
|
||||
../common/inc/ToolUtils.h
|
||||
/tmp/tmp.Km6nRET6My/common/src/ToolUtils.cpp
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.o
|
||||
../common/inc/queue.h
|
||||
../datacenter/inc/msg.h
|
||||
/tmp/tmp.Km6nRET6My/common/src/queue.cpp
|
||||
CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o
|
||||
../common/inc/thread_pool.h
|
||||
/tmp/tmp.Km6nRET6My/common/src/thread_pool.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeleteData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeteteData.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o
|
||||
../common/inc/ToolUtils.h
|
||||
../common/inc/json.hpp
|
||||
../common/inc/queue.h
|
||||
../datacenter/bizService/F_GetVersion.h
|
||||
../datacenter/inc/bizservice.h
|
||||
../datacenter/inc/msg.h
|
||||
../datacenter/inc/version.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o
|
||||
../common/inc/ToolUtils.h
|
||||
../common/inc/json.hpp
|
||||
../common/inc/queue.h
|
||||
../datacenter/bizService/F_Online.h
|
||||
../datacenter/inc/bizservice.h
|
||||
../datacenter/inc/msg.h
|
||||
../datacenter/inc/version.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../datacenter/bizService/F_Tool.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/sqlite3.h
|
||||
../datacenter/inc/bizservice.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o
|
||||
../common/inc/json.hpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.cpp
|
||||
/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o
|
||||
../common/inc/ToolUtils.h
|
||||
../common/inc/queue.h
|
||||
../common/inc/sqlite3.h
|
||||
../common/inc/thread_pool.h
|
||||
../datacenter/bizService/F_GetVersion.h
|
||||
../datacenter/inc/ConnectionPool.h
|
||||
../datacenter/inc/Database.h
|
||||
../datacenter/inc/bizservice.h
|
||||
../datacenter/inc/datacenter.h
|
||||
../datacenter/inc/mqttClient.h
|
||||
../datacenter/inc/msg.h
|
||||
../service.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/datacenter.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o
|
||||
../common/inc/json.hpp
|
||||
../common/inc/queue.h
|
||||
../datacenter/inc/mqttClient.h
|
||||
../datacenter/inc/msg.h
|
||||
/tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.cpp
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o
|
||||
../service.h
|
||||
/tmp/tmp.Km6nRET6My/dataservice/dataservice.cpp
|
||||
/tmp/tmp.Km6nRET6My/dataservice/dataservice.h
|
||||
CMakeFiles/dcapp.dir/main.cpp.o
|
||||
/tmp/tmp.Km6nRET6My/main.cpp
|
||||
/tmp/tmp.Km6nRET6My/service.h
|
||||
@@ -0,0 +1,126 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o: ../common/inc/ToolUtils.h
|
||||
CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o: ../common/src/ToolUtils.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.o: ../common/inc/queue.h
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.o: ../datacenter/inc/msg.h
|
||||
CMakeFiles/dcapp.dir/common/src/queue.cpp.o: ../common/src/queue.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o: ../common/inc/thread_pool.h
|
||||
CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o: ../common/src/thread_pool.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: ../datacenter/bizService/F_DeleteData.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: ../datacenter/bizService/F_DeteteData.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o: ../datacenter/bizService/F_Tool.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: ../datacenter/bizService/F_FormatData.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: ../datacenter/bizService/F_FormatData.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o: ../datacenter/bizService/F_Tool.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: ../datacenter/bizService/F_GetSaveCount.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: ../datacenter/bizService/F_GetSaveCount.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o: ../datacenter/bizService/F_Tool.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: ../datacenter/bizService/F_GetSupportNum.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: ../datacenter/bizService/F_GetSupportNum.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o: ../datacenter/bizService/F_Tool.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../common/inc/ToolUtils.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../common/inc/queue.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../datacenter/bizService/F_GetVersion.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../datacenter/inc/msg.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../datacenter/inc/version.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o: ../datacenter/bizService/F_GetVersion.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o: ../datacenter/bizService/F_InsertRecord.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o: ../datacenter/bizService/F_InsertRecord.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../common/inc/ToolUtils.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../common/inc/queue.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../datacenter/bizService/F_Online.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../datacenter/inc/msg.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../datacenter/inc/version.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o: ../datacenter/bizService/F_Online.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o: ../datacenter/bizService/F_ReadData.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o: ../datacenter/bizService/F_ReadData.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o: ../datacenter/bizService/f-readdata/normalDataDB.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: ../datacenter/bizService/F_SetSupportNum.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: ../datacenter/bizService/F_SetSupportNum.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o: ../datacenter/bizService/F_Tool.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o: ../datacenter/bizService/F_Tool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o: ../datacenter/bizService/F_Tool.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o: ../datacenter/bizService/F_UpdateRecord.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o: ../datacenter/bizService/F_UpdateRecord.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: ../datacenter/bizService/F_WriteData.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: ../datacenter/bizService/F_WriteData.h
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o: ../datacenter/bizService/f-readdata/normalDataDB.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o: ../datacenter/bizService/f-readdata/normalDataDB.cpp
|
||||
CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o: ../datacenter/bizService/f-readdata/normalDataDB.h
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../common/inc/ToolUtils.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../common/inc/queue.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../common/inc/sqlite3.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../common/inc/thread_pool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/bizService/F_GetVersion.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/inc/ConnectionPool.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/inc/Database.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/inc/bizservice.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/inc/datacenter.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/inc/mqttClient.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/inc/msg.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../service.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o: ../datacenter/src/datacenter.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o: ../common/inc/json.hpp
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o: ../common/inc/queue.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o: ../datacenter/inc/mqttClient.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o: ../datacenter/inc/msg.h
|
||||
CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o: ../datacenter/src/mqttClient.cpp
|
||||
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o: ../service.h
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o: ../dataservice/dataservice.cpp
|
||||
CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o: ../dataservice/dataservice.h
|
||||
|
||||
CMakeFiles/dcapp.dir/main.cpp.o: ../main.cpp
|
||||
CMakeFiles/dcapp.dir/main.cpp.o: ../service.h
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# compile CXX with /usr/bin/c++
|
||||
CXX_FLAGS = -std=c++11 -g -std=gnu++14
|
||||
|
||||
CXX_DEFINES =
|
||||
|
||||
CXX_INCLUDES = -I/tmp/tmp.Km6nRET6My/. -I/tmp/tmp.Km6nRET6My/./datacenter/inc -I/tmp/tmp.Km6nRET6My/./common/inc
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
-ID:/UGit/dcapp/. -ID:/UGit/dcapp/./datacenter/inc
|
||||
@@ -0,0 +1 @@
|
||||
/usr/bin/c++ -std=c++11 -g -rdynamic CMakeFiles/dcapp.dir/main.cpp.o CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o CMakeFiles/dcapp.dir/common/src/queue.cpp.o CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o -o dcapp -L/tmp/tmp.Km6nRET6My/lib/x86 -Wl,-rpath,/tmp/tmp.Km6nRET6My/lib/x86 -lpaho-mqtt3c -lsqlite3 -lpthread -ldl -luuid
|
||||
@@ -0,0 +1 @@
|
||||
-LD:/UGit/dcapp/lib/x86 -lpaho-mqtt3c -lsqlite3 -lpthread -ldl -luuid -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32
|
||||
@@ -0,0 +1 @@
|
||||
CMakeFiles/dcapp.dir/main.cpp.obj CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.obj CMakeFiles/dcapp.dir/datacenter/src/queue.cpp.obj CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.obj CMakeFiles/dcapp.dir/datacenter/src/ToolUtils.cpp.obj CMakeFiles/dcapp.dir/datacenter/src/thread_pool.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.obj CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.obj CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.obj
|
||||
@@ -0,0 +1,22 @@
|
||||
CMAKE_PROGRESS_1 = 1
|
||||
CMAKE_PROGRESS_2 = 2
|
||||
CMAKE_PROGRESS_3 = 3
|
||||
CMAKE_PROGRESS_4 = 4
|
||||
CMAKE_PROGRESS_5 = 5
|
||||
CMAKE_PROGRESS_6 = 6
|
||||
CMAKE_PROGRESS_7 = 7
|
||||
CMAKE_PROGRESS_8 = 8
|
||||
CMAKE_PROGRESS_9 = 9
|
||||
CMAKE_PROGRESS_10 = 10
|
||||
CMAKE_PROGRESS_11 = 11
|
||||
CMAKE_PROGRESS_12 = 12
|
||||
CMAKE_PROGRESS_13 = 13
|
||||
CMAKE_PROGRESS_14 = 14
|
||||
CMAKE_PROGRESS_15 = 15
|
||||
CMAKE_PROGRESS_16 = 16
|
||||
CMAKE_PROGRESS_17 = 17
|
||||
CMAKE_PROGRESS_18 = 18
|
||||
CMAKE_PROGRESS_19 = 19
|
||||
CMAKE_PROGRESS_20 = 20
|
||||
CMAKE_PROGRESS_21 = 21
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
21
|
||||
@@ -0,0 +1,748 @@
|
||||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "Unix Makefiles" Generator, CMake Version 3.16
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
# Remove some rules from gmake that .SUFFIXES does not remove.
|
||||
SUFFIXES =
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
# The shell in which to execute make rules.
|
||||
SHELL = /bin/sh
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = /usr/bin/cmake
|
||||
|
||||
# The command to remove a file.
|
||||
RM = /usr/bin/cmake -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = /tmp/tmp.Km6nRET6My
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = /tmp/tmp.Km6nRET6My/cmake-build-debug
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
/usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache/fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache/fast
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache/fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache/fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles/progress.marks
|
||||
$(MAKE) -f CMakeFiles/Makefile2 all
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start /tmp/tmp.Km6nRET6My/cmake-build-debug/CMakeFiles 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 clean
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean/fast: clean
|
||||
|
||||
.PHONY : clean/fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall/fast:
|
||||
$(MAKE) -f CMakeFiles/Makefile2 preinstall
|
||||
.PHONY : preinstall/fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
|
||||
.PHONY : depend
|
||||
|
||||
#=============================================================================
|
||||
# Target rules for targets named dcapp
|
||||
|
||||
# Build rule for target.
|
||||
dcapp: cmake_check_build_system
|
||||
$(MAKE) -f CMakeFiles/Makefile2 dcapp
|
||||
.PHONY : dcapp
|
||||
|
||||
# fast build rule for target.
|
||||
dcapp/fast:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/build
|
||||
.PHONY : dcapp/fast
|
||||
|
||||
common/src/ToolUtils.o: common/src/ToolUtils.cpp.o
|
||||
|
||||
.PHONY : common/src/ToolUtils.o
|
||||
|
||||
# target to build an object file
|
||||
common/src/ToolUtils.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.o
|
||||
.PHONY : common/src/ToolUtils.cpp.o
|
||||
|
||||
common/src/ToolUtils.i: common/src/ToolUtils.cpp.i
|
||||
|
||||
.PHONY : common/src/ToolUtils.i
|
||||
|
||||
# target to preprocess a source file
|
||||
common/src/ToolUtils.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.i
|
||||
.PHONY : common/src/ToolUtils.cpp.i
|
||||
|
||||
common/src/ToolUtils.s: common/src/ToolUtils.cpp.s
|
||||
|
||||
.PHONY : common/src/ToolUtils.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
common/src/ToolUtils.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/ToolUtils.cpp.s
|
||||
.PHONY : common/src/ToolUtils.cpp.s
|
||||
|
||||
common/src/queue.o: common/src/queue.cpp.o
|
||||
|
||||
.PHONY : common/src/queue.o
|
||||
|
||||
# target to build an object file
|
||||
common/src/queue.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/queue.cpp.o
|
||||
.PHONY : common/src/queue.cpp.o
|
||||
|
||||
common/src/queue.i: common/src/queue.cpp.i
|
||||
|
||||
.PHONY : common/src/queue.i
|
||||
|
||||
# target to preprocess a source file
|
||||
common/src/queue.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/queue.cpp.i
|
||||
.PHONY : common/src/queue.cpp.i
|
||||
|
||||
common/src/queue.s: common/src/queue.cpp.s
|
||||
|
||||
.PHONY : common/src/queue.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
common/src/queue.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/queue.cpp.s
|
||||
.PHONY : common/src/queue.cpp.s
|
||||
|
||||
common/src/thread_pool.o: common/src/thread_pool.cpp.o
|
||||
|
||||
.PHONY : common/src/thread_pool.o
|
||||
|
||||
# target to build an object file
|
||||
common/src/thread_pool.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.o
|
||||
.PHONY : common/src/thread_pool.cpp.o
|
||||
|
||||
common/src/thread_pool.i: common/src/thread_pool.cpp.i
|
||||
|
||||
.PHONY : common/src/thread_pool.i
|
||||
|
||||
# target to preprocess a source file
|
||||
common/src/thread_pool.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.i
|
||||
.PHONY : common/src/thread_pool.cpp.i
|
||||
|
||||
common/src/thread_pool.s: common/src/thread_pool.cpp.s
|
||||
|
||||
.PHONY : common/src/thread_pool.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
common/src/thread_pool.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/common/src/thread_pool.cpp.s
|
||||
.PHONY : common/src/thread_pool.cpp.s
|
||||
|
||||
datacenter/bizService/F_DeteteData.o: datacenter/bizService/F_DeteteData.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_DeteteData.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_DeteteData.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.o
|
||||
.PHONY : datacenter/bizService/F_DeteteData.cpp.o
|
||||
|
||||
datacenter/bizService/F_DeteteData.i: datacenter/bizService/F_DeteteData.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_DeteteData.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_DeteteData.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.i
|
||||
.PHONY : datacenter/bizService/F_DeteteData.cpp.i
|
||||
|
||||
datacenter/bizService/F_DeteteData.s: datacenter/bizService/F_DeteteData.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_DeteteData.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_DeteteData.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_DeteteData.cpp.s
|
||||
.PHONY : datacenter/bizService/F_DeteteData.cpp.s
|
||||
|
||||
datacenter/bizService/F_FormatData.o: datacenter/bizService/F_FormatData.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_FormatData.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_FormatData.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.o
|
||||
.PHONY : datacenter/bizService/F_FormatData.cpp.o
|
||||
|
||||
datacenter/bizService/F_FormatData.i: datacenter/bizService/F_FormatData.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_FormatData.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_FormatData.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.i
|
||||
.PHONY : datacenter/bizService/F_FormatData.cpp.i
|
||||
|
||||
datacenter/bizService/F_FormatData.s: datacenter/bizService/F_FormatData.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_FormatData.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_FormatData.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_FormatData.cpp.s
|
||||
.PHONY : datacenter/bizService/F_FormatData.cpp.s
|
||||
|
||||
datacenter/bizService/F_GetSaveCount.o: datacenter/bizService/F_GetSaveCount.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetSaveCount.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_GetSaveCount.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.o
|
||||
.PHONY : datacenter/bizService/F_GetSaveCount.cpp.o
|
||||
|
||||
datacenter/bizService/F_GetSaveCount.i: datacenter/bizService/F_GetSaveCount.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetSaveCount.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_GetSaveCount.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.i
|
||||
.PHONY : datacenter/bizService/F_GetSaveCount.cpp.i
|
||||
|
||||
datacenter/bizService/F_GetSaveCount.s: datacenter/bizService/F_GetSaveCount.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetSaveCount.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_GetSaveCount.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSaveCount.cpp.s
|
||||
.PHONY : datacenter/bizService/F_GetSaveCount.cpp.s
|
||||
|
||||
datacenter/bizService/F_GetSupportNum.o: datacenter/bizService/F_GetSupportNum.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetSupportNum.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_GetSupportNum.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.o
|
||||
.PHONY : datacenter/bizService/F_GetSupportNum.cpp.o
|
||||
|
||||
datacenter/bizService/F_GetSupportNum.i: datacenter/bizService/F_GetSupportNum.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetSupportNum.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_GetSupportNum.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.i
|
||||
.PHONY : datacenter/bizService/F_GetSupportNum.cpp.i
|
||||
|
||||
datacenter/bizService/F_GetSupportNum.s: datacenter/bizService/F_GetSupportNum.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetSupportNum.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_GetSupportNum.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetSupportNum.cpp.s
|
||||
.PHONY : datacenter/bizService/F_GetSupportNum.cpp.s
|
||||
|
||||
datacenter/bizService/F_GetVersion.o: datacenter/bizService/F_GetVersion.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetVersion.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_GetVersion.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.o
|
||||
.PHONY : datacenter/bizService/F_GetVersion.cpp.o
|
||||
|
||||
datacenter/bizService/F_GetVersion.i: datacenter/bizService/F_GetVersion.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetVersion.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_GetVersion.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.i
|
||||
.PHONY : datacenter/bizService/F_GetVersion.cpp.i
|
||||
|
||||
datacenter/bizService/F_GetVersion.s: datacenter/bizService/F_GetVersion.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_GetVersion.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_GetVersion.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_GetVersion.cpp.s
|
||||
.PHONY : datacenter/bizService/F_GetVersion.cpp.s
|
||||
|
||||
datacenter/bizService/F_InsertRecord.o: datacenter/bizService/F_InsertRecord.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_InsertRecord.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_InsertRecord.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.o
|
||||
.PHONY : datacenter/bizService/F_InsertRecord.cpp.o
|
||||
|
||||
datacenter/bizService/F_InsertRecord.i: datacenter/bizService/F_InsertRecord.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_InsertRecord.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_InsertRecord.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.i
|
||||
.PHONY : datacenter/bizService/F_InsertRecord.cpp.i
|
||||
|
||||
datacenter/bizService/F_InsertRecord.s: datacenter/bizService/F_InsertRecord.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_InsertRecord.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_InsertRecord.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_InsertRecord.cpp.s
|
||||
.PHONY : datacenter/bizService/F_InsertRecord.cpp.s
|
||||
|
||||
datacenter/bizService/F_Online.o: datacenter/bizService/F_Online.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_Online.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_Online.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.o
|
||||
.PHONY : datacenter/bizService/F_Online.cpp.o
|
||||
|
||||
datacenter/bizService/F_Online.i: datacenter/bizService/F_Online.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_Online.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_Online.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.i
|
||||
.PHONY : datacenter/bizService/F_Online.cpp.i
|
||||
|
||||
datacenter/bizService/F_Online.s: datacenter/bizService/F_Online.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_Online.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_Online.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_Online.cpp.s
|
||||
.PHONY : datacenter/bizService/F_Online.cpp.s
|
||||
|
||||
datacenter/bizService/F_ReadData.o: datacenter/bizService/F_ReadData.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_ReadData.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_ReadData.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.o
|
||||
.PHONY : datacenter/bizService/F_ReadData.cpp.o
|
||||
|
||||
datacenter/bizService/F_ReadData.i: datacenter/bizService/F_ReadData.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_ReadData.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_ReadData.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.i
|
||||
.PHONY : datacenter/bizService/F_ReadData.cpp.i
|
||||
|
||||
datacenter/bizService/F_ReadData.s: datacenter/bizService/F_ReadData.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_ReadData.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_ReadData.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_ReadData.cpp.s
|
||||
.PHONY : datacenter/bizService/F_ReadData.cpp.s
|
||||
|
||||
datacenter/bizService/F_SetSupportNum.o: datacenter/bizService/F_SetSupportNum.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_SetSupportNum.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_SetSupportNum.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.o
|
||||
.PHONY : datacenter/bizService/F_SetSupportNum.cpp.o
|
||||
|
||||
datacenter/bizService/F_SetSupportNum.i: datacenter/bizService/F_SetSupportNum.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_SetSupportNum.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_SetSupportNum.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.i
|
||||
.PHONY : datacenter/bizService/F_SetSupportNum.cpp.i
|
||||
|
||||
datacenter/bizService/F_SetSupportNum.s: datacenter/bizService/F_SetSupportNum.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_SetSupportNum.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_SetSupportNum.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_SetSupportNum.cpp.s
|
||||
.PHONY : datacenter/bizService/F_SetSupportNum.cpp.s
|
||||
|
||||
datacenter/bizService/F_Tool.o: datacenter/bizService/F_Tool.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_Tool.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_Tool.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.o
|
||||
.PHONY : datacenter/bizService/F_Tool.cpp.o
|
||||
|
||||
datacenter/bizService/F_Tool.i: datacenter/bizService/F_Tool.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_Tool.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_Tool.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.i
|
||||
.PHONY : datacenter/bizService/F_Tool.cpp.i
|
||||
|
||||
datacenter/bizService/F_Tool.s: datacenter/bizService/F_Tool.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_Tool.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_Tool.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_Tool.cpp.s
|
||||
.PHONY : datacenter/bizService/F_Tool.cpp.s
|
||||
|
||||
datacenter/bizService/F_UpdateRecord.o: datacenter/bizService/F_UpdateRecord.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_UpdateRecord.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_UpdateRecord.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.o
|
||||
.PHONY : datacenter/bizService/F_UpdateRecord.cpp.o
|
||||
|
||||
datacenter/bizService/F_UpdateRecord.i: datacenter/bizService/F_UpdateRecord.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_UpdateRecord.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_UpdateRecord.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.i
|
||||
.PHONY : datacenter/bizService/F_UpdateRecord.cpp.i
|
||||
|
||||
datacenter/bizService/F_UpdateRecord.s: datacenter/bizService/F_UpdateRecord.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_UpdateRecord.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_UpdateRecord.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_UpdateRecord.cpp.s
|
||||
.PHONY : datacenter/bizService/F_UpdateRecord.cpp.s
|
||||
|
||||
datacenter/bizService/F_WriteData.o: datacenter/bizService/F_WriteData.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/F_WriteData.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/F_WriteData.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.o
|
||||
.PHONY : datacenter/bizService/F_WriteData.cpp.o
|
||||
|
||||
datacenter/bizService/F_WriteData.i: datacenter/bizService/F_WriteData.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/F_WriteData.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/F_WriteData.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.i
|
||||
.PHONY : datacenter/bizService/F_WriteData.cpp.i
|
||||
|
||||
datacenter/bizService/F_WriteData.s: datacenter/bizService/F_WriteData.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/F_WriteData.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/F_WriteData.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/F_WriteData.cpp.s
|
||||
.PHONY : datacenter/bizService/F_WriteData.cpp.s
|
||||
|
||||
datacenter/bizService/f-readdata/normalDataDB.o: datacenter/bizService/f-readdata/normalDataDB.cpp.o
|
||||
|
||||
.PHONY : datacenter/bizService/f-readdata/normalDataDB.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/bizService/f-readdata/normalDataDB.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.o
|
||||
.PHONY : datacenter/bizService/f-readdata/normalDataDB.cpp.o
|
||||
|
||||
datacenter/bizService/f-readdata/normalDataDB.i: datacenter/bizService/f-readdata/normalDataDB.cpp.i
|
||||
|
||||
.PHONY : datacenter/bizService/f-readdata/normalDataDB.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/bizService/f-readdata/normalDataDB.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.i
|
||||
.PHONY : datacenter/bizService/f-readdata/normalDataDB.cpp.i
|
||||
|
||||
datacenter/bizService/f-readdata/normalDataDB.s: datacenter/bizService/f-readdata/normalDataDB.cpp.s
|
||||
|
||||
.PHONY : datacenter/bizService/f-readdata/normalDataDB.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/bizService/f-readdata/normalDataDB.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/bizService/f-readdata/normalDataDB.cpp.s
|
||||
.PHONY : datacenter/bizService/f-readdata/normalDataDB.cpp.s
|
||||
|
||||
datacenter/src/datacenter.o: datacenter/src/datacenter.cpp.o
|
||||
|
||||
.PHONY : datacenter/src/datacenter.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/src/datacenter.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.o
|
||||
.PHONY : datacenter/src/datacenter.cpp.o
|
||||
|
||||
datacenter/src/datacenter.i: datacenter/src/datacenter.cpp.i
|
||||
|
||||
.PHONY : datacenter/src/datacenter.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/src/datacenter.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.i
|
||||
.PHONY : datacenter/src/datacenter.cpp.i
|
||||
|
||||
datacenter/src/datacenter.s: datacenter/src/datacenter.cpp.s
|
||||
|
||||
.PHONY : datacenter/src/datacenter.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/src/datacenter.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/src/datacenter.cpp.s
|
||||
.PHONY : datacenter/src/datacenter.cpp.s
|
||||
|
||||
datacenter/src/mqttClient.o: datacenter/src/mqttClient.cpp.o
|
||||
|
||||
.PHONY : datacenter/src/mqttClient.o
|
||||
|
||||
# target to build an object file
|
||||
datacenter/src/mqttClient.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.o
|
||||
.PHONY : datacenter/src/mqttClient.cpp.o
|
||||
|
||||
datacenter/src/mqttClient.i: datacenter/src/mqttClient.cpp.i
|
||||
|
||||
.PHONY : datacenter/src/mqttClient.i
|
||||
|
||||
# target to preprocess a source file
|
||||
datacenter/src/mqttClient.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.i
|
||||
.PHONY : datacenter/src/mqttClient.cpp.i
|
||||
|
||||
datacenter/src/mqttClient.s: datacenter/src/mqttClient.cpp.s
|
||||
|
||||
.PHONY : datacenter/src/mqttClient.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
datacenter/src/mqttClient.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/datacenter/src/mqttClient.cpp.s
|
||||
.PHONY : datacenter/src/mqttClient.cpp.s
|
||||
|
||||
dataservice/dataservice.o: dataservice/dataservice.cpp.o
|
||||
|
||||
.PHONY : dataservice/dataservice.o
|
||||
|
||||
# target to build an object file
|
||||
dataservice/dataservice.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.o
|
||||
.PHONY : dataservice/dataservice.cpp.o
|
||||
|
||||
dataservice/dataservice.i: dataservice/dataservice.cpp.i
|
||||
|
||||
.PHONY : dataservice/dataservice.i
|
||||
|
||||
# target to preprocess a source file
|
||||
dataservice/dataservice.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.i
|
||||
.PHONY : dataservice/dataservice.cpp.i
|
||||
|
||||
dataservice/dataservice.s: dataservice/dataservice.cpp.s
|
||||
|
||||
.PHONY : dataservice/dataservice.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
dataservice/dataservice.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/dataservice/dataservice.cpp.s
|
||||
.PHONY : dataservice/dataservice.cpp.s
|
||||
|
||||
main.o: main.cpp.o
|
||||
|
||||
.PHONY : main.o
|
||||
|
||||
# target to build an object file
|
||||
main.cpp.o:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/main.cpp.o
|
||||
.PHONY : main.cpp.o
|
||||
|
||||
main.i: main.cpp.i
|
||||
|
||||
.PHONY : main.i
|
||||
|
||||
# target to preprocess a source file
|
||||
main.cpp.i:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/main.cpp.i
|
||||
.PHONY : main.cpp.i
|
||||
|
||||
main.s: main.cpp.s
|
||||
|
||||
.PHONY : main.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
main.cpp.s:
|
||||
$(MAKE) -f CMakeFiles/dcapp.dir/build.make CMakeFiles/dcapp.dir/main.cpp.s
|
||||
.PHONY : main.cpp.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo "The following are some of the valid targets for this Makefile:"
|
||||
@echo "... all (the default if no target is provided)"
|
||||
@echo "... clean"
|
||||
@echo "... depend"
|
||||
@echo "... rebuild_cache"
|
||||
@echo "... edit_cache"
|
||||
@echo "... dcapp"
|
||||
@echo "... common/src/ToolUtils.o"
|
||||
@echo "... common/src/ToolUtils.i"
|
||||
@echo "... common/src/ToolUtils.s"
|
||||
@echo "... common/src/queue.o"
|
||||
@echo "... common/src/queue.i"
|
||||
@echo "... common/src/queue.s"
|
||||
@echo "... common/src/thread_pool.o"
|
||||
@echo "... common/src/thread_pool.i"
|
||||
@echo "... common/src/thread_pool.s"
|
||||
@echo "... datacenter/bizService/F_DeteteData.o"
|
||||
@echo "... datacenter/bizService/F_DeteteData.i"
|
||||
@echo "... datacenter/bizService/F_DeteteData.s"
|
||||
@echo "... datacenter/bizService/F_FormatData.o"
|
||||
@echo "... datacenter/bizService/F_FormatData.i"
|
||||
@echo "... datacenter/bizService/F_FormatData.s"
|
||||
@echo "... datacenter/bizService/F_GetSaveCount.o"
|
||||
@echo "... datacenter/bizService/F_GetSaveCount.i"
|
||||
@echo "... datacenter/bizService/F_GetSaveCount.s"
|
||||
@echo "... datacenter/bizService/F_GetSupportNum.o"
|
||||
@echo "... datacenter/bizService/F_GetSupportNum.i"
|
||||
@echo "... datacenter/bizService/F_GetSupportNum.s"
|
||||
@echo "... datacenter/bizService/F_GetVersion.o"
|
||||
@echo "... datacenter/bizService/F_GetVersion.i"
|
||||
@echo "... datacenter/bizService/F_GetVersion.s"
|
||||
@echo "... datacenter/bizService/F_InsertRecord.o"
|
||||
@echo "... datacenter/bizService/F_InsertRecord.i"
|
||||
@echo "... datacenter/bizService/F_InsertRecord.s"
|
||||
@echo "... datacenter/bizService/F_Online.o"
|
||||
@echo "... datacenter/bizService/F_Online.i"
|
||||
@echo "... datacenter/bizService/F_Online.s"
|
||||
@echo "... datacenter/bizService/F_ReadData.o"
|
||||
@echo "... datacenter/bizService/F_ReadData.i"
|
||||
@echo "... datacenter/bizService/F_ReadData.s"
|
||||
@echo "... datacenter/bizService/F_SetSupportNum.o"
|
||||
@echo "... datacenter/bizService/F_SetSupportNum.i"
|
||||
@echo "... datacenter/bizService/F_SetSupportNum.s"
|
||||
@echo "... datacenter/bizService/F_Tool.o"
|
||||
@echo "... datacenter/bizService/F_Tool.i"
|
||||
@echo "... datacenter/bizService/F_Tool.s"
|
||||
@echo "... datacenter/bizService/F_UpdateRecord.o"
|
||||
@echo "... datacenter/bizService/F_UpdateRecord.i"
|
||||
@echo "... datacenter/bizService/F_UpdateRecord.s"
|
||||
@echo "... datacenter/bizService/F_WriteData.o"
|
||||
@echo "... datacenter/bizService/F_WriteData.i"
|
||||
@echo "... datacenter/bizService/F_WriteData.s"
|
||||
@echo "... datacenter/bizService/f-readdata/normalDataDB.o"
|
||||
@echo "... datacenter/bizService/f-readdata/normalDataDB.i"
|
||||
@echo "... datacenter/bizService/f-readdata/normalDataDB.s"
|
||||
@echo "... datacenter/src/datacenter.o"
|
||||
@echo "... datacenter/src/datacenter.i"
|
||||
@echo "... datacenter/src/datacenter.s"
|
||||
@echo "... datacenter/src/mqttClient.o"
|
||||
@echo "... datacenter/src/mqttClient.i"
|
||||
@echo "... datacenter/src/mqttClient.s"
|
||||
@echo "... dataservice/dataservice.o"
|
||||
@echo "... dataservice/dataservice.i"
|
||||
@echo "... dataservice/dataservice.s"
|
||||
@echo "... main.o"
|
||||
@echo "... main.i"
|
||||
@echo "... main.s"
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
Start testing: Mar 12 17:03 CST
|
||||
----------------------------------------------------------
|
||||
End testing: Mar 12 17:03 CST
|
||||
@@ -0,0 +1,49 @@
|
||||
# Install script for directory: /tmp/tmp.Km6nRET6My
|
||||
|
||||
# Set the install prefix
|
||||
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
|
||||
set(CMAKE_INSTALL_PREFIX "/usr/local")
|
||||
endif()
|
||||
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||
|
||||
# Set the install configuration name.
|
||||
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
|
||||
if(BUILD_TYPE)
|
||||
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
|
||||
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
|
||||
endif()
|
||||
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
|
||||
endif()
|
||||
|
||||
# Set the component getting installed.
|
||||
if(NOT CMAKE_INSTALL_COMPONENT)
|
||||
if(COMPONENT)
|
||||
message(STATUS "Install component: \"${COMPONENT}\"")
|
||||
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
|
||||
else()
|
||||
set(CMAKE_INSTALL_COMPONENT)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Install shared libraries without execute permission?
|
||||
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
|
||||
set(CMAKE_INSTALL_SO_NO_EXE "1")
|
||||
endif()
|
||||
|
||||
# Is this installation the result of a crosscompile?
|
||||
if(NOT DEFINED CMAKE_CROSSCOMPILING)
|
||||
set(CMAKE_CROSSCOMPILING "FALSE")
|
||||
endif()
|
||||
|
||||
if(CMAKE_INSTALL_COMPONENT)
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
|
||||
else()
|
||||
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
|
||||
endif()
|
||||
|
||||
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
|
||||
"${CMAKE_INSTALL_MANIFEST_FILES}")
|
||||
file(WRITE "/tmp/tmp.Km6nRET6My/cmake-build-debug/${CMAKE_INSTALL_MANIFEST}"
|
||||
"${CMAKE_INSTALL_MANIFEST_CONTENT}")
|
||||
@@ -0,0 +1,194 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6"/>
|
||||
<Project>
|
||||
<Option title="dcapp"/>
|
||||
<Option makefile_is_custom="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Option virtualFolders="CMake Files\;"/>
|
||||
<Build>
|
||||
<Target title="all">
|
||||
<Option working_dir="/tmp/tmp.Km6nRET6My/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 all"/>
|
||||
<CompileFile command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="rebuild_cache">
|
||||
<Option working_dir="/tmp/tmp.Km6nRET6My/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 rebuild_cache"/>
|
||||
<CompileFile command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="edit_cache">
|
||||
<Option working_dir="/tmp/tmp.Km6nRET6My/cmake-build-debug"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 edit_cache"/>
|
||||
<CompileFile command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="dcapp">
|
||||
<Option output="/tmp/tmp.Km6nRET6My/cmake-build-debug/dcapp" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/tmp/tmp.Km6nRET6My/cmake-build-debug"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add directory="/tmp/tmp.Km6nRET6My/."/>
|
||||
<Add directory="/tmp/tmp.Km6nRET6My/./datacenter/inc"/>
|
||||
<Add directory="/tmp/tmp.Km6nRET6My/./common/inc"/>
|
||||
<Add directory="/usr/include/c++/9"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/9"/>
|
||||
<Add directory="/usr/include/c++/9/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/9/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 dcapp"/>
|
||||
<CompileFile command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="dcapp/fast">
|
||||
<Option output="/tmp/tmp.Km6nRET6My/cmake-build-debug/dcapp" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="/tmp/tmp.Km6nRET6My/cmake-build-debug"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="gcc"/>
|
||||
<Compiler>
|
||||
<Add directory="/tmp/tmp.Km6nRET6My/."/>
|
||||
<Add directory="/tmp/tmp.Km6nRET6My/./datacenter/inc"/>
|
||||
<Add directory="/tmp/tmp.Km6nRET6My/./common/inc"/>
|
||||
<Add directory="/usr/include/c++/9"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu/c++/9"/>
|
||||
<Add directory="/usr/include/c++/9/backward"/>
|
||||
<Add directory="/usr/lib/gcc/x86_64-linux-gnu/9/include"/>
|
||||
<Add directory="/usr/local/include"/>
|
||||
<Add directory="/usr/include/x86_64-linux-gnu"/>
|
||||
<Add directory="/usr/include"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 dcapp/fast"/>
|
||||
<CompileFile command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="/usr/bin/make -j2 -f "/tmp/tmp.Km6nRET6My/cmake-build-debug/Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/common/src/ToolUtils.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/common/src/queue.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/common/src/thread_pool.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_DeteteData.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_FormatData.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSaveCount.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetSupportNum.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_GetVersion.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_InsertRecord.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Online.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_ReadData.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_SetSupportNum.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_Tool.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_UpdateRecord.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/F_WriteData.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/bizService/f-readdata/normalDataDB.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/src/datacenter.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/datacenter/src/mqttClient.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/dataservice/dataservice.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/dataservice/dataservice.h">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/main.cpp">
|
||||
<Option target="dcapp"/>
|
||||
</Unit>
|
||||
<Unit filename="/tmp/tmp.Km6nRET6My/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\"/>
|
||||
</Unit>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
||||
@@ -0,0 +1,29 @@
|
||||
//
|
||||
// Created by zgj on 2024/4/29.
|
||||
//
|
||||
|
||||
#ifndef METERMQTT_TOOLUTILS_H
|
||||
#define METERMQTT_TOOLUTILS_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace ToolUtils{
|
||||
std::string getTimeString(bool isLocalTime);
|
||||
std::string getUtcTimeString(bool isLocalTime);
|
||||
std::string getCurTimeStringWithFomat(bool isLocalTime);
|
||||
std::string getTimeStringWithFomat(time_t stamp);
|
||||
uint64_t getUtcTime(bool isLocalTime);
|
||||
bool isCSTZone();
|
||||
bool subString(std::string srcStr, std::string subStr,std::string &resultStr);
|
||||
std::string genUUID();
|
||||
void hexstr_to_str(void *dst, const void *src, int src_len);
|
||||
void str_to_hexstr(void *dst, const void *src, int src_len);
|
||||
int encode_blob(void *dst, int max_len, const void *src, int src_len);
|
||||
int decode_blob(void *dst, int max_len, const void *src);
|
||||
void topic_split(const std::string& str, char delimiter,std::vector<std::string>& topic);
|
||||
std::string makeTpopicStr(std::vector<std::string>topicV);
|
||||
std::string now_to_string();
|
||||
time_t string_to_now(std::string stamp);
|
||||
}
|
||||
#endif //METERMQTT_TOOLUTILS_H
|
||||
@@ -1,40 +1,40 @@
|
||||
/**
|
||||
* @文件路径: \datacenter\datacenter\inc\queue.h
|
||||
* @作者名称: zjp
|
||||
* @文件版本: V1.0.0
|
||||
* @创建日期: 2025-02-20 16:03:06
|
||||
* @简要说明:
|
||||
* @编辑时间: 2025-02-21 14:27:34
|
||||
* @Copyright: 2025 Shenzhen ShenBao Electrical instruments CO.,LTD. All Rights Reserved.
|
||||
*/
|
||||
#ifndef _DCAPP_DATACENTER_QUENE_H_
|
||||
#define _DCAPP_DATACENTER_QUENE_H_
|
||||
#include <iostream>
|
||||
#include <queue>
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
#include <chrono>
|
||||
#include <string>
|
||||
#include "msg.h"
|
||||
|
||||
// 消息队列类
|
||||
class MessageQueue
|
||||
{
|
||||
private:
|
||||
std::queue<msg_mqtt_t> _queue; // 存储消息的队列
|
||||
std::mutex mtx; // 保护队列的互斥量
|
||||
std::condition_variable cv; // 用于线程同步的条件变量
|
||||
|
||||
public:
|
||||
MessageQueue();
|
||||
~MessageQueue();
|
||||
// 向队列中添加消息
|
||||
void push(msg_mqtt_t message);
|
||||
|
||||
// 从队列中获取消息
|
||||
msg_mqtt_t pop();
|
||||
// 从队列中获取消息无阻塞
|
||||
msg_mqtt_t pop_nonblock();
|
||||
};
|
||||
#endif
|
||||
/**
|
||||
* @文件路径: \datacenter\datacenter\inc\queue.h
|
||||
* @作者名称: zjp
|
||||
* @文件版本: V1.0.0
|
||||
* @创建日期: 2025-02-20 16:03:06
|
||||
* @简要说明:
|
||||
* @编辑时间: 2025-02-21 14:27:34
|
||||
* @Copyright: 2025 Shenzhen ShenBao Electrical instruments CO.,LTD. All Rights Reserved.
|
||||
*/
|
||||
#ifndef _DCAPP_DATACENTER_QUENE_H_
|
||||
#define _DCAPP_DATACENTER_QUENE_H_
|
||||
#include <iostream>
|
||||
#include <queue>
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
#include <chrono>
|
||||
#include <string>
|
||||
#include "msg.h"
|
||||
|
||||
// 消息队列类
|
||||
class MessageQueue
|
||||
{
|
||||
private:
|
||||
std::queue<msg_mqtt_t> _queue; // 存储消息的队列
|
||||
std::mutex mtx; // 保护队列的互斥量
|
||||
std::condition_variable cv; // 用于线程同步的条件变量
|
||||
|
||||
public:
|
||||
MessageQueue();
|
||||
~MessageQueue();
|
||||
// 向队列中添加消息
|
||||
void push(msg_mqtt_t message);
|
||||
|
||||
// 从队列中获取消息
|
||||
msg_mqtt_t pop();
|
||||
// 从队列中获取消息无阻塞
|
||||
msg_mqtt_t pop_nonblock();
|
||||
};
|
||||
#endif
|
||||
@@ -0,0 +1,245 @@
|
||||
//
|
||||
// Created by zgj on 2024/4/29.
|
||||
//
|
||||
|
||||
#include <iostream>
|
||||
#include <uuid/uuid.h>
|
||||
#include <cstring>
|
||||
#include <sstream>
|
||||
#include <chrono>
|
||||
#include <iomanip>
|
||||
#include "../inc/ToolUtils.h"
|
||||
|
||||
namespace ToolUtils {
|
||||
/**
|
||||
* 获取当前时间的字符串表示。
|
||||
*
|
||||
* @param isLocalTime 如果为true,则返回本地时间的字符串表示,否则返回UTC时间的字符串表示。
|
||||
* @return 返回当前时间(根据isLocalTime参数决定是本地时间还是UTC时间)的字符串表示,格式为"YYYY-MM-DD HH:MM:SS"。
|
||||
*/
|
||||
std::string getTimeString(bool isLocalTime) {
|
||||
char buf[128] = {0};
|
||||
|
||||
time_t now = time(NULL);
|
||||
if (isLocalTime) {
|
||||
now = now + 8 * 3600;
|
||||
}
|
||||
struct tm ttm;
|
||||
struct tm *pTm = NULL;
|
||||
pTm = localtime_r(&now, &ttm);
|
||||
|
||||
snprintf(buf, sizeof(buf), "%.4d-%.2d-%.2d %.2d:%.2d:%.2d",
|
||||
pTm->tm_year + 1900,
|
||||
pTm->tm_mon + 1,
|
||||
pTm->tm_mday,
|
||||
pTm->tm_hour,
|
||||
pTm->tm_min,
|
||||
pTm->tm_sec
|
||||
);
|
||||
|
||||
return std::string(buf);
|
||||
}
|
||||
|
||||
|
||||
std::string getUtcTimeString(bool isLocalTime) {
|
||||
return std::to_string(isLocalTime ? time(NULL) + 8 * 360: time(NULL));
|
||||
}
|
||||
|
||||
std::string getCurTimeStringWithFomat(bool isLocalTime) {
|
||||
char buf[128] = {0};
|
||||
|
||||
time_t now = time(NULL);
|
||||
if (isLocalTime) {
|
||||
now = now + 8 * 3600;
|
||||
}
|
||||
struct tm ttm;
|
||||
struct tm *pTm = NULL;
|
||||
pTm = localtime_r(&now, &ttm);
|
||||
|
||||
struct timespec ts;
|
||||
clock_gettime(CLOCK_REALTIME, &ts);
|
||||
|
||||
snprintf(buf, sizeof(buf), "%.4d-%.2d-%.2dT%.2d:%.2d:%.2d.%03ld+0800",
|
||||
pTm->tm_year + 1900,
|
||||
pTm->tm_mon + 1,
|
||||
pTm->tm_mday,
|
||||
pTm->tm_hour,
|
||||
pTm->tm_min,
|
||||
pTm->tm_sec,
|
||||
ts.tv_nsec/1000000
|
||||
);
|
||||
|
||||
return std::string(buf);
|
||||
}
|
||||
|
||||
uint64_t getUtcTime(bool isLocalTime) {
|
||||
return isLocalTime ? time(NULL) + 8 * 3600: time(NULL);
|
||||
}
|
||||
|
||||
bool isCSTZone(){
|
||||
std::string zoneStr = "CST";
|
||||
struct tm ttm;
|
||||
time_t tt = time(NULL);
|
||||
struct tm *local_time = localtime_r(&tt, &ttm);
|
||||
if(zoneStr.compare(local_time->tm_zone) == 0)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
bool subString(std::string srcStr, std::string subStr,std::string &resultStr) {
|
||||
int pos = -1;
|
||||
pos = srcStr.find(subStr);
|
||||
if(pos != std::string::npos){
|
||||
resultStr = srcStr.substr(pos + subStr.length());
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
// 生成UUID
|
||||
std::string genUUID(){
|
||||
uuid_t bin_uuid;
|
||||
char uuid_str[37];
|
||||
uuid_generate_random(bin_uuid);
|
||||
uuid_unparse_lower(bin_uuid, uuid_str);
|
||||
return std::string(uuid_str);
|
||||
}
|
||||
|
||||
void hexstr_to_str(void *dst, const void *src, int src_len) {
|
||||
int i;
|
||||
uint8_t low, high, ch;
|
||||
uint8_t *dst_ptr = (uint8_t *) dst;
|
||||
const uint8_t *src_ptr = (const uint8_t *) src;
|
||||
|
||||
for (i = 0; i < src_len / 2; i++) {
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
high = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
high = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
high = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
low = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
low = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
low = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
*dst_ptr++ = high * 16 + low; //hex
|
||||
}
|
||||
}
|
||||
|
||||
void str_to_hexstr(void *dst, const void *src, int src_len) {
|
||||
int i;
|
||||
uint8_t low, high, ch;
|
||||
char *dst_ptr = (char *) dst;
|
||||
const char *src_ptr = (const char *) src;
|
||||
const char *str = "0123456789abcdef";
|
||||
|
||||
for (i = 0; i < src_len; i++) {
|
||||
ch = *src_ptr++;
|
||||
high = (ch >> 4) & 0x0f;
|
||||
low = ch & 0x0f;
|
||||
*dst_ptr++ = str[high];
|
||||
*dst_ptr++ = str[low];
|
||||
}
|
||||
}
|
||||
|
||||
int encode_blob(void *dst, int max_len, const void *src, int src_len)
|
||||
{
|
||||
int dst_len = 0;
|
||||
|
||||
// may be changed to base64 encode
|
||||
if (max_len >= src_len * 2 + 1)
|
||||
{
|
||||
dst_len = src_len * 2;
|
||||
str_to_hexstr(dst, src, src_len);
|
||||
}
|
||||
((uint8_t *) dst)[dst_len] = 0x00;
|
||||
return dst_len;
|
||||
}
|
||||
|
||||
int decode_blob(void *dst, int max_len, const void *src)
|
||||
{
|
||||
// may be changed to base64 decode
|
||||
int src_len, dst_len = 0;
|
||||
|
||||
src_len = strlen((char *) src);
|
||||
std::cout << "decode_blob src len "<< src_len<<std::endl;
|
||||
if (max_len >= src_len / 2)
|
||||
{
|
||||
dst_len = src_len / 2;
|
||||
hexstr_to_str(dst, src, src_len);
|
||||
}
|
||||
return dst_len;
|
||||
}
|
||||
void topic_split(const std::string& str, char delimiter,std::vector<std::string>& topic) {
|
||||
std::string token; // 临时存储每个子字符串
|
||||
std::istringstream tokenStream(str); // 使用字符串流处理输入字符串
|
||||
// 按分隔符逐个读取子字符串
|
||||
while (std::getline(tokenStream, token, delimiter)) {
|
||||
if(!token.empty())
|
||||
topic.push_back(token); // 将子字符串添加到结果中
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::string makeTpopicStr(std::vector<std::string>topicV){
|
||||
std::string topicStr = "/" + topicV[1] + "/" + topicV[0] + "/" + topicV[2] + "/" + topicV[3];
|
||||
return topicStr;
|
||||
}
|
||||
std::string now_to_string() {
|
||||
// 获取系统时钟时间点
|
||||
auto time_now = std::chrono::system_clock::now();
|
||||
|
||||
// 将时间点转成time_t类型的值 (秒)
|
||||
std::time_t tt = std::chrono::system_clock::to_time_t(time_now);
|
||||
|
||||
// 转换成tm结构体形式
|
||||
struct tm* ptm = gmtime(&tt); // 或者 localtime(&tt) 如果想要本地时间
|
||||
ptm->tm_hour += 8; //utc -> cst
|
||||
// 计算出毫秒部分
|
||||
long milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(
|
||||
time_now.time_since_epoch()
|
||||
).count() % 1000;
|
||||
|
||||
char buffer[40];
|
||||
strftime(buffer, sizeof(buffer), "%Y-%m-%dT%H:%M:%S", ptm);
|
||||
|
||||
// 添加上毫秒和时区信息
|
||||
sprintf(buffer + strlen(buffer), ".%03ld+0800", milliseconds);
|
||||
|
||||
return std::string(buffer);
|
||||
}
|
||||
std::string getTimeStringWithFomat(time_t stamp) {
|
||||
struct timeval tmptime;
|
||||
struct tm tm_time;
|
||||
char buf[50]={0};
|
||||
char tempbuf[200]={0};
|
||||
gettimeofday(&tmptime, NULL);
|
||||
localtime_r(&tmptime.tv_sec, &tm_time);
|
||||
strftime(buf, sizeof(buf), "%Y-%m-%dT%H:%M:%S.:03d%z", &tm_time);
|
||||
char *ptr = strstr(buf, ":03d");
|
||||
if (ptr){
|
||||
ptr[0] = '%';
|
||||
}
|
||||
sprintf(tempbuf, buf, tmptime.tv_usec/1000);
|
||||
std::string timestr = tempbuf;
|
||||
return timestr;
|
||||
}
|
||||
time_t string_to_now(std::string stamp) {
|
||||
struct tm tm={};
|
||||
std::istringstream ss(stamp);
|
||||
ss >> std::get_time(&tm,"%Y-%m-%dT%H:%M:%S");
|
||||
if(ss.fail()){
|
||||
return -1;
|
||||
}
|
||||
return mktime(&tm);
|
||||
}
|
||||
}
|
||||
@@ -1,49 +1,49 @@
|
||||
/**
|
||||
* @文件路径: \datacenter\datacenter\queue.cpp
|
||||
* @作者名称: zjp
|
||||
* @文件版本: V1.0.0
|
||||
* @创建日期: 2025-02-20 15:53:17
|
||||
* @简要说明:
|
||||
* @编辑时间: 2025-02-21 14:29:07
|
||||
* @Copyright: 2025 Shenzhen ShenBao Electrical instruments CO.,LTD. All Rights Reserved.
|
||||
*/
|
||||
|
||||
#include "queue.h"
|
||||
|
||||
MessageQueue::MessageQueue()
|
||||
{
|
||||
}
|
||||
MessageQueue::~MessageQueue()
|
||||
{
|
||||
}
|
||||
|
||||
void MessageQueue::push(msg_mqtt_t message)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(mtx); // 上锁,保证线程安全
|
||||
_queue.push(message); // 添加消息到队列
|
||||
cv.notify_one(); // 通知等待的消费者线程
|
||||
}
|
||||
|
||||
// 从队列中获取消息
|
||||
msg_mqtt_t MessageQueue::pop()
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mtx); // 上锁,确保线程安全
|
||||
cv.wait(lock, [this]
|
||||
{ return !_queue.empty(); }); // 等待直到队列不为空
|
||||
msg_mqtt_t msg = _queue.front(); // 获取队列头部的消息
|
||||
_queue.pop(); // 弹出该消息
|
||||
return msg;
|
||||
}
|
||||
|
||||
msg_mqtt_t MessageQueue::pop_nonblock() {
|
||||
std::unique_lock<std::mutex> lock(mtx); // 上锁,确保线程安全
|
||||
if(_queue.empty()){
|
||||
msg_mqtt_t tmpMsg;
|
||||
tmpMsg.payload = "";
|
||||
tmpMsg.topic = "";
|
||||
return tmpMsg;
|
||||
}
|
||||
msg_mqtt_t msg = _queue.front(); // 获取队列头部的消息
|
||||
_queue.pop(); // 弹出该消息
|
||||
return msg;
|
||||
/**
|
||||
* @文件路径: \datacenter\datacenter\queue.cpp
|
||||
* @作者名称: zjp
|
||||
* @文件版本: V1.0.0
|
||||
* @创建日期: 2025-02-20 15:53:17
|
||||
* @简要说明:
|
||||
* @编辑时间: 2025-02-21 14:29:07
|
||||
* @Copyright: 2025 Shenzhen ShenBao Electrical instruments CO.,LTD. All Rights Reserved.
|
||||
*/
|
||||
|
||||
#include "common/inc/queue.h"
|
||||
|
||||
MessageQueue::MessageQueue()
|
||||
{
|
||||
}
|
||||
MessageQueue::~MessageQueue()
|
||||
{
|
||||
}
|
||||
|
||||
void MessageQueue::push(msg_mqtt_t message)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(mtx); // 上锁,保证线程安全
|
||||
_queue.push(message); // 添加消息到队列
|
||||
cv.notify_one(); // 通知等待的消费者线程
|
||||
}
|
||||
|
||||
// 从队列中获取消息
|
||||
msg_mqtt_t MessageQueue::pop()
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mtx); // 上锁,确保线程安全
|
||||
cv.wait(lock, [this]
|
||||
{ return !_queue.empty(); }); // 等待直到队列不为空
|
||||
msg_mqtt_t msg = _queue.front(); // 获取队列头部的消息
|
||||
_queue.pop(); // 弹出该消息
|
||||
return msg;
|
||||
}
|
||||
|
||||
msg_mqtt_t MessageQueue::pop_nonblock() {
|
||||
std::unique_lock<std::mutex> lock(mtx); // 上锁,确保线程安全
|
||||
if(_queue.empty()){
|
||||
msg_mqtt_t tmpMsg;
|
||||
tmpMsg.payload = "";
|
||||
tmpMsg.topic = "";
|
||||
return tmpMsg;
|
||||
}
|
||||
msg_mqtt_t msg = _queue.front(); // 获取队列头部的消息
|
||||
_queue.pop(); // 弹出该消息
|
||||
return msg;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "thread_pool.h"
|
||||
#include "common/inc/thread_pool.h"
|
||||
|
||||
ThreadPool::ThreadPool(size_t initialThreads)
|
||||
: stop(false)
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <vector>
|
||||
#include "bizservice.h"
|
||||
#include "sqlite3.h"
|
||||
#include "F_Tool.h"
|
||||
class DeleteData:public IBizService,public Tool{
|
||||
|
||||
class DeleteData:public IBizService{
|
||||
public:
|
||||
void Init(initparam_t *param);
|
||||
int HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param = NULL);
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include "json.hpp"
|
||||
#include "common/inc/json.hpp"
|
||||
#include "F_DeleteData.h"
|
||||
#include "bizservice.h"
|
||||
#include "ToolUtils.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json ;// for convenience
|
||||
@@ -98,7 +99,7 @@ int DeleteData::SQLBatch_exc(sqlite3 *db,std::vector<std::string> &sql_list,std
|
||||
int DeleteData::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
|
||||
topic.clear();
|
||||
topic_split(msg.topic,'/',topic);
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
int afn_flag = 0, update_flag = 0;;
|
||||
@@ -121,7 +122,7 @@ int DeleteData::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
if(value.contains("time")){
|
||||
;// value["time"]
|
||||
}
|
||||
|
||||
|
||||
std::stringstream ss;
|
||||
//table_name =search_table_db(afn,dataid);
|
||||
table_name = "frozen";
|
||||
@@ -131,12 +132,11 @@ int DeleteData::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
ss.clear();
|
||||
ret = SQLBatch_exc((sqlite3*)handpara,sql_list,result);
|
||||
resp_process:
|
||||
resp["time"]=now_to_string();
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
resp["ack"]="true";
|
||||
ss << "/"<<topic[1].c_str()<<"/"<<topic[0].c_str()<<"/"\
|
||||
<<topic[2].c_str()<<"/"<<topic[3].c_str();
|
||||
outMsg.topic = ss.str();
|
||||
outMsg.timestamp = time(NULL);;
|
||||
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp DeleteData payload:"<<resp.dump().c_str()<<std::endl;
|
||||
return 1;
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include "json.hpp"
|
||||
#include "common/inc/json.hpp"
|
||||
#include "F_FormatData.h"
|
||||
#include "bizservice.h"
|
||||
#include "ToolUtils.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json ;// for convenience
|
||||
@@ -98,7 +99,7 @@ int FormatData::SQLBatch_exc(sqlite3 *db,std::vector<std::string> &sql_list,std
|
||||
int FormatData::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
|
||||
topic.clear();
|
||||
topic_split(msg.topic,'/',topic);
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
int afn_flag = 0, update_flag = 0;;
|
||||
@@ -131,12 +132,10 @@ int FormatData::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
ss.clear();
|
||||
ret = SQLBatch_exc((sqlite3*)handpara,sql_list,result);
|
||||
resp_process:
|
||||
resp["time"]=now_to_string();
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
resp["ack"]="true";
|
||||
|
||||
ss << "/"<<topic[1].c_str()<<"/"<<topic[0].c_str()<<"/"\
|
||||
<<topic[2].c_str()<<"/"<<topic[3].c_str();
|
||||
outMsg.topic = ss.str();
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);;
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp FormatData payload:"<<resp.dump().c_str()<<std::endl;
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <vector>
|
||||
#include "bizservice.h"
|
||||
#include "sqlite3.h"
|
||||
#include "F_Tool.h"
|
||||
class FormatData:public IBizService,public Tool{
|
||||
|
||||
class FormatData:public IBizService{
|
||||
public:
|
||||
void Init(initparam_t *param);
|
||||
int HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param = NULL);
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include "json.hpp"
|
||||
#include "common/inc/json.hpp"
|
||||
#include "F_GetSaveCount.h"
|
||||
#include "bizservice.h"
|
||||
#include "ToolUtils.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json ;// for convenience
|
||||
@@ -95,7 +96,7 @@ std::string GetSaveCount::GetFID(){
|
||||
int GetSaveCount::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
|
||||
topic.clear();
|
||||
topic_split(msg.topic,'/',topic);
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
int afn_flag = 0, update_flag = 0;;
|
||||
@@ -122,8 +123,8 @@ int GetSaveCount::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
json subvalue = value["data"];
|
||||
int afn = 0;
|
||||
int dataid = 0;
|
||||
decode_blob(&dataid,4, subvalue["dataid"].get<std::string>().c_str());
|
||||
decode_blob(&afn,4,subvalue["afn"].get<std::string>().c_str());
|
||||
ToolUtils::decode_blob(&dataid,4, subvalue["dataid"].get<std::string>().c_str());
|
||||
ToolUtils::decode_blob(&afn,4,subvalue["afn"].get<std::string>().c_str());
|
||||
std::stringstream ss;
|
||||
//table_name =search_table_db(afn,dataid);
|
||||
table_name = "frozen";
|
||||
@@ -157,13 +158,10 @@ int GetSaveCount::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
}
|
||||
ret = SQLBatch_exc((sqlite3*)handpara,sql_list,result);
|
||||
resp_process:
|
||||
resp["time"]=now_to_string();
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
resp["data"]["savecount"]=result[0];
|
||||
|
||||
std::stringstream ss;
|
||||
ss << "/"<<topic[1].c_str()<<"/"<<topic[0].c_str()<<"/"\
|
||||
<<topic[2].c_str()<<"/"<<topic[3].c_str();
|
||||
outMsg.topic = ss.str();
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);;
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp UpdateRecord payload:"<<resp.dump().c_str()<<std::endl;
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <vector>
|
||||
#include "bizservice.h"
|
||||
#include "sqlite3.h"
|
||||
#include "F_Tool.h"
|
||||
class GetSaveCount : public IBizService,public Tool
|
||||
|
||||
class GetSaveCount : public IBizService
|
||||
{
|
||||
public:
|
||||
void Init(initparam_t *param);
|
||||
|
||||
@@ -12,9 +12,10 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include "json.hpp"
|
||||
#include "common/inc/json.hpp"
|
||||
#include "F_GetSupportNum.h"
|
||||
#include "bizservice.h"
|
||||
#include "ToolUtils.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json ;// for convenience
|
||||
@@ -101,7 +102,7 @@ int GetSupportNum::SQLBatch_exc(sqlite3 *db,std::vector<std::string> &sql_list,
|
||||
int GetSupportNum::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
|
||||
topic.clear();
|
||||
topic_split(msg.topic,'/',topic);
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
int afn_flag = 0, update_flag = 0;;
|
||||
@@ -128,8 +129,8 @@ int GetSupportNum::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
json subvalue = value["data"];
|
||||
int afn = 0;
|
||||
int dataid = 0;
|
||||
decode_blob(&dataid,4, subvalue["dataid"].get<std::string>().c_str());
|
||||
decode_blob(&afn,4,subvalue["afn"].get<std::string>().c_str());
|
||||
ToolUtils::decode_blob(&dataid,4, subvalue["dataid"].get<std::string>().c_str());
|
||||
ToolUtils::decode_blob(&afn,4,subvalue["afn"].get<std::string>().c_str());
|
||||
std::stringstream ss;
|
||||
//table_name =search_table_db(afn,dataid);
|
||||
table_name = "frozen";
|
||||
@@ -142,13 +143,11 @@ int GetSupportNum::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
}
|
||||
ret = SQLBatch_exc((sqlite3*)handpara,sql_list,result);
|
||||
resp_process:
|
||||
resp["time"]=now_to_string();
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
resp["data"]["support"]=62;
|
||||
|
||||
std::stringstream ss;
|
||||
ss << "/"<<topic[1].c_str()<<"/"<<topic[0].c_str()<<"/"\
|
||||
<<topic[2].c_str()<<"/"<<topic[3].c_str();
|
||||
outMsg.topic = ss.str();
|
||||
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);;
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp UpdateRecord payload:"<<resp.dump().c_str()<<std::endl;
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <vector>
|
||||
#include "bizservice.h"
|
||||
#include "sqlite3.h"
|
||||
#include "F_Tool.h"
|
||||
class GetSupportNum:public IBizService,public Tool{
|
||||
|
||||
class GetSupportNum:public IBizService{
|
||||
public:
|
||||
void Init(initparam_t *param);
|
||||
int HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param = NULL);
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <unistd.h>
|
||||
#include <ToolUtils.h>
|
||||
#include "ToolUtils.h"
|
||||
|
||||
#include "bizservice.h"
|
||||
#include "msg.h"
|
||||
@@ -49,11 +49,9 @@ int GetVersion::HandleMsg(const msg_t msg,msg_t &outMsg, handparam_t *param) {
|
||||
std::cerr << "Parsing error: " << e.what() << std::endl;
|
||||
return -1;
|
||||
}
|
||||
//是否操作数据库
|
||||
//todo............操作数据库读写
|
||||
|
||||
//封装json响应
|
||||
makeGetVersionReponse(tokenStr,outMsg);
|
||||
makeGetVersionReponse(tokenStr,msg.subTopicV,outMsg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -66,13 +64,13 @@ std::string GetVersion::GetFID(void) {
|
||||
return "F-GetVersion";
|
||||
}
|
||||
|
||||
void GetVersion::makeGetVersionReponse(std::string tokenStr,msg_t &outMsg) {
|
||||
void GetVersion::makeGetVersionReponse(std::string tokenStr,const std::vector<std::string>topicV,msg_t &outMsg) {
|
||||
nlohmann::json js;
|
||||
js["token"] = tokenStr;
|
||||
js["time"] = ToolUtils::getTimeStringWithFomat(false);
|
||||
js["time"] = ToolUtils::getCurTimeStringWithFomat(false);
|
||||
js["data"] = {{"version",DATA_CENTER_VERSION}};
|
||||
|
||||
outMsg.topic = "/sys.dbc/sys.brd/S-datacenter/F-GetVersion";
|
||||
outMsg.topic = "/" + topicV[1] + "/" + topicV[0] + "/" + topicV[2] + "/" + topicV[3];
|
||||
outMsg.payload = js.dump();
|
||||
outMsg.timestamp = ToolUtils::getUtcTime(false);
|
||||
}
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "msg.h"
|
||||
|
||||
#include "bizservice.h"
|
||||
#include "queue.h"
|
||||
#include "common/inc/queue.h"
|
||||
|
||||
|
||||
class GetVersion : public IBizService
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
std::string GetFID(void);
|
||||
|
||||
private:
|
||||
void makeGetVersionReponse(std::string token,msg_t &outMsg);
|
||||
void makeGetVersionReponse(std::string token,const std::vector<std::string>,msg_t &outMsg);
|
||||
};
|
||||
|
||||
#endif
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "F_InsertRecord.h"
|
||||
#include "bizservice.h"
|
||||
#include "sqlite3.h"
|
||||
#include "ToolUtils.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json ;// for convenience
|
||||
@@ -42,113 +43,6 @@ InsertRecord::~InsertRecord(void){
|
||||
void InsertRecord::Init(initparam_t *param){
|
||||
initpara = param;
|
||||
}
|
||||
void hexstr_to_str(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
BYTE *dst_ptr = (BYTE *) dst;
|
||||
const BYTE *src_ptr = (const BYTE *) src;
|
||||
|
||||
for (i = 0; i < src_len / 2; i++)
|
||||
{
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
high = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
high = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
high = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
low = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
low = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
low = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
*dst_ptr++ = high * 16 + low; //hex
|
||||
}
|
||||
}
|
||||
|
||||
void str_to_hexstr(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
char *dst_ptr = (char *) dst;
|
||||
const char *src_ptr = (const char *) src;
|
||||
const char *str = "0123456789abcdef";
|
||||
|
||||
for (i = 0; i < src_len; i++)
|
||||
{
|
||||
ch = *src_ptr++;
|
||||
high = (ch >> 4) & 0x0f;
|
||||
low = ch & 0x0f;
|
||||
*dst_ptr++ = str[high];
|
||||
*dst_ptr++ = str[low];
|
||||
}
|
||||
}
|
||||
int encode_blob(void *dst, int max_len, const void *src, int src_len)
|
||||
{
|
||||
int dst_len = 0;
|
||||
|
||||
// may be changed to base64 encode
|
||||
if (max_len >= src_len * 2 + 1)
|
||||
{
|
||||
dst_len = src_len * 2;
|
||||
str_to_hexstr(dst, src, src_len);
|
||||
}
|
||||
((BYTE *) dst)[dst_len] = 0x00;
|
||||
return dst_len;
|
||||
}
|
||||
|
||||
int decode_blob(void *dst, int max_len, const void *src)
|
||||
{
|
||||
// may be changed to base64 decode
|
||||
int src_len, dst_len = 0;
|
||||
|
||||
src_len = strlen((char *) src);
|
||||
if (max_len >= src_len / 2)
|
||||
{
|
||||
dst_len = src_len / 2;
|
||||
hexstr_to_str(dst, src, src_len);
|
||||
}
|
||||
return dst_len;
|
||||
}
|
||||
std::string InsertRecord::now_to_string() {
|
||||
// 获取系统时钟时间点
|
||||
auto time_now = std::chrono::system_clock::now();
|
||||
|
||||
// 将时间点转成time_t类型的值 (秒)
|
||||
std::time_t tt = std::chrono::system_clock::to_time_t(time_now);
|
||||
|
||||
// 转换成tm结构体形式
|
||||
struct tm* ptm = gmtime(&tt); // 或者 localtime(&tt) 如果想要本地时间
|
||||
ptm->tm_hour += 8; //utc -> cst
|
||||
// 计算出毫秒部分
|
||||
long milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(
|
||||
time_now.time_since_epoch()
|
||||
).count() % 1000;
|
||||
|
||||
char buffer[40];
|
||||
strftime(buffer, sizeof(buffer), "%Y-%m-%dT%H:%M:%S", ptm);
|
||||
|
||||
// 添加上毫秒和时区信息
|
||||
sprintf(buffer + strlen(buffer), ".%03ld+0800", milliseconds);
|
||||
|
||||
return std::string(buffer);
|
||||
}
|
||||
time_t InsertRecord::string_to_now(std::string stamp) {
|
||||
struct tm tm={};
|
||||
std::istringstream ss(stamp);
|
||||
ss >> std::get_time(&tm,"%Y-%m-%dT%H:%M:%S");
|
||||
if(ss.fail()){
|
||||
return -1;
|
||||
}
|
||||
return mktime(&tm);
|
||||
}
|
||||
|
||||
int InsertRecord::SQLBatch_exc(std::vector<std::string> &sql_list,std::vector<std::string> &result){
|
||||
sqlite3 *db = (sqlite3 *)handpara;
|
||||
@@ -192,7 +86,7 @@ int InsertRecord::SQLBatch_exc(std::vector<std::string> &sql_list,std::vector<s
|
||||
int InsertRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
|
||||
topic.clear();
|
||||
topic_split(msg.topic,'/');
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
int afn_flag = 0;
|
||||
@@ -231,7 +125,7 @@ int InsertRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
<< 0 << ","\
|
||||
<<std::stoi(k["metid"].get<std::string>())<<","\
|
||||
<<k["dataid"].get<std::string>().c_str()<<","\
|
||||
<<string_to_now(k["frozentime"].get<std::string>())<<","\
|
||||
<<ToolUtils::string_to_now(k["frozentime"].get<std::string>())<<","\
|
||||
<<time(NULL)<<","\
|
||||
<<std::stoi(k["crcaux"].get<std::string>())<<","\
|
||||
<<k["databuff"].get<std::string>().c_str()<<");";
|
||||
@@ -242,17 +136,15 @@ int InsertRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
}
|
||||
}
|
||||
// ret = SQLBatch_exc(sql_list,result);
|
||||
resp["time"]=now_to_string();
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
if(ret == -1 || afn_flag == -1)
|
||||
resp["ack"]="false";
|
||||
else if(ret == 0)
|
||||
resp["ack"]="true";
|
||||
|
||||
resp["data"]["dataidex"]=result;
|
||||
std::stringstream ss;
|
||||
ss << "/"<<topic[1].c_str()<<"/"<<topic[0].c_str()<<"/"\
|
||||
<<topic[2].c_str()<<"/"<<topic[3].c_str();
|
||||
outMsg.topic = ss.str();
|
||||
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp InsertRecord payload:"<<resp.dump().c_str()<<std::endl;
|
||||
@@ -261,16 +153,6 @@ int InsertRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
std::string InsertRecord::GetFID(){
|
||||
std::string value("F-InsertRecord");
|
||||
return value;
|
||||
|
||||
}
|
||||
void InsertRecord::topic_split(const std::string& str, char delimiter) {
|
||||
std::string token; // 临时存储每个子字符串
|
||||
std::istringstream tokenStream(str); // 使用字符串流处理输入字符串
|
||||
// 按分隔符逐个读取子字符串
|
||||
while (std::getline(tokenStream, token, delimiter)) {
|
||||
topic.push_back(token); // 将子字符串添加到结果中
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -21,8 +21,5 @@ class InsertRecord : public IBizService
|
||||
handparam_t * handpara;
|
||||
initparam_t * initpara;
|
||||
std::vector<std::string> topic;//0:dst 1:src 2:sid 3:fid
|
||||
void topic_split(const std::string& str, char delimiter);
|
||||
int SQLBatch_exc(std::vector<std::string> &sql_list,std::vector<std::string> &result);
|
||||
std::string now_to_string();
|
||||
time_t string_to_now(std::string stamp);
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
#include <ToolUtils.h>
|
||||
#include "ToolUtils.h"
|
||||
|
||||
#include "bizservice.h"
|
||||
#include "json.hpp"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "msg.h"
|
||||
|
||||
#include "bizservice.h"
|
||||
#include "queue.h"
|
||||
#include "common/inc/queue.h"
|
||||
|
||||
class Online : public IBizService
|
||||
{
|
||||
|
||||
@@ -6,48 +6,11 @@
|
||||
#include "f-readdata/normalDataDB.h"
|
||||
#include <time.h>
|
||||
#include <sys/time.h>
|
||||
#include "ToolUtils.h"
|
||||
|
||||
|
||||
REGISTER_BIZSERVICE("F-ReadData",readDataSrv);
|
||||
|
||||
//时间格式转换,时间戳转成 "2021-05-10T08:18:28.666+0800"
|
||||
static std::string time2jsontime(time_t timestamp)
|
||||
{
|
||||
struct timeval tmptime;
|
||||
struct tm tm_time;
|
||||
char buf[50]={0};
|
||||
char tempbuf[200]={0};
|
||||
gettimeofday(&tmptime, NULL);
|
||||
localtime_r(&tmptime.tv_sec, &tm_time);
|
||||
strftime(buf, sizeof(buf), "%Y-%m-%dT%H:%M:%S.:03d%z", &tm_time);
|
||||
char *ptr = strstr(buf, ":03d");
|
||||
if (ptr){
|
||||
ptr[0] = '%';
|
||||
}
|
||||
sprintf(tempbuf, buf, tmptime.tv_usec/1000);
|
||||
std::string timestr = tempbuf;
|
||||
return timestr;
|
||||
}
|
||||
|
||||
static bool parse_topic(const std::string &topic, std::vector<std::string> &strarray)
|
||||
{
|
||||
std::size_t pos_h, pos_t;
|
||||
bool fRet=false;
|
||||
|
||||
for (int i=0; i<4; i++){
|
||||
pos_h = topic.find("/");
|
||||
pos_t = topic.find("/", pos_h+1);
|
||||
if (pos_h!=std::string::npos && pos_t!=std::string::npos){
|
||||
strarray.push_back(topic.substr(pos_h,pos_t));
|
||||
fRet=true;
|
||||
}else{
|
||||
fRet=false;
|
||||
}
|
||||
}
|
||||
|
||||
return fRet;
|
||||
}
|
||||
|
||||
static bool readDataDb(void *db_handle, const json &cdtjson, json &outjson)
|
||||
{
|
||||
return true;
|
||||
@@ -58,70 +21,59 @@ void readDataSrv::Init(initparam_t *param)
|
||||
//check data table
|
||||
}
|
||||
|
||||
int readDataSrv::HandleMsg(msg_t msg, msg_t &outMsg, handparam_t *param)
|
||||
{
|
||||
//check param table
|
||||
json tmjson, repjson, datajson, dataarray, cdtjson, repjson1;
|
||||
int iRet=0;
|
||||
|
||||
try {
|
||||
tmjson = json::parse(msg.payload);
|
||||
int readDataSrv::HandleMsg(msg_t msg, msg_t &outMsg, handparam_t *param) {
|
||||
//check param table
|
||||
json tmjson, repjson, datajson, dataarray, cdtjson, repjson1;
|
||||
int iRet = 0;
|
||||
|
||||
cdtjson = tmjson["data"]["reqdata"] ;
|
||||
bool fRet = readDataDb(param->pDbHandle, cdtjson, datajson);
|
||||
if (fRet){
|
||||
for (auto vljson:datajson){
|
||||
vljson["metid"]= tmjson["metid"];
|
||||
vljson["afn"]="04";
|
||||
vljson["dataid"]= tmjson["dataid"];
|
||||
vljson["createdtime"] = time2jsontime(datajson["ctime"]);
|
||||
vljson["source"] = datajson["source"];
|
||||
vljson["databuff"] = datajson["databuff"];
|
||||
dataarray.push_back(vljson);
|
||||
}
|
||||
repjson["dataarray"] = dataarray;
|
||||
repjson["complete"] = "1";
|
||||
repjson1["data"] = repjson;
|
||||
repjson1["time"] = time2jsontime(time(NULL));
|
||||
repjson1["token"] = tmjson["token"];
|
||||
}else{
|
||||
repjson["dataarray"] = NULL;
|
||||
repjson["complete"] = "1";
|
||||
repjson1["data"] = repjson;
|
||||
repjson1["time"] = time2jsontime(time(NULL));
|
||||
repjson1["token"] = tmjson["token"];
|
||||
}
|
||||
try {
|
||||
tmjson = json::parse(msg.payload);
|
||||
|
||||
std::vector<std::string> str_array;
|
||||
if (parse_topic(msg.topic, str_array)){
|
||||
msg_t msg_rep;
|
||||
msg_rep.payload = repjson1.dump();
|
||||
std::string tempstr = str_array[0];
|
||||
str_array[0] = str_array[1];
|
||||
str_array[1] = tempstr;
|
||||
for (auto j:str_array){
|
||||
msg_rep.topic += "/";
|
||||
msg_rep.topic += j;
|
||||
}
|
||||
cdtjson = tmjson["data"]["reqdata"];
|
||||
bool fRet = readDataDb(param->pDbHandle, cdtjson, datajson);
|
||||
if (fRet) {
|
||||
for (auto vljson:datajson) {
|
||||
vljson["metid"] = tmjson["metid"];
|
||||
vljson["afn"] = "04";
|
||||
vljson["dataid"] = tmjson["dataid"];
|
||||
vljson["createdtime"] = ToolUtils::getTimeStringWithFomat(datajson["ctime"]);
|
||||
vljson["source"] = datajson["source"];
|
||||
vljson["databuff"] = datajson["databuff"];
|
||||
dataarray.push_back(vljson);
|
||||
}
|
||||
repjson["dataarray"] = dataarray;
|
||||
repjson["complete"] = "1";
|
||||
repjson1["data"] = repjson;
|
||||
repjson1["time"] = ToolUtils::now_to_string();
|
||||
repjson1["token"] = tmjson["token"];
|
||||
} else {
|
||||
repjson["dataarray"] = NULL;
|
||||
repjson["complete"] = "1";
|
||||
repjson1["data"] = repjson;
|
||||
repjson1["time"] = ToolUtils::now_to_string();
|
||||
repjson1["token"] = tmjson["token"];
|
||||
}
|
||||
|
||||
outMsg = msg_rep;
|
||||
iRet=1;
|
||||
/*
|
||||
if (!WriteResponseMsg(msg_rep)){
|
||||
std::cerr << " WriteResponseMsg error " << std::endl;
|
||||
iRet=0;
|
||||
}else{
|
||||
iRet=1;
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
catch(json::parse_error& ex){
|
||||
std::cerr << "parse error at byte " << ex.byte << std::endl;
|
||||
return 0;
|
||||
}
|
||||
msg_t msg_rep;
|
||||
msg_rep.topic = ToolUtils::makeTpopicStr(msg.subTopicV);
|
||||
msg_rep.payload = repjson1.dump();
|
||||
outMsg = msg_rep;
|
||||
iRet = 1;
|
||||
/*
|
||||
if (!WriteResponseMsg(msg_rep)){
|
||||
std::cerr << " WriteResponseMsg error " << std::endl;
|
||||
iRet=0;
|
||||
}else{
|
||||
iRet=1;
|
||||
}*/
|
||||
|
||||
return iRet;
|
||||
}
|
||||
catch (json::parse_error &ex) {
|
||||
std::cerr << "parse error at byte " << ex.byte << std::endl;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return iRet;
|
||||
}
|
||||
|
||||
std::string readDataSrv::GetFID(void) /* 如"F-ReadData" */
|
||||
|
||||
@@ -0,0 +1,136 @@
|
||||
//
|
||||
// Created by Thinkpad on 2025/3/12.
|
||||
//
|
||||
#include <iostream>
|
||||
#include <chrono>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include "json.hpp"
|
||||
#include "bizservice.h"
|
||||
#include "sqlite3.h"
|
||||
#include "ToolUtils.h"
|
||||
#include "F_SetSubscribe.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json ;// for convenience
|
||||
|
||||
REGISTER_BIZSERVICE("F-SetSubscribe",SetSubscribe);
|
||||
SetSubscribe::SetSubscribe() {
|
||||
handpara = nullptr;
|
||||
initpara = nullptr;
|
||||
}
|
||||
|
||||
SetSubscribe::~SetSubscribe() {
|
||||
|
||||
}
|
||||
|
||||
void SetSubscribe::Init(initparam_t *param) {
|
||||
initpara = param;
|
||||
}
|
||||
|
||||
int SetSubscribe::SQLBatch_exc(std::vector<std::string> &sql_list, std::vector<std::string> &result) {
|
||||
sqlite3 *db = (sqlite3 *)handpara;
|
||||
char *errMsg = nullptr;
|
||||
const char *sql;
|
||||
int rc;
|
||||
int resp = 0;
|
||||
// 开启事务
|
||||
if (sqlite3_exec(db, "BEGIN TRANSACTION;", nullptr, nullptr, &errMsg) != SQLITE_OK) {
|
||||
std::cerr << "事务开启失败: " << errMsg << std::endl;
|
||||
sqlite3_free(errMsg);
|
||||
return -1;
|
||||
}
|
||||
// 执行批量插入操作
|
||||
sqlite3_stmt *stmt;
|
||||
int idx = 0;
|
||||
for(const auto &k:sql_list){
|
||||
std::cout << "cmd:"<<k.c_str()<<std::endl;
|
||||
if (sqlite3_prepare_v2(db, k.c_str(), -1, &stmt, nullptr) != SQLITE_OK) {
|
||||
std::cerr << "准备语句失败: " << sqlite3_errmsg(db) << std::endl;
|
||||
continue;
|
||||
}
|
||||
rc = sqlite3_step(stmt);
|
||||
if (rc != SQLITE_DONE) {
|
||||
std::cerr << "插入失败: " << sqlite3_errmsg(db) << std::endl;
|
||||
result[idx] = "-1";
|
||||
}else
|
||||
result[idx] = "0"; //SUCCESS
|
||||
sqlite3_reset(stmt); // 重置语句
|
||||
}
|
||||
// 提交事务
|
||||
if (sqlite3_exec(db, "COMMIT;", nullptr, nullptr, &errMsg) != SQLITE_OK) {
|
||||
std::cerr << "事务提交失败: " << errMsg << std::endl;
|
||||
sqlite3_free(errMsg);
|
||||
resp = -1;
|
||||
}
|
||||
// 清理
|
||||
sqlite3_finalize(stmt);
|
||||
return resp;
|
||||
}
|
||||
|
||||
int SetSubscribe::HandleMsg(const msg_t msg, msg_t &outMsg, handparam_t *param) {
|
||||
topic.clear();
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
std::vector<std::string> sql_list;
|
||||
std::vector<std::string> result;
|
||||
sql_list.clear();
|
||||
result.clear();
|
||||
|
||||
std::string table_name("xxxxxx");
|
||||
try{
|
||||
value = json::parse(msg.payload);
|
||||
}
|
||||
catch(const std::exception &e){
|
||||
std::cout << "topic "<<msg.topic.c_str()<<" parse error:"<<e.what();
|
||||
return -1;//format fail
|
||||
}
|
||||
printf("insert request:%s \n",msg.payload.c_str());
|
||||
if(!value.is_object())return -1;
|
||||
|
||||
if(value.contains("token")){
|
||||
resp["token"] = value["token"];
|
||||
}
|
||||
if(value.contains("time")){
|
||||
;// value["time"]
|
||||
}
|
||||
|
||||
if(value.contains("data") && value["data"].contains("subparam")){
|
||||
json subvalue = value["data"]["subparam"];
|
||||
if(subvalue.is_array()){
|
||||
for(const auto &k:subvalue){
|
||||
std::string metidStr = k["metid"].get<std::string>();
|
||||
std::cout << "metid:"<<metidStr.c_str()<<std::endl;
|
||||
std::vector<std::string>idclassV = k["idclass"];
|
||||
for(const auto &k1:idclassV){
|
||||
std::cout << "idclass:"<<k1.c_str()<<std::endl;
|
||||
}
|
||||
|
||||
//todo 保存到数据库
|
||||
}
|
||||
}
|
||||
}
|
||||
// ret = SQLBatch_exc(sql_list,result);
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
if(ret == -1)
|
||||
resp["ack"]="false";
|
||||
else if(ret == 0)
|
||||
resp["ack"]="true";
|
||||
|
||||
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp SetSubscribe payload:"<<resp.dump().c_str()<<std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
std::string SetSubscribe::GetFID(){
|
||||
std::string value("F-SetSubscribe");
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
//
|
||||
// Created by Thinkpad on 2025/3/12.
|
||||
//
|
||||
|
||||
#ifndef DCAPP_F_SETSUBSCRIBE_H
|
||||
#define DCAPP_F_SETSUBSCRIBE_H
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "bizservice.h"
|
||||
|
||||
class SetSubscribe : public IBizService{
|
||||
public:
|
||||
void Init(initparam_t *param);
|
||||
int HandleMsg(const msg_t msg,msg_t &outMsg, handparam_t *param);
|
||||
std::string GetFID();
|
||||
SetSubscribe();
|
||||
~SetSubscribe();
|
||||
private:
|
||||
handparam_t * handpara;
|
||||
initparam_t * initpara;
|
||||
std::vector<std::string> topic;//0:dst 1:src 2:sid 3:fid
|
||||
int SQLBatch_exc(std::vector<std::string> &sql_list,std::vector<std::string> &result);
|
||||
};
|
||||
|
||||
|
||||
#endif //DCAPP_F_SETSUBSCRIBE_H
|
||||
@@ -12,9 +12,10 @@
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include "json.hpp"
|
||||
#include "common/inc/json.hpp"
|
||||
#include "F_SetSupportNum.h"
|
||||
#include "bizservice.h"
|
||||
#include "ToolUtils.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json ;// for convenience
|
||||
@@ -101,7 +102,7 @@ int SetSupportNum::SQLBatch_exc(sqlite3 *db,std::vector<std::string> &sql_list,
|
||||
int SetSupportNum::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
|
||||
topic.clear();
|
||||
topic_split(msg.topic,'/',topic);
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
int afn_flag = 0, update_flag = 0;;
|
||||
@@ -144,13 +145,10 @@ int SetSupportNum::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
ret = SQLBatch_exc((sqlite3*)handpara,sql_list,result);
|
||||
*/
|
||||
resp_process:
|
||||
resp["time"]=now_to_string();
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
resp["ack"]="true";
|
||||
|
||||
std::stringstream ss;
|
||||
ss << "/"<<topic[1].c_str()<<"/"<<topic[0].c_str()<<"/"\
|
||||
<<topic[2].c_str()<<"/"<<topic[3].c_str();
|
||||
outMsg.topic = ss.str();
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);;
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp UpdateRecord payload:"<<resp.dump().c_str()<<std::endl;
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
#include <vector>
|
||||
#include "bizservice.h"
|
||||
#include "sqlite3.h"
|
||||
#include "F_Tool.h"
|
||||
class SetSupportNum:public IBizService,public Tool{
|
||||
|
||||
class SetSupportNum:public IBizService{
|
||||
public:
|
||||
void Init(initparam_t *param);
|
||||
int HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param = NULL);
|
||||
|
||||
@@ -1,126 +0,0 @@
|
||||
#include <iostream>
|
||||
#include <chrono>
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
#include <ctime>
|
||||
#include "json.hpp"
|
||||
#include "datacenter/bizService/F_Tool.h"
|
||||
typedef unsigned char BYTE;
|
||||
void Tool::hexstr_to_str(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
BYTE *dst_ptr = (BYTE *) dst;
|
||||
const BYTE *src_ptr = (const BYTE *) src;
|
||||
|
||||
for (i = 0; i < src_len / 2; i++)
|
||||
{
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
high = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
high = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
high = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
low = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
low = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
low = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
*dst_ptr++ = high * 16 + low; //hex
|
||||
}
|
||||
}
|
||||
|
||||
void Tool::str_to_hexstr(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
char *dst_ptr = (char *) dst;
|
||||
const char *src_ptr = (const char *) src;
|
||||
const char *str = "0123456789abcdef";
|
||||
|
||||
for (i = 0; i < src_len; i++)
|
||||
{
|
||||
ch = *src_ptr++;
|
||||
high = (ch >> 4) & 0x0f;
|
||||
low = ch & 0x0f;
|
||||
*dst_ptr++ = str[high];
|
||||
*dst_ptr++ = str[low];
|
||||
}
|
||||
}
|
||||
int Tool::encode_blob(void *dst, int max_len, const void *src, int src_len)
|
||||
{
|
||||
int dst_len = 0;
|
||||
|
||||
// may be changed to base64 encode
|
||||
if (max_len >= src_len * 2 + 1)
|
||||
{
|
||||
dst_len = src_len * 2;
|
||||
str_to_hexstr(dst, src, src_len);
|
||||
}
|
||||
((BYTE *) dst)[dst_len] = 0x00;
|
||||
return dst_len;
|
||||
}
|
||||
|
||||
int Tool::decode_blob(void *dst, int max_len, const void *src)
|
||||
{
|
||||
// may be changed to base64 decode
|
||||
int src_len, dst_len = 0;
|
||||
|
||||
src_len = strlen((char *) src);
|
||||
std::cout << "decode_blob src len "<< src_len<<std::endl;
|
||||
if (max_len >= src_len / 2)
|
||||
{
|
||||
dst_len = src_len / 2;
|
||||
hexstr_to_str(dst, src, src_len);
|
||||
}
|
||||
return dst_len;
|
||||
}
|
||||
void Tool::topic_split(const std::string& str, char delimiter,std::vector<std::string>& topic) {
|
||||
std::string token; // 临时存储每个子字符串
|
||||
std::istringstream tokenStream(str); // 使用字符串流处理输入字符串
|
||||
// 按分隔符逐个读取子字符串
|
||||
while (std::getline(tokenStream, token, delimiter)) {
|
||||
topic.push_back(token); // 将子字符串添加到结果中
|
||||
}
|
||||
|
||||
}
|
||||
std::string Tool::now_to_string() {
|
||||
// 获取系统时钟时间点
|
||||
auto time_now = std::chrono::system_clock::now();
|
||||
|
||||
// 将时间点转成time_t类型的值 (秒)
|
||||
std::time_t tt = std::chrono::system_clock::to_time_t(time_now);
|
||||
|
||||
// 转换成tm结构体形式
|
||||
struct tm* ptm = gmtime(&tt); // 或者 localtime(&tt) 如果想要本地时间
|
||||
ptm->tm_hour += 8; //utc -> cst
|
||||
// 计算出毫秒部分
|
||||
long milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(
|
||||
time_now.time_since_epoch()
|
||||
).count() % 1000;
|
||||
|
||||
char buffer[40];
|
||||
strftime(buffer, sizeof(buffer), "%Y-%m-%dT%H:%M:%S", ptm);
|
||||
|
||||
// 添加上毫秒和时区信息
|
||||
sprintf(buffer + strlen(buffer), ".%03ld+0800", milliseconds);
|
||||
|
||||
return std::string(buffer);
|
||||
}
|
||||
time_t Tool::string_to_now(std::string stamp) {
|
||||
struct tm tm={};
|
||||
std::istringstream ss(stamp);
|
||||
ss >> std::get_time(&tm,"%Y-%m-%dT%H:%M:%S");
|
||||
if(ss.fail()){
|
||||
return -1;
|
||||
}
|
||||
return mktime(&tm);
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* @Description: file content
|
||||
* @Author: why
|
||||
* @version:
|
||||
* @Date: 2025-02-28 14:32:55
|
||||
* @LastEditors: why
|
||||
* @LastEditTime: 2025-02-28 16:28:59
|
||||
*/
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
class Tool{
|
||||
public :
|
||||
void topic_split(const std::string& str, char delimiter,std::vector<std::string>&topic);//0:dst 1:src 2:sid 3:fid
|
||||
std::string now_to_string();
|
||||
time_t string_to_now(std::string stamp);
|
||||
void hexstr_to_str(void *dst, const void *src, int src_len);
|
||||
void str_to_hexstr(void *dst, const void *src, int src_len);
|
||||
int encode_blob(void *dst, int max_len, const void *src, int src_len);
|
||||
int decode_blob(void *dst, int max_len, const void *src);
|
||||
//std::map<usigned int ,std::map<int,std::string>> Directionary;
|
||||
Tool(){};
|
||||
~Tool(){};
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "json.hpp"
|
||||
#include "F_UpdateRecord.h"
|
||||
#include "sqlite3.h"
|
||||
#include "ToolUtils.h"
|
||||
|
||||
using namespace std;
|
||||
using json = nlohmann::json; // for convenience
|
||||
@@ -31,82 +32,7 @@ UpdateRecord::UpdateRecord(void){
|
||||
handpara = nullptr;
|
||||
initpara = nullptr;
|
||||
}
|
||||
static void hexstr_to_str(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
BYTE *dst_ptr = (BYTE *) dst;
|
||||
const BYTE *src_ptr = (const BYTE *) src;
|
||||
|
||||
for (i = 0; i < src_len / 2; i++)
|
||||
{
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
high = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
high = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
high = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
ch = *src_ptr++;
|
||||
if (ch >= '0' && ch <= '9')
|
||||
low = ch - '0';
|
||||
else if (ch >= 'A' && ch <= 'F')
|
||||
low = ch - 'A' + 10;
|
||||
else if (ch >= 'a' && ch <= 'f')
|
||||
low = ch - 'a' + 10;
|
||||
else
|
||||
break;
|
||||
*dst_ptr++ = high * 16 + low; //hex
|
||||
}
|
||||
}
|
||||
|
||||
static void str_to_hexstr(void *dst, const void *src, int src_len)
|
||||
{
|
||||
int i;
|
||||
BYTE low, high, ch;
|
||||
char *dst_ptr = (char *) dst;
|
||||
const char *src_ptr = (const char *) src;
|
||||
const char *str = "0123456789abcdef";
|
||||
|
||||
for (i = 0; i < src_len; i++)
|
||||
{
|
||||
ch = *src_ptr++;
|
||||
high = (ch >> 4) & 0x0f;
|
||||
low = ch & 0x0f;
|
||||
*dst_ptr++ = str[high];
|
||||
*dst_ptr++ = str[low];
|
||||
}
|
||||
}
|
||||
static int encode_blob(void *dst, int max_len, const void *src, int src_len)
|
||||
{
|
||||
int dst_len = 0;
|
||||
|
||||
// may be changed to base64 encode
|
||||
if (max_len >= src_len * 2 + 1)
|
||||
{
|
||||
dst_len = src_len * 2;
|
||||
str_to_hexstr(dst, src, src_len);
|
||||
}
|
||||
((BYTE *) dst)[dst_len] = 0x00;
|
||||
return dst_len;
|
||||
}
|
||||
|
||||
static int decode_blob(void *dst, int max_len, const void *src)
|
||||
{
|
||||
// may be changed to base64 decode
|
||||
int src_len, dst_len = 0;
|
||||
|
||||
src_len = strlen((char *) src);
|
||||
std::cout << "decode_blob src len "<< src_len<<std::endl;
|
||||
if (max_len >= src_len / 2)
|
||||
{
|
||||
dst_len = src_len / 2;
|
||||
hexstr_to_str(dst, src, src_len);
|
||||
}
|
||||
return dst_len;
|
||||
}
|
||||
UpdateRecord::~UpdateRecord(void){
|
||||
}
|
||||
std::string search_table_db(int afn,unsigned int dataid){
|
||||
@@ -116,36 +42,6 @@ std::string search_table_db(int afn,unsigned int dataid){
|
||||
void UpdateRecord::Init(initparam_t *param){
|
||||
initpara = param;
|
||||
}
|
||||
std::string UpdateRecord::now_to_string() {
|
||||
// 获取系统时钟时间点
|
||||
auto time_now = std::chrono::system_clock::now();
|
||||
|
||||
// 将时间点转成time_t类型的值 (秒)
|
||||
std::time_t tt = std::chrono::system_clock::to_time_t(time_now);
|
||||
|
||||
// 转换成tm结构体形式
|
||||
struct tm* ptm = gmtime(&tt); // 或者 localtime(&tt) 如果想要本地时间
|
||||
ptm->tm_hour += 8; //utc -> cst
|
||||
// 计算出毫秒部分
|
||||
long milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(
|
||||
time_now.time_since_epoch()
|
||||
).count() % 1000;
|
||||
|
||||
char buffer[40];
|
||||
strftime(buffer, sizeof(buffer), "%Y-%m-%dT%H:%M:%S", ptm);
|
||||
|
||||
// 添加上毫秒和时区信息
|
||||
sprintf(buffer + strlen(buffer), ".%03ld+0800", milliseconds);
|
||||
|
||||
return std::string(buffer);
|
||||
}
|
||||
time_t UpdateRecord::string_to_now(std::string stamp) {
|
||||
struct tm t;
|
||||
std::istringstream ss(stamp);
|
||||
ss >> std::get_time(&t,"%Y-%m-%dT%H:%M:%S");
|
||||
if(ss.fail())return -1;
|
||||
return mktime(&t);
|
||||
}
|
||||
|
||||
int UpdateRecord::SQLBatch_exc(std::vector<std::string> &sql_list,std::vector<std::string> &result){
|
||||
|
||||
@@ -191,7 +87,7 @@ int UpdateRecord::SQLBatch_exc(std::vector<std::string> &sql_list,std::vector<st
|
||||
int UpdateRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
|
||||
topic.clear();
|
||||
topic_split(msg.topic,'/');
|
||||
topic = msg.subTopicV;
|
||||
json value,resp;
|
||||
int ret = 0;
|
||||
int afn_flag = 0, update_flag = 0;;
|
||||
@@ -218,8 +114,8 @@ int UpdateRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
json subvalue = value["data"];
|
||||
int afn = 0;
|
||||
int dataid = 0;
|
||||
decode_blob(&dataid,4, subvalue["dataid"].get<std::string>().c_str());
|
||||
decode_blob(&afn,4,subvalue["afn"].get<std::string>().c_str());
|
||||
ToolUtils::decode_blob(&dataid,4, subvalue["dataid"].get<std::string>().c_str());
|
||||
ToolUtils::decode_blob(&afn,4,subvalue["afn"].get<std::string>().c_str());
|
||||
std::stringstream ss;
|
||||
//table_name =search_table_db(afn,dataid);
|
||||
table_name = "frozen";
|
||||
@@ -238,7 +134,7 @@ int UpdateRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
<< 0 << ","\
|
||||
<<std::stoi(subvalue["metid"].get<std::string>())<<","\
|
||||
<<subvalue["dataid"].get<std::string>().c_str()<<","\
|
||||
<<string_to_now(subvalue["updatefilter"].get<std::string>())<<","\
|
||||
<<ToolUtils::string_to_now(subvalue["updatefilter"].get<std::string>())<<","\
|
||||
<<time(NULL)<<","\
|
||||
<<std::stoi(subvalue["crcaux"].get<std::string>())<<","\
|
||||
<<subvalue["databuff"].get<std::string>().c_str()<<");";
|
||||
@@ -249,18 +145,15 @@ int UpdateRecord::HandleMsg(const msg_t msg, msg_t &outMsg,handparam_t *param){
|
||||
}
|
||||
ret = SQLBatch_exc(sql_list,result);
|
||||
resp_process:
|
||||
resp["time"]=now_to_string();
|
||||
resp["time"]=ToolUtils::now_to_string();
|
||||
if(ret == -1 || afn_flag == -1 || update_flag == -1)
|
||||
resp["ack"]="false";
|
||||
else if(ret == 0)
|
||||
resp["ack"]="true";
|
||||
|
||||
resp["data"]["dataidex"]=result;
|
||||
|
||||
std::stringstream ss;
|
||||
ss << "/"<<topic[1].c_str()<<"/"<<topic[0].c_str()<<"/"\
|
||||
<<topic[2].c_str()<<"/"<<topic[3].c_str();
|
||||
outMsg.topic = ss.str();
|
||||
|
||||
outMsg.topic = ToolUtils::makeTpopicStr(topic);
|
||||
outMsg.timestamp = time(NULL);;
|
||||
outMsg.payload = resp.dump();
|
||||
std::cout << "resp UpdateRecord payload:"<<resp.dump().c_str()<<std::endl;
|
||||
@@ -270,12 +163,3 @@ std::string UpdateRecord::GetFID(){
|
||||
std::string tmp("F-UpdateRecord");
|
||||
return tmp;
|
||||
}
|
||||
void UpdateRecord::topic_split(const std::string& str, char delimiter) {
|
||||
std::string token; // 临时存储每个子字符串
|
||||
std::istringstream tokenStream(str); // 使用字符串流处理输入字符串
|
||||
// 按分隔符逐个读取子字符串
|
||||
while (std::getline(tokenStream, token, delimiter)) {
|
||||
topic.push_back(token); // 将子字符串添加到结果中
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user