cmake fetchcontent_populate examples

Signatures

fetchcontent_populate(
  <name>
  [QUIET]
  [SUBBUILD_DIR <subBuildDir>]
  [SOURCE_DIR <srcDir>]
  [BINARY_DIR <binDir>]
  ...
)

Examples

bambulab/BambuStudio src/mcut/CMakeLists.txt :227

FetchContent_Populate(
		libigl
		GIT_REPOSITORY 			https://github.com/libigl/libigl.git
		GIT_TAG       	v2.3.0
		GIT_PROGRESS TRUE
	)

SoftFever/OrcaSlicer deps_src/mcut/CMakeLists.txt :227

FetchContent_Populate(
		libigl
		GIT_REPOSITORY 			https://github.com/libigl/libigl.git
		GIT_TAG       	v2.3.0
		GIT_PROGRESS TRUE
	)

bernhardstrobl/Pico3D pico_sdk_import.cmake :41

FetchContent_Populate(pico_sdk)

RavEngine/RavEngine deps/tracy/cmake/CPM.cmake :550

FetchContent_Populate()

alpaka-group/alpaka cmake/alpakaCommon.cmake :882

FetchContent_Populate(mdspan)

cs1ime/ceserver-rawmem thirdparty/nlohmann_json/tests/benchmarks/CMakeLists.txt :20

FetchContent_Populate(benchmark)

ThePhD/sol2 cmake/Packages/FindLuaBuild/LuaVanilla.cmake :182

FetchContent_Populate(lua-vanilla)

stack-of-tasks/pinocchio unittest/packaging/external/CMakeLists.txt :24

FetchContent_Populate(Pinocchio)

gunrock/gunrock cmake/FetchModernGPU.cmake :17

FetchContent_Populate(
    moderngpu
  )

kahypar/mt-kahypar CMakeLists.txt :348

FetchContent_Populate(
  kahypar-shared-resources QUIET EXLUDE_FROM_ALL
  GIT_REPOSITORY https://github.com/kahypar/kahypar-shared-resources.git
  GIT_TAG        ${KAHYPAR_SHARED_RESOURCES_TAG}
  SOURCE_DIR     external_tools/kahypar-shared-resources
)

bareos/bareos cmake/CPM.cmake :550

FetchContent_Populate()

WerWolv/Fenestra cmake/build_helpers.cmake :467

FetchContent_Populate(cv2pdb)

OpenKneeboard/OpenKneeboard third-party/lualib.cmake :17

FetchContent_Populate(lua)

NVIDIA/MatX public/cpm-cmake/cmake/CPM.cmake :762

FetchContent_Populate(${PACKAGE})

TheAssemblyArmada/Thyme CMakeLists.txt :274

FetchContent_Populate(gamemath_git)

NVIDIA/DALI cmake/Dependencies.common.cmake :304

FetchContent_Populate(nvimgcodec_headers)

OpenMW/openmw extern/CMakeLists.txt :11

FetchContent_Populate(${contentName})

sandialabs/InterSpec cmake/FetchInterSpecDeps.cmake :139

FetchContent_Populate(wt)

emsec/hal deps/pybind11/tests/CMakeLists.txt :211

FetchContent_Populate(eigen)

ceph/ceph cmake/modules/CPM.cmake :569

FetchContent_Populate()

AcademySoftwareFoundation/openvdb nanovdb/nanovdb/CMakeLists.txt :162

FetchContent_Populate(ogt)

OSGeo/PROJ test/unit/CMakeLists.txt :81

FetchContent_Populate(googletest)

STEllAR-GROUP/hpx cmake/HPX_SetupApex.cmake :66

fetchcontent_populate(apex)

MIT-SPARK/TEASER-plusplus teaser/CMakeLists.txt :10

FetchContent_Populate(pmc)

YosysHQ/nextpnr 3rdparty/pybind11/tests/CMakeLists.txt :267

FetchContent_Populate(eigen)

root-project/root cmake/modules/SetupAdaptiveCpp.cmake :12

FetchContent_Populate(AdaptiveCpp)

adventuregamestudio/ags CMake/FetchGoogleTest.cmake :15

FetchContent_Populate(googletest_content
                DOWNLOAD_EXTRACT_TIMESTAMP TRUE
                URL https://github.com/google/googletest/archive/refs/tags/release-1.8.1.tar.gz
                URL_HASH MD5=2e6fbeb6a91310a16efe181886c59596
        )

ebu/ear-production-suite submodules/CMakeLists.txt :132

FetchContent_Populate(visr)

apache/kvrocks cmake/jemalloc.cmake :41

FetchContent_Populate(jemalloc)

google/sandboxed-api cmake/libffi.cmake :21

FetchContent_Populate(libffi)

GPUOpen-Tools/gpu_performance_api build/cmake_modules/fetch_dependencies.cmake :39

FetchContent_Populate(adl
    GIT_REPOSITORY "${GITHUB_SERVER}/adl.git"
    SOURCE_DIR "${COMMON_DIR}/adl"
    GIT_TAG 3c40dc2a9538e5a08c779e5f6bd088126cda0707
)

openvinotoolkit/openvino.genai src/cpp/CMakeLists.txt :28

FetchContent_Populate(minja)

manticoresoftware/manticoresearch cmake/update_bundle.cmake :99

FetchContent_Populate ( ${NAME} )

infiniflow/infinity cmake/utils.cmake :30

FetchContent_Populate(${dep})

RenderKit/ospray-studio cmake/benchmark.cmake :42

FetchContent_Populate(benchmark)

junrrein/pdfslicer cmake-modules/WindowsQpdf.cmake :9

FetchContent_Populate (qpdf)

pthom/hello_imgui hello_imgui_cmake/hello_imgui_build_lib.cmake :477

FetchContent_Populate(
        plutosvg
        GIT_REPOSITORY https://github.com/sammycage/plutosvg
        GIT_TAG v0.0.6
        SOURCE_DIR ${CMAKE_BINARY_DIR}/plutosvg_source
        BINARY_DIR ${CMAKE_BINARY_DIR}/plutosvg_build
    )

NVIDIA/Fuser CMakeLists.txt :112

FetchContent_Populate(repo-cutlass)

Auburn/FastNoise2 cmake/CPM.cmake :762

FetchContent_Populate(${PACKAGE})

ZikangYuan/voxel_svio CMakeLists.txt :30

FetchContent_Populate(tessil)

mstrens/oXs_on_RP2040 pico_sdk_import.cmake :50

FetchContent_Populate(pico_sdk)

rbfx/rbfx Source/ThirdParty/Diligent/Graphics/GraphicsEngineD3D12/CMakeLists.txt :256

FetchContent_Populate(WinPixEventRuntime)

murat-dogan/node-datachannel CMakeLists.txt :49

FetchContent_Populate(libdatachannel)

diasurgical/DevilutionX CMake/functions/FetchContent_ExcludeFromAll_backport.cmake :11

FetchContent_Populate(${name})

InsightSoftwareConsortium/ITK Modules/ThirdParty/HDF5/src/itkhdf5/CMakeVOL.cmake :195

FetchContent_Populate(${hdf5_vol_depname})

PacktPublishing/The-Modern-Vulkan-Cookbook CMakeLists.txt :48

FetchContent_Populate(spirvreflect)

ZikangYuan/sr_lio CMakeLists.txt :27

FetchContent_Populate(tessil)

gazebosim/gazebo-classic deps/tiny-process-library/CMakeLists.txt :10

FetchContent_Populate(tinyprocesslibrary)

maluoi/openxr-explorer cmake/CPM.cmake :623

FetchContent_Populate()

k2-fsa/sherpa-onnx cmake/asio.cmake :38

FetchContent_Populate(asio)

Jackarain/proxy third_party/boost/tools/cmake/include/BoostFetch.cmake :79

FetchContent_Populate(${NAME})

cryfs/cryfs vendor/cryptopp/vendor_cryptopp_cmake/cmake/GetCryptoppSources.cmake :43

fetchcontent_populate(cryptopp)

connormanning/entwine cmake/gtest.cmake :81

FetchContent_Populate(googletest)

librevault/librevault src/gui/CMakeLists.txt :116

FetchContent_Populate(sparkle)

KitwareMedical/SlicerVirtualReality FetchVTKExternalModule.cmake :6

FetchContent_Populate(${proj}
  SOURCE_DIR     ${EP_SOURCE_DIR}
  GIT_REPOSITORY https://github.com/KitwareMedical/VTKExternalModule
  GIT_TAG        3a290ec10d3e8326cd009759d87d8d219c551b47
  QUIET
  )

sxs-collaboration/spectre cmake/SetupLIBXSMM.cmake :32

FetchContent_Populate(xsmm)

stoneface86/trackerboy cmake/CPM.cmake :623

FetchContent_Populate()

JibbSmart/JoyShockLibrary cmake/CPM.cmake :454

FetchContent_Populate(${contentName})

NervanaSystems/ngraph cmake/external/eigen.cmake :37

FetchContent_Populate(ext_eigen)

realm/realm-core test/object-store/CMakeLists.txt :226

FetchContent_Populate(libuv)

cwida/ALP publication/source_code/bench_end_to_end/CMakeLists.txt :280

FetchContent_Populate(gflags)

ArthurSonzogni/FTXUI cmake/ftxui_find_google_benchmark.cmake :27

FetchContent_Populate(googlebenchmark)

kpeeters/cadabra2 frontend/gtkmm/CMakeLists.txt :52

FetchContent_Populate(microtex)

isce-framework/isce3 .cmake/FetchExternRepo.cmake :9

FetchContent_Populate(${repo})

jandelgado/jled examples/raspi_pico/pico_sdk_import.cmake :39

FetchContent_Populate(pico_sdk)

gsl-lite/gsl-lite example/with-CPM/cmake/CPM.cmake :569

FetchContent_Populate()

cvet/fonline ThirdParty/tracy/cmake/CPM.cmake :550

FetchContent_Populate()

nlitsme/idbutil Findidbutil.cmake :7

FetchContent_Populate(idbutil
        GIT_REPOSITORY https://github.com/nlitsme/idbutil)

NVIDIA-Merlin/HugeCTR HugeCTR/src/CMakeLists.txt :30

FetchContent_Populate(pybind11_sources)

DLR-SC/tigl tests/cmake/AddGoogleTest.cmake :15

FetchContent_Populate(googletest)

k2-fsa/sherpa-ncnn cmake/json.cmake :37

FetchContent_Populate(json)

gatecat/nextpnr-xilinx 3rdparty/pybind11/tests/CMakeLists.txt :258

FetchContent_Populate(eigen)

hailo-ai/hailort hailort/cmake/external/benchmark.cmake :21

FetchContent_Populate(benchmark)

apple/foundationdb cmake/CompileZstd.cmake :15

FetchContent_Populate(ZSTD)

PaddlePaddle/Paddle cmake/cinn/external/llvm.cmake :20

FetchContent_Populate(external_llvm)

wowdev/noggit3 CMakeLists.txt :724

FetchContent_Populate (storm)

StephLin/KCP cmake/doxygenTheme.cmake :11

FetchContent_Populate(doxygentheme)

jfalcou/eve test/integration/cpm-test/cpm.cmake :453

FetchContent_Populate()

microsoft/onnxruntime-genai cmake/external/helper_functions.cmake :139

FetchContent_Populate(${__cmake_contentName})

simdutf/simdutf cmake/CPM.cmake :623

FetchContent_Populate()

arrayfire/forge CMakeModules/ForgeConfigureDepsVars.cmake :82

FetchContent_Populate(${dep_prefix}
        QUIET
        URL            ${fdcp_args_URI}
        URL_HASH       ${fdcp_args_REF}
        DOWNLOAD_COMMAND \"\"
        UPDATE_DISCONNECTED ON
        SOURCE_DIR     "${Forge_SOURCE_DIR}/extern/${dep_prefix}-src"
        BINARY_DIR     "${Forge_BINARY_DIR}/extern/${dep_prefix}-build"
        SUBBUILD_DIR   "${Forge_BINARY_DIR}/extern/${dep_prefix}-subbuild"
      )

flashlight/flashlight cmake/BuildBackwardCpp.cmake :10

FetchContent_Populate(BackwardCpp)

alexbatalov/fallout1-ce third_party/sdl2/CMakeLists.txt :22

FetchContent_Populate(sdl2)

AimRT/AimRT cmake/GetAsio.cmake :29

FetchContent_Populate(asio)

dmlc/treelite cmake/ExternalLibs.cmake :24

FetchContent_Populate(RapidJSON)

trpc-group/trpc-cpp cmake/flatbuffers.cmake :30

FetchContent_Populate(flatbuffers)

percolator/percolator tests/unit_tests/percolator/CMakeLists.txt :24

FetchContent_Populate(googletest)

yanhua133/mediasoup-sfu-cpp deps/json/test/cmake_fetch_content/project/CMakeLists.txt :12

FetchContent_Populate(json)

Kenix3/libultraship cmake/ios-toolchain-populate.cmake :11

FetchContent_Populate(iostoolchain)

arrayfire/arrayfire CMakeModules/AFconfigure_deps_vars.cmake :92

FetchContent_Populate(${dep_prefix}
        QUIET
        URL            ${adcp_args_URI}
        URL_HASH       ${adcp_args_REF}
        DOWNLOAD_COMMAND \"\"
        UPDATE_DISCONNECTED ON
        SOURCE_DIR     "${ArrayFire_SOURCE_DIR}/extern/${dep_prefix}-src"
        BINARY_DIR     "${ArrayFire_BINARY_DIR}/extern/${dep_prefix}-build"
        SUBBUILD_DIR   "${ArrayFire_BINARY_DIR}/extern/${dep_prefix}-subbuild"
      )

meemknight/ourCraft thirdparty/FastNoise2/cmake/CPM.cmake :762

FetchContent_Populate(${PACKAGE})

NuiCpp/Nui cmake/dependencies/webview.cmake :33

FetchContent_Populate(webview_raw)

LouisCharlesC/safe tests/cmake/add_package.cmake :18

FetchContent_Populate(${depname})

ufz/ogs scripts/cmake/CPM.cmake :623

FetchContent_Populate()

kokkos/stdBLAS CMakeLists.txt :120

FetchContent_Populate(mdspan)

jstkdng/ueberzugpp CMakeLists.txt :103

FetchContent_Populate(range-v3)

IntelRealSense/RealSenseID cmake/libcurl.cmake :19

FetchContent_Populate(libcurl)

zju-abclab/NEXUS thirdparty/SEAL-4.1-bs/cmake/ExternalBenchmark.cmake :12

FetchContent_Populate(benchmark)

dmlc/ps-lite CMakeLists.txt :25

FetchContent_Populate(zmq)

isledecomp/isle-portable 3rdparty/CMakeLists.txt :79

FetchContent_Populate(
        libweaver
        URL https://github.com/isledecomp/SIEdit/archive/ae447259389f3bf8273c7e7a4844743faf7cbdb8.tar.gz
        URL_MD5 dee68424fde8db6d5cef3b9034a8151f
    )