cmake check_include_file examples

Signatures

check_include_file(<include> <variable> [<flags>])

Examples

timi-liuliang/echo thirdparty/vulkan/vulkan-loader/loader/CMakeLists.txt :184

check_include_file("cet.h" HAVE_CET_H)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/libcurl/CMake/FindGSS.cmake :159

check_include_file( "roken.h" _GSS_HAVE_ROKEN_H)

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

check_include_file (${HEADER} ${HAVE_HEADER})

urho3d/urho3d Source/CMakeLists.txt :11

check_include_file (${HEADER} ${HAVE_HEADER})

FreeCAD/FreeCAD cMake/ConfigureChecks.cmake :12

check_include_file(GL/gl.h HAVE_GL_GL_H)

godlikepanos/anki-3d-engine ThirdParty/Sdl2/CMakeLists.txt :744

check_include_file("immintrin.h" HAVE_IMMINTRIN_H)

bambulab/BambuStudio deps/EXPAT/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

SoftFever/OrcaSlicer deps/EXPAT/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

kcat/openal-soft CMakeLists.txt :465

check_include_file(xmmintrin.h HAVE_XMMINTRIN_H)

cadaver/turso3d ThirdParty/SDL/CMakeLists.txt :844

check_include_file("lsxintrin.h" HAVE_LSXINTRIN_H)

Hork-Engine/Hork-Source ThirdParty/SDL3/CMakeLists.txt :828

check_include_file("lsxintrin.h" HAVE_LSXINTRIN_H)

RavEngine/RavEngine deps/freetype/CMakeLists.txt :303

check_include_file("unistd.h" HAVE_UNISTD_H)

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

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

AlizaMedicalImaging/AlizaMS CMakeLists.txt :329

check_include_file("rpc.h" MDCM_HAVE_RPC_H)

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

check_include_file(argp.h HAVE_ARGP_H)

ElyPrismLauncher/ElyPrismLauncher CMakeLists.txt :511

check_include_file(unistd.h NEED_GENERATED_ZCONF)

NREL/OpenStudio CMakeLists.txt :333

check_include_file("unistd.h" HAVE_UNISTD_H)

liminchen/OptCuts ext/libigl/external/glfw/CMakeLists.txt :83

check_include_file(dinput.h DINPUT_H_FOUND)

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

check_include_file(dinput.h DINPUT_H_FOUND)

amule-project/amule cmake/bfd.cmake :5

check_include_file (bfd.h HAVE_BFD)

rheit/zdoom zlib/CMakeLists.txt :22

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

PrismLauncher/PrismLauncher CMakeLists.txt :482

check_include_file(unistd.h NEED_GENERATED_ZCONF)

gnss-sdr/gnss-sdr src/algorithms/libs/volk_gnsssdr_module/volk_gnsssdr/cpu_features/CMakeLists.txt :152

check_include_file(dlfcn.h HAVE_DLFCN_H)

ByConity/ByConity base/glibc-compatibility/CMakeLists.txt :10

check_include_file("sys/random.h" HAVE_SYS_RANDOM_H)

SsageParuders/Android_Native_Surface my_android_opencv/CMakeLists.txt :738

CHECK_INCLUDE_FILE(pthread.h HAVE_PTHREAD)

stp/stp lib/Parser/CMakeLists.txt :26

check_include_file("unistd.h" HAVE_UNISTD_H)

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

check_include_file(strings.h HAVE_STRINGS_H)

LiangliangNan/MVStudio 3rd_party/jpeg/CMakeLists.txt :15

check_include_file ( stddef.h HAVE_STDDEF_H )

OpenMW/openmw CMakeLists.txt :430

check_include_file(stdint.h HAVE_STDINT_H)

in-formant/in-formant external/freetype/CMakeLists.txt :241

check_include_file("unistd.h" HAVE_UNISTD_H)

DIPlib/diplib dependencies/libtiff/CMakeLists.txt :150

check_include_file(assert.h    HAVE_ASSERT_H)

trailofbits/polytracker polytracker/src/compiler-rt/cmake/base-config-ix.cmake :9

check_include_file(unwind.h HAVE_UNWIND_H)

ddiakopoulos/polymer third_party/glfw/CMakeLists.txt :77

check_include_file(dinput.h DINPUT_H_FOUND)

awawa-dev/HyperHDR CMakeLists.txt :325

check_include_file("linux/fb.h" HAVE_FB)

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

check_include_file(dlfcn.h HAVE_DLFCN_H)

WerWolv/ImHex cmake/modules/FindLZ4.cmake :29

check_include_file( lz4frame.h HAVE_LZ4FRAME_H )

nghttp2/nghttp2 CMakeLists.txt :335

check_include_file("arpa/inet.h"    HAVE_ARPA_INET_H)

apache/trafficserver CMakeLists.txt :230

check_include_file(ifaddrs.h HAVE_IFADDRS_H)

vengi-voxel/vengi contrib/libs/sdl2/CMakeLists.txt :901

check_include_file("immintrin.h" HAVE_IMMINTRIN_H)

root-project/root interpreter/llvm-project/clang/CMakeLists.txt :168

check_include_file(sys/resource.h CLANG_HAVE_RLIMITS)

projectM-visualizer/projectm cmake/TestAPIHeadersProject.cmake :14

check_include_file(${INCLUDE_HEADER} PROJECTM_${INCLUDE_FILENAME}_INCLUDE_OK)

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

check_include_file(dirent.h HAVE_DIRENT_H)

percona/percona-xtrabackup configure.cmake :626

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

NREL/EnergyPlus third_party/Expat/ConfigureChecks.cmake :5

check_include_file("dlfcn.h" HAVE_DLFCN_H)

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

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

csmith-project/creduce CMakeLists.txt :91

check_include_file("dlfcn.h"		HAVE_DLFCN_H)

mysql/mysql-server configure.cmake :625

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

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

check_include_file(dinput.h DINPUT_H_FOUND)

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

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

manticoresoftware/manticoresearch CMakeLists.txt :171

check_include_file ( "syslog.h" HAVE_SYSLOG_H )

OSVR/OSVR-Core src/osvr/Common/CMakeLists.txt :6

check_include_file(intrin.h OSVR_HAVE_INTRIN_H)

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

check_include_file("ldap_ssl.h" HAVE_LDAP_SSL_H)

blchinezu/pocketbook-coolreader thirdparty/freetype/CMakeLists.txt :195

check_include_file("unistd.h" HAVE_UNISTD_H)

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

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

fligger/FateInjector wxWidgets-3.2.0/3rdparty/pcre/CMakeLists.txt :133

CHECK_INCLUDE_FILE(dirent.h     HAVE_DIRENT_H)

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

check_include_file("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)

astroidmail/astroid CMakeLists.txt :227

check_include_file (sass/context.h SASSCTX_CONTEXT_H)

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

CHECK_INCLUDE_FILE(alsa/asoundlib.h HAVE_ASOUNDLIB_H)

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

check_include_file(dinput.h DINPUT_H_FOUND)

alibaba/AliSQL configure.cmake :1177

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

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

check_include_file(dirent.h HAVE_DIRENT_H)

malaterre/GDCM CMakeLists.txt :601

CHECK_INCLUDE_FILE("pthread.h"      GDCM_HAVE_PTHREAD_H)

KiCad/kicad-source-mirror cmake/PerformFeatureChecks.cmake :51

check_include_file( "malloc.h" HAVE_MALLOC_H )

spotify/pedalboard vendors/fftw3/CMakeLists.txt :35

check_include_file (alloca.h         HAVE_ALLOCA_H)

KDE/kid3 CMakeLists.txt :490

check_include_file("mntent.h" HAVE_MNTENT_H)

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

check_include_file(argz.h HAVE_ARGZ_H)

aklomp/base64 CMakeLists.txt :33

check_include_file(getopt.h HAVE_GETOPT_H)

Farama-Foundation/ViZDoom src/vizdoom/zlib/CMakeLists.txt :22

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

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

check_include_file(dirent.h HAVE_DIRENT_H)

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

check_include_file(dirent.h HAVE_DIRENT_H)

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

check_include_file(dirent.h HAVE_DIRENT_H)

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

check_include_file(dinput.h DINPUT_H_FOUND)

flarialmc/dll lib/lua/lua-5.4.7/CMakeLists.txt :117

CHECK_INCLUDE_FILE("readline/readline.h" HAVE_READLINE_READLINE_H)

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

check_include_file(dirent.h HAVE_DIRENT_H)

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

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

InsightSoftwareConsortium/ITK Modules/ThirdParty/Expat/src/expat/ConfigureChecks.cmake :9

check_include_file("dlfcn.h" HAVE_DLFCN_H)

TheAssemblyArmada/Vanilla-Conquer tools/miniposix/CMakeLists.txt :4

check_include_file(strings.h HAVE_STRINGS_H)

ComputationalBiomechanicsLab/opensim-creator third_party/OpenBLAS/cmake/system_check.cmake :143

CHECK_INCLUDE_FILE("stdatomic.h" HAVE_C11)

KratosMultiphysics/Kratos external_libraries/vexcl/CMakeLists.txt :201

check_include_file("CL/cl_platform.h" HAVE_OpenCL_PLATFORM_H)

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

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

WohlSoft/Moondust-Project _Libs/_sources/CMakeLists.txt :14

check_include_file(stddef.h HAVE_STDDEF_H)

logicalclocks/rondb configure.cmake :627

CHECK_INCLUDE_FILE(netinet/in6.h HAVE_NETINET_IN6_H)

transmission/transmission CMakeLists.txt :601

check_include_file(sys/inotify.h HAVE_SYS_INOTIFY_H)

crossuo/crossuo deps/cmcurl/CMakeLists.txt :464

check_include_file("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)

Jackarain/proxy third_party/boost/libs/beast/test/extern/zlib-1.2.12/CMakeLists.txt :23

check_include_file(sys/types.h HAVE_SYS_TYPES_H)

pingcap/tiflash contrib/curl-cmake/CMakeLists.txt :471

check_include_file("openssl/crypto.h" HAVE_OPENSSL_CRYPTO_H)

flomesh-io/pipy deps/leveldb-1.23/CMakeLists.txt :38

check_include_file("unistd.h" HAVE_UNISTD_H)

shogun-toolbox/shogun src/shogun/CMakeLists.txt :215

CHECK_INCLUDE_FILE(xmmintrin.h HAVE_BUILTIN_VECTOR)

ornladios/ADIOS2 source/adios2/toolkit/sst/CMakeLists.txt :25

CHECK_INCLUDE_FILE(rdma/fi_ext_gni.h ADIOS2_SST_HAVE_FI_GNI)

SCIInstitute/SCIRun src/CMakeLists.txt :605

CHECK_INCLUDE_FILE(limits.h HAVE_LIMITS)

SmartKeyerror/reading-source-code-of-leveldb-1.23 CMakeLists.txt :38

check_include_file("unistd.h" HAVE_UNISTD_H)

commontk/CTK Libs/Core/CMake/ctkMacroBFDCheck.cmake :28

CHECK_INCLUDE_file(bfd.h HAVE_BFD_HEADER)

securesystemslab/multicompiler cmake/config-ix.cmake :45

check_include_file(dirent.h HAVE_DIRENT_H)

vxl/vxl config/cmake/Modules/CheckPrototypeExistsCXX.cmake :29

CHECK_INCLUDE_FILE( ${FILE} ${CHECK_PROTOTYPE_EXISTS_CXX_INCLUDE} )

luigifreda/slamplay thirdparty/ros/roscpp_core/cpp_common/CMakeLists.txt :19

CHECK_INCLUDE_FILE(execinfo.h HAVE_EXECINFO_H)

john30/ebusd CMakeLists.txt :58

check_include_file(arpa/inet.h HAVE_ARPA_INET_H)

openmultiplayer/open.mp lib/CMakeLists.txt :30

check_include_file("unistd.h" HAVE_UNISTD_H)

polarphp/polarphp cmake/modules/llvm/FindLibpfm.cmake :14

check_include_file(perfmon/perf_event.h HAVE_PERFMON_PERF_EVENT_H)

eProsima/Fast-DDS cmake/modules/FindThreads.cmake :116

CHECK_INCLUDE_FILE("pthread.h" CMAKE_HAVE_PTHREAD_H)

realm/realm-core src/external/bson/CMakeLists.txt :37

check_include_file (strings.h BSON_HAVE_STRINGS_H)