cmake check_function_exists examples

Signatures

check_function_exists(<function> <variable>)

Examples

timi-liuliang/echo thirdparty/eigen-3.3.3/cmake/FindLAPACK.cmake :101

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})

mgerhardy/caveexpress cmake/toolchains/linux-toolchain.cmake :27

check_function_exists(__atomic_fetch_add_4 HAVE___ATOMIC_FETCH_ADD_4)

OGRECave/ogre CMake/ConfigureBuild.cmake :127

CHECK_FUNCTION_EXISTS(strtol_l HAVE_STRTOL_L)

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

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

AMDmi3/glosm libglosm-client/CMakeLists.txt :9

CHECK_FUNCTION_EXISTS(sincos HAVE_SINCOS)

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)

PDAL/PDAL cmake/modules/FindICONV.cmake :75

check_function_exists(iconv HAVE_ICONV_IN_LIBC)

meganz/MEGAcmd build/cmake/modules/megacmd_configuration.cmake :27

check_function_exists(aio_write, HAVE_AIO_RT)

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

check_function_exists(utimes HAVE_UTIMES)

ZDoom/gzdoom CMakeLists.txt :202

CHECK_FUNCTION_EXISTS( stricmp STRICMP_EXISTS )

etternagame/etterna extern/curl/CMakeLists.txt :341

check_function_exists(gethostname HAVE_GETHOSTNAME)

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

check_function_exists(${_name} ${_prefix}_${_name}${_combined_name}_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 :117

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

hust-diangroup/ns3-ai CMakeLists.txt :84

check_function_exists(protobuf_generate protobuf_generate_exists)

Enri2077/realtime-manifold-mesh-reconstructor cmake/modules/FindLAPACK.cmake :125

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

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

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

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

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

SCOREC/core phasta/CMakeLists.txt :88

CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME)

rheit/zdoom src/CMakeLists.txt :399

CHECK_FUNCTION_EXISTS(mprotect HAVE_MPROTECT)

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

check_function_exists(backtrace HAVE_BACKTRACE)

ashvardanian/ParallelReductionsBenchmark CMakeLists.txt :113

check_function_exists(openblas_set_num_threads LESS_SLOW_HAS_OPENBLAS_SET_NUM_THREADS)

facebook/folly CMake/FollyConfigChecks.cmake :100

check_function_exists(malloc_usable_size FOLLY_HAVE_MALLOC_USABLE_SIZE)

ezEngine/ezEngine Code/ThirdParty/glfw/CMakeLists.txt :274

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

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

check_function_exists(shm_open HAVE_SHM_OPEN)

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

check_function_exists(floor HAVE_FLOOR)

psi4/psi4 psi4/src/psi4/libqt/CMakeLists.txt :31

check_function_exists(daxpby _has_daxpby)

lizardfs/lizardfs cmake/EnvTests.cmake :61

CHECK_FUNCTION_EXISTS(fork     LIZARDFS_HAVE_WORKING_FORK)

google/open-vcdiff CMakeLists.txt :51

check_function_exists (gettimeofday HAVE_GETTIMEOFDAY)

AcademySoftwareFoundation/MaterialX source/MaterialXGraphEditor/External/Glfw/CMakeLists.txt :252

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

w111liang222/lidar-slam-detection slam/thirdparty/fast_gicp/thirdparty/Eigen/cmake/FindLAPACK.cmake :101

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

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)

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)

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)

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)

mfontanini/libtins cmake/Modules/FindPCAP.cmake :76

check_function_exists(pcap_get_pfring_id HAVE_PF_RING)

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)

openturns/openturns CMakeLists.txt :434

check_function_exists (dladdr OPENTURNS_HAVE_DLADDR)

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

check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)

apache/thrift build/cmake/ConfigureChecks.cmake :70

check_function_exists(gethostbyname HAVE_GETHOSTBYNAME)

datastax/cpp-driver src/third_party/sparsehash/CMakeLists.txt :102

check_function_exists(memcpy HAVE_MEMCPY)

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 )

scylladb/seastar cmake/Finducontext.cmake :25

check_function_exists (getcontext
  ucontext_NO_EXPLICIT_LINK)

pytorch/FBGEMM cmake/modules/FindMKL.cmake :155

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

LLNL/SAMRAI cmake/CMakeConfigureFile.cmake :30

check_function_exists(std::isnan "cmath" HAVE_CMATH_ISNAN)

sourcey/libsourcey vendor/rtaudio/CMakeLists.txt :21

check_function_exists(gettimeofday HAVE_GETTIMEOFDAY)

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

check_function_exists(argp_parse ARGP_BUILTIN)

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

check_function_exists("gethostname" HAVE_GETHOSTNAME)

KDE/k3b cmake/modules/ConfigureChecks.cmake :8

check_function_exists(stat64 HAVE_STAT64)

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)

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

check_function_exists(gethostname HAVE_GETHOSTNAME)

vseasky/VersaAssistant assimp/contrib/zlib/CMakeLists.txt :64

check_function_exists(fseeko HAVE_FSEEKO)

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)

rAthenaCN/rAthenaCN CMakeLists.txt :273

CHECK_FUNCTION_EXISTS( setrlimit HAVE_SETRLIMIT )

alibaba/AliSQL configure.cmake :257

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

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)

audacity/audacity au3/lib-src/libsoxr/CMakeLists.txt :145

check_function_exists (lrint HAVE_LRINT)

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/src/CMakeLists.txt :317

CHECK_FUNCTION_EXISTS( filelength FILELENGTH_EXISTS )

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

check_function_exists(_alloca HAVE__ALLOCA)

PhysikaTeam/PhysIKA-old Extern/freeglut-3.2.1/CMakeLists.txt :348

CHECK_FUNCTION_EXISTS(gettimeofday HAVE_GETTIMEOFDAY)

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

check_function_exists(_alloca HAVE__ALLOCA)

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

check_function_exists(_alloca HAVE__ALLOCA)

spcl/gemm_hls cmake/FindBLAS.cmake :189

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

ffevotte/clang-tags CMakeLists.txt :40

check_function_exists (clang_getExpansionLocation
  HAVE_CLANG_GETEXPANSIONLOCATION)

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)

mandarine3ds/mandarine externals/faad2/CMakeLists.txt :35

check_function_exists(getpwuid HAVE_GETPWUID)

Dreamtowards/Ethertia lib/glfw-3.3.8/CMakeLists.txt :269

check_function_exists(memfd_create HAVE_MEMFD_CREATE)

NauEngine/NauEditorPublic editor/external/libcurlconfig/CMakeLists.txt :341

check_function_exists(gethostname HAVE_GETHOSTNAME)

kevinlin311tw/caffe-cvprw15 CMakeScripts/FindLAPACK.cmake :73

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

uoip/g2opy cmake_modules/FindBLAS.cmake :117

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

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)