Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-dhyana
Commits
b172c54e
Commit
b172c54e
authored
Nov 07, 2019
by
Abdullah Amjad
Browse files
initial commit
parent
3e907caf
Changes
123
Expand all
Hide whitespace changes
Inline
Side-by-side
.project
0 → 100644
View file @
b172c54e
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>
LimaDhyana--shared-
</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>
org.eclipse.m2e.core.maven2Builder
</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>
org.eclipse.m2e.core.maven2Nature
</nature>
</natures>
</projectDescription>
.settings/org.eclipse.m2e.core.prefs
0 → 100644
View file @
b172c54e
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
.vscode/settings.json
0 → 100644
View file @
b172c54e
{
"files.associations"
:
{
"__bit_reference"
:
"cpp"
,
"__config"
:
"cpp"
,
"__debug"
:
"cpp"
,
"__errc"
:
"cpp"
,
"__functional_base"
:
"cpp"
,
"__hash_table"
:
"cpp"
,
"__locale"
:
"cpp"
,
"__mutex_base"
:
"cpp"
,
"__node_handle"
:
"cpp"
,
"__nullptr"
:
"cpp"
,
"__split_buffer"
:
"cpp"
,
"__string"
:
"cpp"
,
"__threading_support"
:
"cpp"
,
"__tree"
:
"cpp"
,
"__tuple"
:
"cpp"
,
"algorithm"
:
"cpp"
,
"array"
:
"cpp"
,
"atomic"
:
"cpp"
,
"bitset"
:
"cpp"
,
"cctype"
:
"cpp"
,
"chrono"
:
"cpp"
,
"cmath"
:
"cpp"
,
"complex"
:
"cpp"
,
"cstdarg"
:
"cpp"
,
"cstddef"
:
"cpp"
,
"cstdint"
:
"cpp"
,
"cstdio"
:
"cpp"
,
"cstdlib"
:
"cpp"
,
"cstring"
:
"cpp"
,
"ctime"
:
"cpp"
,
"cwchar"
:
"cpp"
,
"cwctype"
:
"cpp"
,
"deque"
:
"cpp"
,
"exception"
:
"cpp"
,
"optional"
:
"cpp"
,
"functional"
:
"cpp"
,
"initializer_list"
:
"cpp"
,
"iomanip"
:
"cpp"
,
"ios"
:
"cpp"
,
"iosfwd"
:
"cpp"
,
"iostream"
:
"cpp"
,
"istream"
:
"cpp"
,
"iterator"
:
"cpp"
,
"limits"
:
"cpp"
,
"locale"
:
"cpp"
,
"map"
:
"cpp"
,
"memory"
:
"cpp"
,
"mutex"
:
"cpp"
,
"new"
:
"cpp"
,
"ostream"
:
"cpp"
,
"ratio"
:
"cpp"
,
"sstream"
:
"cpp"
,
"stdexcept"
:
"cpp"
,
"streambuf"
:
"cpp"
,
"string"
:
"cpp"
,
"string_view"
:
"cpp"
,
"system_error"
:
"cpp"
,
"tuple"
:
"cpp"
,
"type_traits"
:
"cpp"
,
"typeinfo"
:
"cpp"
,
"unordered_map"
:
"cpp"
,
"utility"
:
"cpp"
,
"vector"
:
"cpp"
}
}
\ No newline at end of file
CMakeCache.txt
0 → 100644
View file @
b172c54e
This diff is collapsed.
Click to expand it.
CMakeFiles/3.14.0/CMakeCCompiler.cmake
0 → 100644
View file @
b172c54e
set
(
CMAKE_C_COMPILER
"/root/miniconda3/envs/lima/bin/x86_64-conda_cos6-linux-gnu-cc"
)
set
(
CMAKE_C_COMPILER_ARG1
""
)
set
(
CMAKE_C_COMPILER_ID
"GNU"
)
set
(
CMAKE_C_COMPILER_VERSION
"7.3.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_SIMULATE_VERSION
""
)
set
(
CMAKE_AR
"/usr/bin/ar"
)
set
(
CMAKE_C_COMPILER_AR
"/usr/bin/gcc-ar"
)
set
(
CMAKE_RANLIB
"/usr/bin/ranlib"
)
set
(
CMAKE_C_COMPILER_RANLIB
"/usr/bin/gcc-ranlib"
)
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
""
)
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
"/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/include;/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/include-fixed;/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/include;/root/miniconda3/envs/lima/bin/../x86_64-conda_cos6-linux-gnu/sysroot/usr/include"
)
set
(
CMAKE_C_IMPLICIT_LINK_LIBRARIES
"gcc;gcc_s;c;gcc;gcc_s"
)
set
(
CMAKE_C_IMPLICIT_LINK_DIRECTORIES
"/root/miniconda3/envs/lima/lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0;/root/miniconda3/envs/lima/lib/gcc;/root/miniconda3/envs/lima/x86_64-conda_cos6-linux-gnu/lib;/root/miniconda3/envs/lima/x86_64-conda_cos6-linux-gnu/sysroot/lib;/root/miniconda3/envs/lima/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib"
)
set
(
CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
""
)
CMakeFiles/3.14.0/CMakeCXXCompiler.cmake
0 → 100644
View file @
b172c54e
set
(
CMAKE_CXX_COMPILER
"/root/miniconda3/envs/lima/bin/x86_64-conda_cos6-linux-gnu-c++"
)
set
(
CMAKE_CXX_COMPILER_ARG1
""
)
set
(
CMAKE_CXX_COMPILER_ID
"GNU"
)
set
(
CMAKE_CXX_COMPILER_VERSION
"7.3.0"
)
set
(
CMAKE_CXX_COMPILER_VERSION_INTERNAL
""
)
set
(
CMAKE_CXX_COMPILER_WRAPPER
""
)
set
(
CMAKE_CXX_STANDARD_COMPUTED_DEFAULT
"17"
)
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"
)
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
""
)
set
(
CMAKE_CXX_PLATFORM_ID
"Linux"
)
set
(
CMAKE_CXX_SIMULATE_ID
""
)
set
(
CMAKE_CXX_SIMULATE_VERSION
""
)
set
(
CMAKE_AR
"/usr/bin/ar"
)
set
(
CMAKE_CXX_COMPILER_AR
"/usr/bin/gcc-ar"
)
set
(
CMAKE_RANLIB
"/usr/bin/ranlib"
)
set
(
CMAKE_CXX_COMPILER_RANLIB
"/usr/bin/gcc-ranlib"
)
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_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC
)
set
(
CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP
)
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
""
)
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
"/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/include/c++/7.3.0;/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/include/c++/7.3.0/x86_64-conda_cos6-linux-gnu;/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/include/c++/7.3.0/backward;/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/include;/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/include-fixed;/root/miniconda3/envs/lima/bin/../lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0/../../../../x86_64-conda_cos6-linux-gnu/include;/root/miniconda3/envs/lima/bin/../x86_64-conda_cos6-linux-gnu/sysroot/usr/include"
)
set
(
CMAKE_CXX_IMPLICIT_LINK_LIBRARIES
"stdc++;m;gcc_s;gcc;c;gcc_s;gcc"
)
set
(
CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES
"/root/miniconda3/envs/lima/lib/gcc/x86_64-conda_cos6-linux-gnu/7.3.0;/root/miniconda3/envs/lima/lib/gcc;/root/miniconda3/envs/lima/x86_64-conda_cos6-linux-gnu/lib;/root/miniconda3/envs/lima/x86_64-conda_cos6-linux-gnu/sysroot/lib;/root/miniconda3/envs/lima/x86_64-conda_cos6-linux-gnu/sysroot/usr/lib"
)
set
(
CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
""
)
CMakeFiles/3.14.0/CMakeDetermineCompilerABI_C.bin
0 → 100755
View file @
b172c54e
File added
CMakeFiles/3.14.0/CMakeDetermineCompilerABI_CXX.bin
0 → 100755
View file @
b172c54e
File added
CMakeFiles/3.14.0/CMakeSystem.cmake
0 → 100644
View file @
b172c54e
set
(
CMAKE_HOST_SYSTEM
"Linux-4.9.184-linuxkit"
)
set
(
CMAKE_HOST_SYSTEM_NAME
"Linux"
)
set
(
CMAKE_HOST_SYSTEM_VERSION
"4.9.184-linuxkit"
)
set
(
CMAKE_HOST_SYSTEM_PROCESSOR
"x86_64"
)
set
(
CMAKE_SYSTEM
"Linux-4.9.184-linuxkit"
)
set
(
CMAKE_SYSTEM_NAME
"Linux"
)
set
(
CMAKE_SYSTEM_VERSION
"4.9.184-linuxkit"
)
set
(
CMAKE_SYSTEM_PROCESSOR
"x86_64"
)
set
(
CMAKE_CROSSCOMPILING
"FALSE"
)
set
(
CMAKE_SYSTEM_LOADED 1
)
CMakeFiles/3.14.0/CompilerIdC/CMakeCCompilerId.c
0 → 100644
View file @
b172c54e
This diff is collapsed.
Click to expand it.
CMakeFiles/3.14.0/CompilerIdCXX/CMakeCXXCompilerId.cpp
0 → 100644
View file @
b172c54e
/* 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
/* __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
#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"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
# endif
#elif defined(__ibmxl__) || (defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800)
# define COMPILER_ID "XL"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
# endif
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__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(__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__)
# 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__)
# 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(__ARMCC_VERSION)
# 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(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
# if defined(_SGI_COMPILER_VERSION)
/* _SGI_COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
# else
/* _COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 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__)