cmake check_function_exists examples

Signatures

check_function_exists(<function> <variable>)

Examples

timi-liuliang/echo thirdparty/eigen-3.3.3/cmake/FindBLAS.cmake :102

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/libcurl/LibCurl.cmake :313

check_function_exists(gethostname HAVE_GETHOSTNAME)

u3d-community/U3D Source/CMakeLists.txt :34

check_function_exists (${FUNCT} ${HAVE_FUNCT})

urho3d/urho3d Source/CMakeLists.txt :16

check_function_exists (${FUNCT} ${HAVE_FUNCT})

anhttran/extreme_3d_faces lib/3rdParty/Eigen/cmake/FindBLAS.cmake :102

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

anhttran/3dmm_basic lib/3rdParty/Eigen/cmake/FindBLAS.cmake :117

check_function_exists(${_name} ${_prefix}_${_name}${_combined_name}_WORKS)

RavEngine/RavEngine deps/harfbuzz/CMakeLists.txt :85

check_function_exists(${func_name} HAVE_${definition_to_add})

cnr-isti-vclab/meshlab unsupported/plugins_unsupported/external/CoMISo/cmake/FindBLAS.cmake :109

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

lmb-freiburg/ogn cmake/Modules/FindLAPACK.cmake :73

check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS)

luigifreda/plvs Thirdparty/g2o/cmake_modules/FindBLAS.cmake :117

check_function_exists(${_name} ${_prefix}_${_name}${_combined_name}_WORKS)

ZDoom/Raze CMakeLists.txt :211

CHECK_FUNCTION_EXISTS( stricmp STRICMP_EXISTS )

keith2018/SoftGLRender third_party/assimp/contrib/zlib/CMakeLists.txt :64

check_function_exists(fseeko HAVE_FSEEKO)

nextcloud/desktop src/csync/ConfigureChecks.cmake :40

check_function_exists(utimes HAVE_UTIMES)

OAID/Caffe-HRT cmake/Modules/FindLAPACK.cmake :73

check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS)

pcb9382/FaceAlgorithm include/Eigen/cmake/FindBLAS.cmake :102

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

Kitware/kwiver sprokit/src/sprokit/pipeline/thread_naming.cmake :9

check_function_exists(pthread_setname_np have_pthread_setname_np)

RSIA-LIESMARS-WHU/LSHBOX include/eigen/cmake/FindBLAS.cmake :102

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

liminchen/OptCuts ext/libigl/external/cgal/src/CGAL_Project/cmake/modules/FindBLAS.cmake :127

check_function_exists(${_name} ${_prefix}_${_name}${_combined_name}_WORKS)

wpilibsuite/allwpilib thirdparty/imgui_suite/glfw/src/CMakeLists.txt :69

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

amule-project/amule cmake/FindReadline.cmake :83

check_function_exists (add_history HAVE_READLINE_HISTORY)

SCOREC/core phasta/CMakeLists.txt :88

CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME)

rheit/zdoom dumb/CMakeLists.txt :20

CHECK_FUNCTION_EXISTS( itoa ITOA_EXISTS )

bareos/bareos core/cmake/BareosCheckFunctions.cmake :23

check_function_exists(backtrace HAVE_BACKTRACE)

mangosArchives/serverZero_Rel19 dep/libmpq/CMakeLists.txt :53

check_function_exists(fseeko HAVE_FSEEKO)

gnss-sdr/gnss-sdr CMakeLists.txt :1119

check_function_exists(shm_open HAVE_SHM_OPEN)

ByConity/ByConity contrib/libhdfs3-open-cmake/CMake/Options.cmake :4

CHECK_FUNCTION_EXISTS(dladdr HAVE_DLADDR)

KhronosGroup/Vulkan-LoaderAndValidationLayers loader/CMakeLists.txt :10

CHECK_FUNCTION_EXISTS(secure_getenv HAVE_SECURE_GETENV)

SsageParuders/Android_Native_Surface my_android_opencv/3rdparty/libtiff/CMakeLists.txt :178

check_function_exists(floor HAVE_FLOOR)

lizardfs/lizardfs cmake/CheckFunctions.cmake :4

CHECK_FUNCTION_EXISTS(${FUNC} ${VAR})

PaoPaoRobot/ORB_SLAM2 Thirdparty/g2o/cmake_modules/FindBLAS.cmake :102

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

apache/brpc CMakeLists.txt :132

CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME)

TheAssemblyArmada/Thyme deps/baseconfig/cmake/CheckFunctions.cmake :46

check_function_exists(timer_create HAVE_TIMER_CREATE)

LiangliangNan/MVStudio 3rd_party/cminpack/CMakeLists.txt :67

check_function_exists (sqrt HAVE_SQRT_NO_LIBM)

OSVR/SteamVR-OSVR vendor/eigen-3.2.4/cmake/FindBLAS.cmake :102

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

Amber-MD/cpptraj cmake-cpptraj/Shorthand.cmake :180

check_function_exists(${FUNCTION} ${VAR_NAME})

in-formant/in-formant cmake_support/CheckLowLevelExit.cmake :17

check_function_exists(${function_name} ${var_function})

DIPlib/diplib dependencies/libics/CMakeLists.txt :105

check_function_exists(strtok_r HAVE_STRTOK_R)

mne-tools/mne-cpp src/external/eigen-3.4.0/cmake/FindBLAS.cmake :300

check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS)

GoSSIP-SJTU/TripleDoggy cmake/config-ix.cmake :215

check_function_exists(_alloca HAVE__ALLOCA)

ceph/ceph cmake/modules/CephChecks.cmake :12

check_function_exists(memset_s HAVE_MEMSET_S)

nghttp2/nghttp2 CMakeLists.txt :379

check_function_exists(_Exit     HAVE__EXIT)

raulmur/ORB_SLAM Thirdparty/g2o/cmake_modules/FindBLAS.cmake :102

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

TigerVNC/tigervnc cmake/StaticBuild.cmake :45

check_function_exists(dgettext LIBC_HAS_DGETTEXT)

OSGeo/PROJ cmake/ProjConfig.cmake :24

check_function_exists(localeconv HAVE_LOCALECONV)

MIT-SPARK/TEASER-plusplus cmake/modules/FindMKL.cmake :334

CHECK_FUNCTION_EXISTS(${_name} ${_prefix}${_combined_name}_WORKS)

vengi-voxel/vengi cmake/system/linux.cmake :11

check_function_exists(__atomic_fetch_add_4 HAVE___ATOMIC_FETCH_ADD_4)

brndnmtthws/conky cmake/ConkyPlatformChecks.cmake :33

check_function_exists(strndup HAVE_STRNDUP)

root-project/root interpreter/llvm-project/llvm/cmake/config-ix.cmake :308

check_function_exists(_alloca HAVE__ALLOCA)

adventuregamestudio/ags libsrc/allegro/CMakeLists.txt :47

check_function_exists(getexecname ALLEGRO_HAVE_GETEXECNAME)

mysql/mysql-workbench CMakeLists.txt :139

check_function_exists (strtol HAVE_STRTOL)

google/filament third_party/dawn/third_party/dxc/cmake/config-ix.cmake :188

check_function_exists(_alloca HAVE__ALLOCA)

percona/percona-xtrabackup configure.cmake :61

CHECK_FUNCTION_EXISTS(${func} HAVE_${func}_IN_LIBC)

seladb/PcapPlusPlus cmake/modules/FindPCAP.cmake :79

check_function_exists(pcap_set_immediate_mode HAVE_PCAP_IMMEDIATE_MODE)

NREL/EnergyPlus third_party/eigen/cmake/FindLAPACK.cmake :101

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

resiprocate/resiprocate contrib/srtp/CMakeLists.txt :36

check_function_exists(sigaction HAVE_SIGACTION)

mysql/mysql-server configure.cmake :61

CHECK_FUNCTION_EXISTS(${func} HAVE_${func}_IN_LIBC)

Gargaj/Bonzomatic external/glfw/CMakeLists.txt :261

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

apache/mxnet cmake/upstream/FindBLAS.cmake :266

check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS)

robotology/yarp extern/thrift/thrift/build/cmake/ConfigureChecks.cmake :55

check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)

tpfister/caffe-heatmap cmake/Modules/FindLAPACK.cmake :123

check_function_exists("cheev_" ACML_LAPACK_WORKS)

apache/xerces-c cmake/XercesFunctions.cmake :24

check_function_exists(getcwd HAVE_GETCWD)

Icinga/icinga2 CMakeLists.txt :369

check_function_exists(vfork HAVE_VFORK)

KDE/qca plugins/qca-ossl/CMakeLists.txt :14

check_function_exists(EVP_md2 HAVE_OPENSSL_MD2)

manticoresoftware/manticoresearch CMakeLists.txt :103

check_function_exists ( poll HAVE_POLL )

LLNL/SAMRAI cmake/CMakeConfigureFile.cmake :30

check_function_exists(std::isnan "cmath" HAVE_CMATH_ISNAN)

OSVR/OSVR-Core cmake/Findargp.cmake :51

check_function_exists(argp_parse ARGP_BUILTIN)

christianparpart/x0 CMakeLists.txt :77

CHECK_FUNCTION_EXISTS(accept4 HAVE_ACCEPT4)

infiniflow/infinity third_party/curl/CMakeLists.txt :478

check_function_exists("gethostname" HAVE_GETHOSTNAME)

blchinezu/pocketbook-coolreader tools/FindGettext.cmake :82

check_function_exists(gettext HAVE_GETTEXT)

mysql/mysql-connector-cpp cdk/extra/zlib/CMakeLists.txt :80

check_function_exists(fseeko HAVE_FSEEKO)

fligger/FateInjector wxWidgets-3.2.0/build/cmake/setup.cmake :123

check_function_exists(${func} HAVE_${func_upper})

AshamaneProject/AshamaneCore dep/cpr/opt/curl/CMakeLists.txt :293

check_function_exists(gethostname HAVE_GETHOSTNAME)

FilmKilns/FilmKilns src/sdl2/cmake/sdlchecks.cmake :33

check_function_exists(dlopen HAVE_DLOPEN)

asset-group/5ghoul-5g-nr-attacks libs/glfw/CMakeLists.txt :210

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

alibaba/AliSQL configure.cmake :257

CHECK_FUNCTION_EXISTS(${func} HAVE_${func}_IN_LIBC)

danxuhk/StructuredAttentionDepthEstimation cmake/Modules/FindLAPACK.cmake :112

check_function_exists("cheev_" GOTO_LAPACK_WORKS)

KhronosGroup/SPIRV-LLVM cmake/config-ix.cmake :198

check_function_exists(_alloca HAVE__ALLOCA)

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

CHECK_FUNCTION_EXISTS(strptime    GDCM_HAVE_STRPTIME)

KiCad/kicad-source-mirror thirdparty/sentry-native/external/CMakeLists.txt :141

check_function_exists(getcontext HAVE_GETCONTEXT)

MeteorStudioASU/lcc CMakeLists.txt :67

check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)

KDE/kid3 src/plugins/acoustidimport/CMakeLists.txt :89

check_function_exists(av_audio_convert HAVE_AV_AUDIO_CONVERT)

llvm-dcpu16/llvm-dcpu16 cmake/config-ix.cmake :162

check_function_exists(_alloca HAVE__ALLOCA)

supertuxkart/stk-code lib/enet/CMakeLists.txt :9

check_function_exists("fcntl" HAS_FCNTL)

Farama-Foundation/ViZDoom src/vizdoom/dumb/CMakeLists.txt :17

CHECK_FUNCTION_EXISTS( itoa ITOA_EXISTS )

microsoft/DirectXShaderCompiler cmake/config-ix.cmake :188

check_function_exists(_alloca HAVE__ALLOCA)

qtfreet00/llvm-obfuscator cmake/config-ix.cmake :214

check_function_exists(_alloca HAVE__ALLOCA)

SilenceOverflow/VI_ORB_SLAM2 Thirdparty/g2o/cmake_modules/FindBLAS.cmake :117

check_function_exists(${_name} ${_prefix}_${_name}${_combined_name}_WORKS)

yrnkrn/zapcc cmake/config-ix.cmake :249

check_function_exists(_alloca HAVE__ALLOCA)

BobLChen/PathTracer external/glfw/CMakeLists.txt :249

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

spcl/gemm_hls cmake/FindBLAS.cmake :189

check_function_exists("${_name}_" ${_prefix}${_combined_name}_WORKS)

youkely/InfrasCal cmake/FindBLAS.cmake :114

check_function_exists(${_name}_ ${_prefix}_${_name}_${_combined_name}_f2c_WORKS)

yanmin-wu/EAO-SLAM Thirdparty/g2o/cmake_modules/FindBLAS.cmake :117

check_function_exists(${_name} ${_prefix}_${_name}${_combined_name}_WORKS)

oscarlab/betrfs cmake_modules/TokuFeatureDetection.cmake :70

check_function_exists(malloc_size HAVE_MALLOC_SIZE)

NauEngine/NauEnginePublic engine/3rdparty_libs/uriparser/CMakeLists.txt :127

check_function_exists(reallocarray HAVE_REALLOCARRAY)

keystone-engine/keystone llvm/cmake/config-ix.cmake :191

check_function_exists(_alloca HAVE__ALLOCA)

rbfx/rbfx Source/ThirdParty/libdatachannel/deps/libsrtp/CMakeLists.txt :38

check_function_exists(sigaction HAVE_SIGACTION)

InsightSoftwareConsortium/ITK Modules/ThirdParty/GDCM/src/gdcm/Source/Common/CMakeLists.txt :44

CHECK_FUNCTION_EXISTS(strptime    GDCM_HAVE_STRPTIME)

KratosMultiphysics/Kratos cmake_modules/FindMMG3D.cmake :227

check_function_exists(MMG5_loadMshMesh_part1 MMG3D_WORKS)

bnoordhuis/v8-cmake v8/third_party/zlib/CMakeLists.txt :75

check_function_exists(fseeko HAVE_FSEEKO)

PacktPublishing/The-Modern-Vulkan-Cookbook source/chapter8/app/src/main/cpp/thirdparty/OpenXR-SDK/src/CMakeLists.txt :317

check_function_exists(secure_getenv HAVE_SECURE_GETENV)