cmake target_compile_features examples

Signatures

target_compile_features(<target> <PRIVATE|PUBLIC|INTERFACE> <feature> [...])

Examples

gosu/gosu CMakeLists.txt :46

target_compile_features(gosu PUBLIC cxx_std_20)

nCine/nCine cmake/ncine_compiler_options.cmake :2

target_compile_features(ncine PUBLIC cxx_std_17)

u3d-community/U3D Source/ThirdParty/Assimp/contrib/openddlparser/CMakeLists.txt :107

target_compile_features(openddlparser PUBLIC cxx_std_11)

PieKing1215/FallingSandSurvival FallingSandSurvival/CMakeLists.txt :325

target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_14)

novelrt/NovelRT cmake/NovelRTBuildSystem.cmake :78

target_compile_features(${cmakeSafeName} PUBLIC cxx_std_17)

gwaldron/osgearth src/third_party/tinygltf/examples/validator/CMakeLists.txt :17

target_compile_features(tinygltf-validator
    PUBLIC
        cxx_range_for)

godlikepanos/anki-3d-engine ThirdParty/Reproc/cmake/reproc.cmake :98

target_compile_features(${TARGET} PUBLIC c_std_99)

prusa3d/Prusa-Firmware lib/Catch2/fuzzing/CMakeLists.txt :11

target_compile_features(fuzzhelper PUBLIC cxx_std_17)

facebookresearch/habitat-sim src/esp/CMakeLists.txt :548

target_compile_features(noise_model_kernels PUBLIC cxx_std_11)

Universite-Gustave-Eiffel/I-Simpa src/lib_interface/input_output/pugixml/CMakeLists.txt :47

target_compile_features(pugixml PUBLIC cxx_long_long_type)

Hork-Engine/Hork-Source ThirdParty/EASTL/CMakeLists.txt :32

target_compile_features(EASTL PUBLIC cxx_std_14)

STORM-IRIT/Radium-Engine examples/CustomCameraManipulator/CMakeLists.txt :66

target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)

RavEngine/RavEngine cmake/rvesc.cmake :11

target_compile_features(rvesc PUBLIC cxx_std_20)

pioneerspacesim/pioneer contrib/fmt/CMakeLists.txt :301

target_compile_features(fmt PUBLIC cxx_std_11)

AlizaMedicalImaging/AlizaMS mdcm/Utilities/mdcmcharls/CMakeLists.txt :39

target_compile_features(${CHARLS_LIBRARY_NAME} PUBLIC cxx_std_14)

PDAL/PDAL vendor/gtest/cmake/internal_utils.cmake :192

target_compile_features(${name} PUBLIC cxx_std_11)

kokkos/kokkos cmake/kokkos_tribits.cmake :334

target_compile_features(${LIBRARY_NAME} PUBLIC ${KOKKOS_CXX_STANDARD_FEATURE})

alpaka-group/alpaka thirdParty/catch2/src/CMakeLists.txt :366

target_compile_features(Catch2
  PUBLIC
    cxx_std_14
)

eclipse-ecal/ecal app/app_pb/CMakeLists.txt :75

target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_14)

KjellKod/g3log Build.cmake :90

TARGET_COMPILE_FEATURES(${G3LOG_LIBRARY} PUBLIC cxx_variable_templates)

etternagame/etterna extern/boost/nowide/CMakeLists.txt :54

target_compile_features(nowide PUBLIC cxx_std_11)

gadomski/cpd vendor/googletest-1.14.0/googletest/cmake/internal_utils.cmake :198

target_compile_features(${name} PUBLIC cxx_std_14)

wpilibsuite/allwpilib apriltag/CMakeLists.txt :123

target_compile_features(apriltag PUBLIC cxx_std_20)

MaaAssistantArknights/MaaAssistantArknights src/Dart/example/linux/CMakeLists.txt :31

target_compile_features(${TARGET} PUBLIC cxx_std_14)

RichieSams/FiberTaskingLib benchmarks/CMakeLists.txt :33

target_compile_features(ftl PUBLIC cxx_std_17)

openvinotoolkit/openvino src/cmake/openvino.cmake :33

target_compile_features(${TARGET_NAME} PUBLIC cxx_std_17)

x64dbg/x64dbg src/zydis_wrapper/CMakeLists.txt :18

target_compile_features(zydis_wrapper PUBLIC
	cxx_std_11
)

CppMicroServices/CppMicroServices cmake/usMacroCreateBundle.cmake :111

target_compile_features(${PROJECT_TARGET}
  PUBLIC cxx_variadic_templates cxx_nullptr
  )

moneymanagerex/moneymanagerex src/CMakeLists.txt :369

target_compile_features(${MMEX_EXE} PUBLIC cxx_std_11)

chdb-io/chdb contrib/grpc-cmake/grpc.cmake :76

target_compile_features(address_sorting PUBLIC cxx_std_14)

NVIDIA/MatX cmake/rapids-cmake/rapids-cmake/export/export.cmake :159

target_compile_features(example PUBLIC $<BUILD_INTERFACE:cuda_std_17>)

ethz-adrl/ifopt ifopt_core/CMakeLists.txt :23

target_compile_features(${LIB_CORE} 
  PUBLIC 
    cxx_range_for 
    cxx_auto_type
)

IBAMR/IBAMR CMakeLists.txt :406

TARGET_COMPILE_FEATURES(BUNDLED_MUPARSER PUBLIC cxx_std_${IBAMR_CXX_STANDARD})

gscept/nebula extlibs/scripts/create_resource.cmake :254

target_compile_features(${lib} PUBLIC cxx_std_17)

Kitware/ParaView ThirdParty/protobuf/vtkprotobuf/src/CMakeLists.txt :93

target_compile_features(protobuf
  PUBLIC
    cxx_std_11)

hosseinmoein/DataFrame CMakeLists.txt :44

target_compile_features(DataFrame PUBLIC cxx_std_23)

sandialabs/InterSpec external_libs/Minuit2/src/CMakeLists.txt :211

target_compile_features(Minuit2 PUBLIC cxx_nullptr cxx_nonstatic_member_init)

DIPlib/diplib src/CMakeLists.txt :47

target_compile_features(DIP PUBLIC cxx_generic_lambdas cxx_relaxed_constexpr)

Tulip-Dev/tulip thirdparty/OGDF/cmake/make-user-target.cmake :4

target_compile_features(${TARGET} PUBLIC cxx_range_for)

google/googletest googletest/cmake/internal_utils.cmake :198

target_compile_features(${name} PUBLIC cxx_std_17)

catchorg/Catch2 fuzzing/CMakeLists.txt :11

target_compile_features(fuzzhelper PUBLIC cxx_std_17)

gnuradio/gnuradio gnuradio-runtime/lib/CMakeLists.txt :156

target_compile_features(gnuradio-runtime PUBLIC cxx_std_17)

dartsim/dart cmake/DARTMacros.cmake :252

target_compile_features(${target} PUBLIC ${comple_feature})

simbody/simbody SimTKcommon/CMakeLists.txt :148

target_compile_features(SimTKcommon PUBLIC cxx_std_11)

root-project/root math/minuit2/src/CMakeLists.txt :172

target_compile_features(Minuit2 PUBLIC cxx_nullptr cxx_nonstatic_member_init)

brainflow-dev/brainflow third_party/fmt/test/CMakeLists.txt :97

target_compile_features(test-module PUBLIC ${FMT_REQUIRED_FEATURES})

google/filament third_party/abseil/CMake/AbseilDll.cmake :889

target_compile_features(${_dll} PUBLIC ${ABSL_INTERNAL_CXX_STD_FEATURE})

percona/percona-xtrabackup cmake/libutils.cmake :93

TARGET_COMPILE_FEATURES(${TARGET} PUBLIC cxx_std_20)

seladb/PcapPlusPlus Common++/CMakeLists.txt :38

target_compile_features(Common++ PUBLIC cxx_std_14)

NREL/EnergyPlus third_party/gtest/googletest/cmake/internal_utils.cmake :196

target_compile_features(${name} PUBLIC cxx_std_11)

mysql/mysql-server cmake/libutils.cmake :93

TARGET_COMPILE_FEATURES(${TARGET} PUBLIC cxx_std_20)

robotology/yarp src/libYARP_companion/src/CMakeLists.txt :95

target_compile_features(YARP_companion PUBLIC cxx_std_17)

ebu/ear-production-suite ear-production-suite-plugins/lib/CMakeLists.txt :169

target_compile_features(ear-plugin-base PUBLIC cxx_std_17)

apiaryio/drafter packages/apib/CMakeLists.txt :21

target_compile_features(apib
    PUBLIC 
        cxx_alignas
        cxx_alignof
        cxx_auto_type
        cxx_constexpr
        cxx_decltype
        cxx_defaulted_functions
        cxx_defaulted_move_initializers
        cxx_delegating_constructors
        cxx_deleted_functions
        cxx_final
        cxx_lambdas
        cxx_noexcept
        cxx_nullptr
        cxx_override
        cxx_range_for
        cxx_raw_string_literals
        cxx_rvalue_references
        cxx_static_assert
        cxx_trailing_return_types
        cxx_variadic_templates
    )

intel/libvpl libvpl/test/ext/googletest/googletest/cmake/internal_utils.cmake :192

target_compile_features(${name} PUBLIC cxx_std_11)

cycfi/artist lib/CMakeLists.txt :362

target_compile_features(artist PUBLIC cxx_std_17)

stephenberry/glaze src/interop/CMakeLists.txt :11

target_compile_features(glaze_interop PUBLIC cxx_std_23)

Smertig/rcmp CMakeLists.txt :18

target_compile_features(rcmp PUBLIC cxx_std_17)

infiniflow/infinity third_party/minio-cpp/CMakeLists.txt :120

target_compile_features(miniocpp PUBLIC cxx_std_${MINIO_CPP_STD})

RenderKit/ospray-studio sg/CMakeLists.txt :169

target_compile_features(ospray_sg PUBLIC cxx_generic_lambdas)

AshamaneProject/AshamaneCore contrib/protoc-bnet/CMakeLists.txt :22

target_compile_features(protoc-gen-bnet
  PUBLIC
    cxx_std_17
    cxx_alias_templates
    cxx_auto_type
    cxx_constexpr
    cxx_decltype
    cxx_decltype_auto
    cxx_final
    cxx_lambdas
    cxx_generic_lambdas
    cxx_variadic_templates
    cxx_defaulted_functions
    cxx_nullptr
    cxx_trailing_return_types
    cxx_return_type_deduction)

vseasky/VersaAssistant assimp/contrib/gtest/cmake/internal_utils.cmake :196

target_compile_features(${name} PUBLIC cxx_std_11)

mrexodia/lolbin-poc CMakeLists.txt :42

target_compile_features(dbgeng PUBLIC
	cxx_std_11
)

casadi/casadi casadi/interfaces/matlab_ipc/CMakeLists.txt :10

target_compile_features(matlab_ipc PUBLIC c_std_99)

rAthenaCN/rAthenaCN 3rdparty/rapidyaml/ext/c4core/cmake/c4Project.cmake :1271

target_compile_features(${target} PUBLIC cxx_std_${standard})

google/cpu_features cmake/ci/sample/CMakeLists.txt :8

target_compile_features(sample PUBLIC cxx_std_11)

malaterre/GDCM Source/Common/CMakeLists.txt :199

target_compile_features(gdcmCommon PUBLIC cxx_nullptr)

Codesire-Deng/co_context cmake/CompileOption.cmake :10

target_compile_features(co_context PUBLIC cxx_std_20)

KiCad/kicad-source-mirror thirdparty/fmt/CMakeLists.txt :67

target_compile_features(${name} PUBLIC cxx_std_20)

celtera/avendish cmake/avendish.sources.cmake :56

target_compile_features(
      ${AVND_FX_TARGET}
      PUBLIC
        cxx_std_23
  )

fooyin/fooyin CMakeLists.txt :294

target_compile_features(fooyin_lib PUBLIC ${FOOYIN_REQUIRED_CXX_FEATURES})

minio/minio-cpp CMakeLists.txt :131

target_compile_features(miniocpp PUBLIC cxx_std_${MINIO_CPP_STD})

flux-framework/flux-sched external/catch2/fuzzing/CMakeLists.txt :11

target_compile_features(fuzzhelper PUBLIC cxx_std_17)

tukl-msd/DRAMSys src/configuration/CMakeLists.txt :51

target_compile_features(configuration PUBLIC cxx_std_17)

BehaviorTree/BehaviorTree.CPP CMakeLists.txt :201

target_compile_features(${BTCPP_LIBRARY} PUBLIC cxx_std_17)

dfleury2/beauty src/CMakeLists.txt :53

target_compile_features(beauty
    PUBLIC
        cxx_std_17
)

NauEngine/NauEnginePublic engine/3rdparty_libs/fmt/CMakeLists.txt :303

target_compile_features(fmt PUBLIC cxx_std_11)

robbert-vdh/spectral-compressor CMakeLists.txt :118

target_compile_features(SpectralCompressor PUBLIC cxx_std_20)

Dreamtowards/Ethertia lib/entt-3.12.2/test/CMakeLists.txt :36

target_compile_features(gtest PUBLIC cxx_std_17)

NauEngine/NauEditorPublic editor/tests/source/editor/unit/CMakeLists.txt :80

target_compile_features(NauEditorUnitTests PUBLIC cxx_std_20)

nwnxee/unified NWNXLib/External/tracy/tracy-0.10/CMakeLists.txt :32

target_compile_features(TracyClient PUBLIC cxx_std_11)

rbfx/rbfx Source/ThirdParty/EASTL/CMakeLists.txt :37

target_compile_features(EASTL PUBLIC cxx_std_14)

nvpro-samples/nv_cluster_lod_builder CMakeLists.txt :55

target_compile_features(nv_cluster_lod_builder PUBLIC cxx_std_20)

InsightSoftwareConsortium/ITK CMake/ITKModuleMacros.cmake :632

target_compile_features(${_name} PUBLIC cxx_std_${CMAKE_CXX_STANDARD})

ComputationalBiomechanicsLab/opensim-creator hellooscar/CMakeLists.txt :9

target_compile_features(hellooscar PUBLIC
    cxx_std_23
)

TartanLlama/sdb src/CMakeLists.txt :10

target_compile_features(libsdb PUBLIC cxx_std_17)

Tablecruncher/tablecruncher CMakeLists.txt :145

target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_17)

logicalclocks/rondb cmake/libutils.cmake :93

TARGET_COMPILE_FEATURES(${TARGET} PUBLIC cxx_std_20)

gazebosim/gazebo-classic cmake/GazeboUtils.cmake :106

target_compile_features(${_name} PUBLIC cxx_std_11)

ClickHouse/ClickHouse contrib/grpc-cmake/grpc.cmake :76

target_compile_features(address_sorting PUBLIC cxx_std_17)

socketio/socket.io-client-cpp CMakeLists.txt :78

target_compile_features(sioclient PUBLIC cxx_std_11)

jupp0r/prometheus-cpp core/CMakeLists.txt :21

target_compile_features(core
  PUBLIC
    cxx_std_11
)

taocpp/taopq CMakeLists.txt :123

target_compile_features(taopq PUBLIC cxx_std_20)

Jackarain/proxy third_party/boost/libs/atomic/CMakeLists.txt :81

target_compile_features(boost_atomic PUBLIC cxx_std_11)

m-schuetz/SimLOD libs/fmt/CMakeLists.txt :60

target_compile_features(${name} PUBLIC cxx_std_20)

canonical/multipass src/client/gui/linux/CMakeLists.txt :43

target_compile_features(${TARGET} PUBLIC cxx_std_14)

hypengw/Qcm core/CMakeLists.txt :32

target_compile_features(core PUBLIC cxx_std_23)

polyfem/polyfem CMakeLists.txt :136

target_compile_features(polyfem PUBLIC cxx_std_17)

ornladios/ADIOS2 thirdparty/GTest/googletest/googletest/cmake/internal_utils.cmake :198

target_compile_features(${name} PUBLIC cxx_std_14)

heal-research/operon CMakeLists.txt :268

target_compile_features(operon_operon PUBLIC cxx_std_20)