cmake function() examples

ornladios/ADIOS2 cmake/DetectOptions.cmake :36

function(string_strip_prefix pfx in outVar)

ornladios/ADIOS2 cmake/upstream/FindHDF5.cmake :343

function( _HDF5_invoke_compiler language output_var return_value_var version_var is_parallel_var)

ornladios/ADIOS2 cmake/upstream/FindMPI.cmake :1050

function(_MPI_adjust_compile_definitions LANG)

apache/arrow cpp/cmake_modules/BuildUtils.cmake :33

function(add_thirdparty_lib LIB_NAME LIB_TYPE LIB)

apache/arrow python/CMakeLists.txt :599

function(bundle_arrow_import_lib library_path)

catchorg/Catch2 CMake/Findcodecov.cmake :34

function (add_coverage TNAME)

CGAL/cgal Arrangement_on_surface_2/test/Arrangement_on_surface_2/cgal_test.cmake :699

function(test_construction_linear_curves)

CGAL/cgal Documentation/doc/CMakeLists.txt :306

function(CGAL_insert_in_sorted_list list_name value)

projectchrono/chrono cmake/FindSIMD.cmake :314

function(test_neon_availability)

danmar/cppcheck cmake/qtCompat.cmake :9

function(qt_add_resources out)

cpputest/cpputest cmake/Scripts/CppUTestBuildTimeDiscoverTests.cmake :43

function (buildtime_discover_tests EXECUTABLE DISCOVER_ARG OUTPUT)

curl/curl tests/CMakeLists.txt :46

function(curl_add_runtests _targetname _test_flags)

doxygen/doxygen cmake/git_watcher.cmake :82

function(GitStateChangedAction _state_as_list)

doxygen/doxygen cmake/Sanitizers/FindSanitizers.cmake :55

function(add_sanitizers ...)

expresscpp/expresscpp cmake/conan.cmake :550

function(conan_add_remote)

fastfloat/fast_float tests/CMakeLists.txt :47

function(fast_float_add_cpp_test TEST_NAME)

facebook/folly build/fbcode_builder/CMake/FBPythonBinary.cmake :390

function(add_fb_python_library LIB_NAME)

facebook/folly CMake/FollyCompilerMSVC.cmake :108

function(apply_folly_compile_options_to_target THETARGET)

fontforge/fontforge cmake/TargetUtils.cmake :34

function(fixup_link_options dest)

fontforge/fontforge cmake/backports/3.15.7/FindPkgConfig.cmake :182

function(_pkg_find_libs _prefix _no_cmake_path _no_cmake_environment_path)

fontforge/fontforge cmake/backports/3.15.7/FindPython/Support.cmake :1789

function (__${_PYTHON_PREFIX}_ADD_LIBRARY prefix name)

FreeRDP/FreeRDP cmake/ShowCMakeVars.cmake :1

function(ShowCMakeVars)

OSGeo/gdal cmake/modules/thirdparty/FindDotnet.cmake :389

FUNCTION(ADD_MSBUILD DOTNET_PROJECT)

HDFGroup/hdf4 config/sanitizer/sanitizers.cmake :23

function(append value)

libusb/hidapi src/CMakeLists.txt :51

function(hidapi_configure_pc PC_IN_FILE)

igraph/igraph etc/cmake/CodeCoverage.cmake :237

function(setup_target_for_coverage_lcov)

igraph/igraph etc/cmake/CodeCoverage.cmake :416

function(setup_target_for_coverage_gcovr_xml)

ispc/ispc ispcrt/cmake/interop.cmake :259

function(ispc_target_link_dpcpp_libraries TARGET_NAME)

InsightSoftwareConsortium/ITK CMake/GetGitRevisionDescription.cmake :156

function(git_describe _var)

InsightSoftwareConsortium/ITK Modules/ThirdParty/GoogleTest/src/itkgoogletest/googletest/cmake/internal_utils.cmake :205

function(cxx_shared_library name cxx_flags)

InsightSoftwareConsortium/ITK Wrapping/macro_files/itk_auto_load_submodules.cmake :1

function(generate_castxml_commandline_flags)

KhronosGroup/KTX cmake/version.cmake :10

function(git_update_index)

KhronosGroup/KTX external/fmt/test/CMakeLists.txt :29

function(add_fmt_test name)

libspatialindex/libspatialindex test/gtest/gtest-1.14.0/cmake/internal_utils.cmake :205

function(cxx_shared_library name cxx_flags)

mfem/mfem config/cmake/modules/MfemCmakeUtilities.cmake :1051

function(mfem_cache_path PathVar DefaultPath HelpStr)

rui314/mold third-party/tbb/test/CMakeLists.txt :212

function(tbb_configure_hwloc_dependent_test)

neovim/neovim cmake/LuaHelpers.cmake :20

function(check_lua_deps LUA_PRG_PATH MODULES RESULT_VAR)

YosysHQ/nextpnr 3rdparty/googletest/googletest/cmake/internal_utils.cmake :215

function(cxx_test_with_flags name cxx_flags libs)

YosysHQ/nextpnr 3rdparty/sanitizers-cmake/cmake/sanitize-helpers.cmake :26

function (sanitizer_lang_of_source FILE RETURN_VAR)

tpaviot/oce adm/cmake/cotire.cmake :2126

function (cotire_get_prefix_header_dependencies _language _target _dependencySourcesVar)

tpaviot/oce adm/cmake/cotire.cmake :2137

function (cotire_generate_target_script _language _configurations _target _targetScriptVar _targetConfigScriptVar)

OpenImageDenoise/oidn cmake/FindTBB.cmake :295

function(rk_tbb_find_library COMPONENT_NAME BUILD_CONFIG)

BYVoid/OpenCC deps/pybind11-2.13.1/tools/pybind11Common.cmake :417

function(pybind11_strip target_name)

opencv/opencv cmake/OpenCVUtils.cmake :1451

function(ocv_source_group group)

AcademySoftwareFoundation/OpenImageIO src/cmake/dependency_utils.cmake :66

function (dump_matching_variables pattern)

YosysHQ/prjtrellis libtrellis/3rdparty/pybind11/tools/pybind11NewTools.cmake :252

function(pybind11_extension name)

qt/qt5 cmake/QtIRGitHelpers.cmake :929

function(qt_ir_get_top_level_submodules out_included_submodules out_excluded_submodules)

qt/qt5 cmake/QtTopLevelHelpers.cmake :9

function(qt_tl_run_toplevel_configure top_level_src_path)

qt/qt5 cmake/QtTopLevelHelpers.cmake :1177

function(qt_internal_sync_to module)

qt/qt5 tests/manual/RunCMake/ConfigureBuildQt/Utils.cmake :79

function(get_default_repo_to_sync out_var)

qt/qt5 tests/manual/RunCMake/ConfigureBuildQt/Utils.cmake :441

function(get_libexec_dir out_var)

merbanan/rtl_433 cmake/Modules/GetGitRevisionDescription.cmake :102

function(git_describe _var)

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

function(ossia_set_visibility TheTarget)

ossia/score src/plugins/score-plugin-scenario/tests/CMakeLists.txt :8

function(addScoreQtTest TESTNAME TESTSRCS)

sandialabs/seacas cmake/tribits/core/package_arch/TribitsExternalPackageWithImportedTargetsFindTplModuleHelpers.cmake :63

function(tribits_extpkg_create_imported_all_libs_target_and_config_file
    tplName
  )

sandialabs/seacas cmake/tribits/core/package_arch/TribitsGeneralMacros.cmake :52

function(tribits_set_base_repo_dir  BASE_DIR  REPO_DIR  BASE_REPO_DIR_OUT)

sandialabs/seacas cmake/tribits/core/package_arch/TribitsGetPackageEnableStatus.cmake :107

function(tribits_package_is_explicitly_disabled  packageEnableVarName
    packageIsExplicitlyDisabledOut
  )

sandialabs/seacas cmake/tribits/core/package_arch/TribitsPrintDependencyInfo.cmake :99

function(tribits_print_project_list_var_and_num  listVarSuffix)

sandialabs/seacas cmake/tribits/core/test_support/TribitsAddTestHelpers.cmake :424

function(tribits_add_test_get_num_procs_used  NUM_MPI_PROCS_IN
  NUM_MPI_PROCS_VAR_NAME_IN  NUM_MPI_PROCS_USED_OUT
  NUM_MPI_PROCS_USED_NAME_OUT
  )

pothosware/SoapySDR swig/python/cmake/FindPython/Support.cmake :644

function (_PYTHON_SET_LIBRARY_DIRS _PYTHON_SLD_RESULT)

apple/swift cmake/modules/AddPureSwift.cmake :83

function(_set_swift_cxx_interop_options name)

apple/swift cmake/modules/SwiftAndroidSupport.cmake :23

function(swift_android_cxx_libraries_for_arch arch libraries_var_name)

apple/swift cmake/modules/SwiftUtils.cmake :192

function(swift_create_early_driver_copies target)

apple/swift cmake/modules/SwiftWindowsSupport.cmake :4

function(swift_windows_arch_spelling arch var)

apple/swift stdlib/cmake/modules/AddSwiftStdlib.cmake :2884

function(_add_swift_target_executable_single name)

apple/swift stdlib/cmake/modules/SwiftSource.cmake :194

function(add_swift_source_group sources)

trilinos/Trilinos cmake/tribits/common_tpls/find_modules/FindHDF5.cmake :92

function(_hdf5_define_version _file _var)

trilinos/Trilinos cmake/tribits/core/package_arch/TribitsETISupport.cmake :117

function(tribits_eti_index_macro_fields etifields macrofields indexvar)

trilinos/Trilinos cmake/tribits/core/package_arch/TribitsExternalPackageWriteConfigFile.cmake :595

function(tribits_extpkg_process_libraries_list_library_entry
    tplName  libentry  libEntryType
    libTargetsInOut  previousLibProcessedInOut  configFileStrInOut
  )

trilinos/Trilinos cmake/tribits/core/package_arch/TribitsPrintEnabledPackagesLists.cmake :53

function(tribits_print_enables_after_adjust_package_enables)

trilinos/Trilinos cmake/tribits/core/package_arch/TribitsPrintEnabledPackagesLists.cmake :78

function(tribits_print_toplevel_package_list_enable_status
    docString  internalOrExternal  enabledFlag  enableEmptyStatus
  )

trilinos/Trilinos cmake/tribits/core/package_arch/TribitsProjectWriteConfigFile.cmake :31

function(tribits_write_project_client_export_files)

trilinos/Trilinos cmake/tribits/core/test_support/TribitsAddTestHelpers.cmake :676

function(tribits_private_add_test_set_passfail_properties TEST_NAME_IN)

trilinos/Trilinos cmake/tribits/core/utils/UnitTestHelpers.cmake :49

function(unittest_compare_const VAR_NAME CONST_VAL)

trilinos/Trilinos cmake/tribits/ctest_driver/TribitsCTestDriverCoreHelpers.cmake :145

function(tribits_clone_or_update_extra_repos  CTEST_UPDATE_RETURN_VAL
  UPDATE_FAILED_VAR_OUT
  )

trilinos/Trilinos packages/rol/pyrol/CMakeLists.txt :56

function(get_all_include_dirs  LIBRARY_NAME all_include_dirs all_visited_libs)

trilinos/Trilinos packages/xpetra/cmake/XpetraAddTest.cmake :45

FUNCTION(XPETRA_ADD_TEST NUM_MPI_PROCS)

EttusResearch/uhd host/examples/rfnoc-gain/gr-rfnoc_gain/cmake/Modules/CMakeParseArgumentsCopy.cmake :83

function(CMAKE_PARSE_ARGUMENTS prefix _optionNames _singleArgNames _multiArgNames)

upx/upx misc/cmake/functions.cmake :225

function(upx_remove_glob_files) # ARGV

microsoft/vcpkg ports/google-cloud-cpp/portfile.cmake :72

function (google_cloud_cpp_cmake_config_fixup library)

microsoft/vcpkg ports/skia/skia-functions.cmake :283

function(get_link_libs out_var desc_json target)

microsoft/vcpkg ports/vcpkg-make/vcpkg_make.cmake :125

function(z_vcpkg_make_determine_target_triplet out)

microsoft/vcpkg ports/vcpkg-make/vcpkg_scripts.cmake :52

function(vcpkg_insert_msys_into_path msys_out)

microsoft/vcpkg scripts/buildsystems/vcpkg.cmake :718

function(install)

microsoft/vcpkg scripts/cmake/vcpkg_build_cmake.cmake :1

function(vcpkg_build_cmake)

microsoft/vcpkg scripts/cmake/vcpkg_configure_cmake.cmake :18

function(z_vcpkg_get_visual_studio_generator)

microsoft/vcpkg scripts/cmake/vcpkg_download_sourceforge.cmake :1

function(vcpkg_download_sourceforge out_var)

microsoft/vcpkg scripts/cmake/z_vcpkg_setup_pkgconfig_path.cmake :46

function(z_vcpkg_restore_pkgconfig_path)

Viskores/viskores CMake/FindSphinx.cmake :186

function(_Sphinx_generate_confpy _target _cachedir)

Viskores/viskores CMake/ViskoresWrappers.cmake :48

function(viskores_pyexpander_generated_file generated_file_name)

vrpn/vrpn cmake/FindWindowsSDK.cmake :157

function(_winsdk_check_microsoft_sdks_registry _winsdkver)

movableink/webkit Source/ThirdParty/libwebrtc/Source/third_party/abseil-cpp/CMake/AbseilHelpers.cmake :250

function(check_target my_target)

movableink/webkit Source/WebCore/WebCoreMacros.cmake :59

function(GENERATE_BINDINGS target)

wolfssl/wolfssl IDE/Espressif/ESP-IDF/examples/wolfssl_client/components/wolfssl/CMakeLists.txt :76

function( IS_ESP_IDF_COMPONENT
          RESULT)

wolfssl/wolfssl IDE/Espressif/ESP-IDF/examples/wolfssl_server/components/wolfssl/CMakeLists.txt :906

# function(WOLFSSL_INIT_CERT_BUNDLE)

wxWidgets/wxWidgets build/cmake/modules/cotire.cmake :133

function (cotire_get_source_file_extension _sourceFile _extVar)

wxWidgets/wxWidgets build/cmake/modules/cotire.cmake :744

function (cotire_get_target_compiler_flags _config _language _target _compilerFlagsVar)

mpeg5/xevd CMakeLists.txt :7

function(get_versions versionstring VERSION_MAJOR VERSION_MINOR VERSION_PATCH)

tfussell/xlnt third-party/pybind11/tools/pybind11Tools.cmake :47

function(_pybind11_return_if_cxx_and_linker_flags_work result cxxflags linkerflags cxxflags_out linkerflags_out)

tfussell/xlnt third-party/pybind11/tools/pybind11Tools.cmake :57

function(_pybind11_add_lto_flags target_name prefer_thin_lto)