Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision 70d2abaa53616af35c7857bf8f52c8a234f150ff authored by X.ZhaoMa on 27 January 2021, 15:43:51 UTC, committed by GitHub on 27 January 2021, 15:43:51 UTC
fix: compilation error caused by missing "inline" keyword. (#1709)
1 parent 780a5fb
  • Files
  • Changes
  • 856706a
  • /
  • cmake
  • /
  • CXXFeatures.cmake
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:70d2abaa53616af35c7857bf8f52c8a234f150ff
directory badge
swh:1:dir:625ee370d524676c08f10250d53ec099303a6d33
content badge
swh:1:cnt:8689d0ae04deec2c41cf39c428b6d99f9418fec0

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
(requires biblatex-software package)
Generating citation ...
CXXFeatures.cmake
################################################################################

if(NOT (${CMAKE_VERSION} VERSION_LESS "3.8.0"))
  # For CMake 3.8 and above, we can use meta features directly provided by CMake itself
  set(CXX11_FEATURES cxx_std_11)
  set(CXX14_FEATURES cxx_std_14)
  set(CXX17_FEATURES cxx_std_17)
  return()
endif()

################################################################################

set(CXX11_FEATURES
  cxx_auto_type
  cxx_constexpr
)

set(CXX14_FEATURES
  cxx_generic_lambdas
)

set(CXX17_FEATURES

)

################################################################################

# https://cmake.org/cmake/help/v3.1/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html
# cxx_aggregate_default_initializers    Aggregate default initializers, as defined in N3605.
# cxx_alias_templates                   Template aliases, as defined in N2258.
# cxx_alignas                           Alignment control alignas, as defined in N2341.
# cxx_alignof                           Alignment control alignof, as defined in N2341.
# cxx_attributes                        Generic attributes, as defined in N2761.
# cxx_attribute_deprecated              deprecated]] attribute, as defined in N3760.
# cxx_auto_type                         Automatic type deduction, as defined in N1984.
# cxx_binary_literals                   Binary literals, as defined in N3472.
# cxx_constexpr                         Constant expressions, as defined in N2235.
# cxx_contextual_conversions            Contextual conversions, as defined in N3323.
# cxx_decltype_incomplete_return_types  Decltype on incomplete return types, as defined in N3276.
# cxx_decltype                          Decltype, as defined in N2343.
# cxx_decltype_auto                     decltype(auto) semantics, as defined in N3638.
# cxx_default_function_template_args    Default template arguments for function templates, as defined in DR226
# cxx_defaulted_functions               Defaulted functions, as defined in N2346.
# cxx_defaulted_move_initializers       Defaulted move initializers, as defined in N3053.
# cxx_delegating_constructors           Delegating constructors, as defined in N1986.
# cxx_deleted_functions                 Deleted functions, as defined in N2346.
# cxx_digit_separators                  Digit separators, as defined in N3781.
# cxx_enum_forward_declarations         Enum forward declarations, as defined in N2764.
# cxx_explicit_conversions              Explicit conversion operators, as defined in N2437.
# cxx_extended_friend_declarations      Extended friend declarations, as defined in N1791.
# cxx_extern_templates                  Extern templates, as defined in N1987.
# cxx_final                             Override control final keyword, as defined in N2928, N3206 and N3272.
# cxx_func_identifier                   Predefined __func__ identifier, as defined in N2340.
# cxx_generalized_initializers          Initializer lists, as defined in N2672.
# cxx_generic_lambdas                   Generic lambdas, as defined in N3649.
# cxx_inheriting_constructors           Inheriting constructors, as defined in N2540.
# cxx_inline_namespaces                 Inline namespaces, as defined in N2535.
# cxx_lambdas                           Lambda functions, as defined in N2927.
# cxx_lambda_init_captures              Initialized lambda captures, as defined in N3648.
# cxx_local_type_template_args          Local and unnamed types as template arguments, as defined in N2657.
# cxx_long_long_type                    long long type, as defined in N1811.
# cxx_noexcept                          Exception specifications, as defined in N3050.
# cxx_nonstatic_member_init             Non-static data member initialization, as defined in N2756.
# cxx_nullptr                           Null pointer, as defined in N2431.
# cxx_override                          Override control override keyword, as defined in N2928, N3206 and N3272.
# cxx_range_for                         Range-based for, as defined in N2930.
# cxx_raw_string_literals               Raw string literals, as defined in N2442.
# cxx_reference_qualified_functions     Reference qualified functions, as defined in N2439.
# cxx_relaxed_constexpr                 Relaxed constexpr, as defined in N3652.
# cxx_return_type_deduction             Return type deduction on normal functions, as defined in N3386.
# cxx_right_angle_brackets              Right angle bracket parsing, as defined in N1757.
# cxx_rvalue_references                 R-value references, as defined in N2118.
# cxx_sizeof_member                     Size of non-static data members, as defined in N2253.
# cxx_static_assert                     Static assert, as defined in N1720.
# cxx_strong_enums                      Strongly typed enums, as defined in N2347.
# cxx_thread_local                      Thread-local variables, as defined in N2659.
# cxx_trailing_return_types             Automatic function return type, as defined in N2541.
# cxx_unicode_literals                  Unicode string literals, as defined in N2442.
# cxx_uniform_initialization            Uniform initialization, as defined in N2640.
# cxx_unrestricted_unions               Unrestricted unions, as defined in N2544.
# cxx_user_literals                     User-defined literals, as defined in N2765.
# cxx_variable_templates                Variable templates, as defined in N3651.
# cxx_variadic_macros                   Variadic macros, as defined in N1653.
# cxx_variadic_templates                Variadic templates, as defined in N2242.
# cxx_template_template_parameters      Template template parameters, as defined in ISO/IEC 14882:1998.
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2026, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API