cmake target_compile_features(INTERFACE) examples

ornladios/ADIOS2 bindings/CXX11/CMakeLists.txt :28

target_compile_features(adios2_cxx11 INTERFACE ${ADIOS2_CXX11_FEATURES})

ornladios/ADIOS2 thirdparty/KWSys/adios2sys/CMakeLists.txt :750

target_compile_features(${KWSYS_TARGET_INTERFACE} INTERFACE ${KWSYS_CXX_COMPILE_FEATURES})

ddemidov/amgcl CMakeLists.txt :43

target_compile_features(amgcl INTERFACE
    cxx_auto_type
    cxx_range_for
    cxx_rvalue_references
    cxx_right_angle_brackets
    cxx_static_assert
)

catchorg/Catch2 src/CMakeLists.txt :450

target_compile_features(Catch2_buildall_interface INTERFACE cxx_std_14)

USCiLab/cereal CMakeLists.txt :73

target_compile_features(cereal INTERFACE cxx_std_11)

CGAL/cgal Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake :124

target_compile_features(${target} INTERFACE cxx_std_17)

CLIUtils/CLI11 book/code/CMakeLists.txt :8

target_compile_features(CLI11::CLI11 INTERFACE cxx_std_11)

CLIUtils/CLI11 src/CMakeLists.txt :36

target_compile_features(CLI11 INTERFACE cxx_std_11)

microsoft/DirectXMath CMakeLists.txt :43

target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_11)

microsoft/DirectXMath SHMath/CMakeLists.txt :87

target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_11)

microsoft/DirectXMath XDSP/CMakeLists.txt :40

target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_11)

davisking/dlib dlib/external/pybind11/CMakeLists.txt :236

target_compile_features(pybind11_headers INTERFACE cxx_inheriting_constructors cxx_user_literals
                                                   cxx_right_angle_brackets)

doctest/doctest CMakeLists.txt :29

target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_11)

skypjack/entt CMakeLists.txt :97

target_compile_features(EnTT INTERFACE cxx_std_17)

spnda/fastgltf CMakeLists.txt :108

target_compile_features(fastgltf_module PRIVATE cxx_std_23 INTERFACE cxx_std_20)

fastfloat/fast_float CMakeLists.txt :50

target_compile_features(fast_float INTERFACE cxx_std_11)

google/flatbuffers CMakeLists.txt :335

target_compile_features(ProjectConfig
  INTERFACE
    cxx_std_${FLATBUFFERS_CPP_STD}
)

fmtlib/fmt CMakeLists.txt :379

target_compile_features(fmt-header-only INTERFACE cxx_std_11)

facebook/folly CMakeLists.txt :482

target_compile_features(folly INTERFACE cxx_generic_lambdas)

libgeos/geos CMakeLists.txt :206

target_compile_features(geos_cxx_flags INTERFACE cxx_std_17)

Microsoft/GSL CMakeLists.txt :15

target_compile_features(GSL INTERFACE "cxx_std_14")

AcademySoftwareFoundation/Imath src/Imath/CMakeLists.txt :83

target_compile_features(${IMATH_LIBRARY}
    PRIVATE cxx_std_${IMATH_CXX_STANDARD}
    INTERFACE cxx_std_11
)

pantor/inja CMakeLists.txt :39

target_compile_features(inja INTERFACE cxx_std_17)

pantor/inja CMakeLists.txt :54

target_compile_features(nlohmann_json INTERFACE cxx_std_17)

pantor/inja CMakeLists.txt :99

target_compile_features(single_inja INTERFACE cxx_std_17)

InsightSoftwareConsortium/ITK Modules/ThirdParty/KWSys/src/KWSys/CMakeLists.txt :750

target_compile_features(${KWSYS_TARGET_INTERFACE} INTERFACE ${KWSYS_CXX_COMPILE_FEATURES})

nlohmann/json CMakeLists.txt :119

target_compile_features(${NLOHMANN_JSON_TARGET_NAME} INTERFACE cxx_range_for)

nlohmann/json CMakeLists.txt :121

target_compile_features(${NLOHMANN_JSON_TARGET_NAME} INTERFACE cxx_std_11)

nlohmann/json cmake/test.cmake :91

target_compile_features(${test_interface} INTERFACE ${args_COMPILE_FEATURES})

nlohmann/json tests/abi/CMakeLists.txt :6

target_compile_features(abi_compat_common INTERFACE cxx_std_11)

KhronosGroup/KTX external/fmt/CMakeLists.txt :335

target_compile_features(fmt-header-only INTERFACE cxx_std_11)

analogdevicesinc/libiio deps/mdns/CMakeLists.txt :24

target_compile_features(${PROJECT_NAME} INTERFACE c_std_99)

facebookexperimental/libunifex cmake/FindMemoryResource.cmake :212

target_compile_features(std::memory_resource INTERFACE cxx_std_17)

YosysHQ/nextpnr 3rdparty/pybind11/CMakeLists.txt :237

target_compile_features(pybind11_headers INTERFACE cxx_inheriting_constructors cxx_user_literals
                                                   cxx_right_angle_brackets)

BYVoid/OpenCC deps/pybind11-2.13.1/CMakeLists.txt :237

target_compile_features(pybind11_headers INTERFACE cxx_inheriting_constructors cxx_user_literals
                                                   cxx_right_angle_brackets)

AcademySoftwareFoundation/openexr cmake/LibraryDefine.cmake :23

target_compile_features(${objlib}
                        PRIVATE cxx_std_${OPENEXR_CXX_STANDARD}
                        INTERFACE cxx_std_17 )

AcademySoftwareFoundation/OpenImageIO src/libOpenImageIO/CMakeLists.txt :154

target_compile_features (OpenImageIO
                         INTERFACE cxx_std_${DOWNSTREAM_CXX_STANDARD})

AcademySoftwareFoundation/OpenImageIO src/libutil/CMakeLists.txt :100

target_compile_features (${targetname}
                         INTERFACE cxx_std_${DOWNSTREAM_CXX_STANDARD})

AcademySoftwareFoundation/OpenShadingLanguage src/liboslcomp/CMakeLists.txt :46

target_compile_features (${local_lib}
                         INTERFACE cxx_std_${DOWNSTREAM_CXX_STANDARD})

AcademySoftwareFoundation/OpenShadingLanguage src/liboslexec/CMakeLists.txt :584

target_compile_features (${local_lib}
                         INTERFACE cxx_std_${DOWNSTREAM_CXX_STANDARD})

AcademySoftwareFoundation/OpenShadingLanguage src/liboslnoise/CMakeLists.txt :26

target_compile_features (${local_lib}
                         INTERFACE cxx_std_${DOWNSTREAM_CXX_STANDARD})

AcademySoftwareFoundation/OpenShadingLanguage src/liboslquery/CMakeLists.txt :23

target_compile_features (${local_lib}
                         INTERFACE cxx_std_${DOWNSTREAM_CXX_STANDARD})

PDAL/PDAL cmake/macros.cmake :62

target_compile_features (${_name}
  INTERFACE
    # Enable C++17 standard compliance
    cxx_std_17
)

taocpp/PEGTL CMakeLists.txt :51

target_compile_features(pegtl INTERFACE cxx_std_17)

raspberrypi/picotool lib/nlohmann_json/CMakeLists.txt :106

target_compile_features(${NLOHMANN_JSON_TARGET_NAME} INTERFACE cxx_range_for)

raspberrypi/picotool lib/nlohmann_json/CMakeLists.txt :108

target_compile_features(${NLOHMANN_JSON_TARGET_NAME} INTERFACE cxx_std_11)

YosysHQ/prjtrellis libtrellis/3rdparty/pybind11/CMakeLists.txt :189

target_compile_features(pybind11_headers INTERFACE cxx_inheriting_constructors cxx_user_literals
                                                   cxx_right_angle_brackets)

pybind/pybind11 CMakeLists.txt :285

target_compile_features(pybind11_headers INTERFACE cxx_inheriting_constructors cxx_user_literals
                                                   cxx_right_angle_brackets)

qbittorrent/qBittorrent cmake/Modules/CommonConfig.cmake :18

target_compile_features(qbt_common_cfg INTERFACE
    cxx_std_20
)

qgis/QGIS external/rtree/CMakeLists.txt :20

target_compile_features(RTree
    INTERFACE cxx_std_11)

QtExcel/QXlsx QXlsx/CMakeLists.txt :166

target_compile_features(QXlsx INTERFACE cxx_std_11)

eliaskosunen/scnlib cmake/buildflags.cmake :247

target_compile_features(${target} INTERFACE cxx_std_17)

ossia/score cmake/ScoreExternalAddon.developer.cmake :189

target_compile_features(score_lib_base INTERFACE "${CXX_VERSION_FLAG}")

ossia/score src/plugins/score-plugin-avnd/CMakeLists.txt :102

target_compile_features(avnd_halp_module PRIVATE cxx_std_20 INTERFACE cxx_std_20)

EttusResearch/uhd host/cmake/Modules/CMakeRC.cmake :417

target_compile_features(cmrc-base INTERFACE cxx_nullptr)

martinus/unordered_dense CMakeLists.txt :25

target_compile_features(unordered_dense INTERFACE cxx_std_17)

microsoft/vcpkg ports/sajson/CMakeLists.txt :7

target_compile_features(sajson INTERFACE cxx_std_11)

microsoft/vcpkg ports/uwebsockets/unofficial-uwebsockets-config.cmake :12

target_compile_features(unofficial::uwebsockets::uwebsockets INTERFACE cxx_std_17)

Viskores/viskores CMake/ViskoresCompilerFlags.cmake :57

target_compile_features(viskores_compiler_flags INTERFACE cxx_std_17)

Viskores/viskores CMake/ViskoresDeviceAdapters.cmake :112

target_compile_features(viskores_cuda INTERFACE cxx_std_14)

Viskores/viskores viskores/thirdparty/diy/viskoresdiy/CMakeLists.txt :210

target_compile_features(${diy_prefix} INTERFACE cxx_std_14)

Viskores/viskores viskores/thirdparty/lcl/CMakeLists.txt :15

target_compile_features(viskores_lcl INTERFACE cxx_std_11)

Viskores/viskores viskores/thirdparty/loguru/CMakeLists.txt :15

target_compile_features(viskores_loguru INTERFACE cxx_std_11)

gnuradio/volk cmake/Modules/FindFILESYSTEM.cmake :250

target_compile_features(std::filesystem INTERFACE cxx_std_17)

xournalpp/xournalpp cmake/find/FindCXX17.cmake :76

target_compile_features(cxx17 INTERFACE cxx_std_17)

xournalpp/xournalpp cmake/find/FindFilesystem.cmake :226

target_compile_features(std_filesystem INTERFACE cxx_std_17)

xournalpp/xournalpp cmake/find/FindFilesystem.cmake :253

target_compile_features(std_filesystem INTERFACE cxx_std_17)

xournalpp/xournalpp cmake/find/FindFilesystem.cmake :275

target_compile_features(std_filesystem INTERFACE cxx_std_17)