cmake HAVE_SNPRINTF examples

Kitware/VTK ThirdParty/netcdf/vtknetcdf/CMakeLists.txt :202

check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)

SwagSoftware/Kisak-Strike thirdparty/gperftools-2.8.1/CMakeLists.txt :219

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

ucla-vision/xivo thirdparty/glog/CMakeLists.txt :144

check_symbol_exists (snprintf cstdio HAVE_SNPRINTF)

FujiNetWIFI/fujinet-firmware components_pc/libssh/ConfigureChecks.cmake :195

check_function_exists(snprintf HAVE_SNPRINTF)

FujiNetWIFI/fujinet-firmware components_pc/libssh/ConfigureChecks.cmake :200

check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)

clibs/cmocka ConfigureChecks.cmake :98

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

clibs/cmocka ConfigureChecks.cmake :101

check_function_exists(sprintf HAVE_SNPRINTF)

HDFGroup/hdf5 config/cmake/LIBAEC/CMakeLists.txt :44

check_symbol_exists (snprintf "stdio.h" HAVE_SNPRINTF)

alibaba/AliSQL configure.cmake :582

CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)

navit-gps/navit CMakeLists.txt :276

CHECK_FUNCTION_EXISTS(snprintf   HAVE_SNPRINTF)

navit-gps/navit CMakeLists.txt :282

endif(NOT HAVE_SNPRINTF)

chatopera/clause thirdparty/glog/CMakeLists.txt :117

check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)

chatopera/clause thirdparty/glog/CMakeLists.txt :487

set_property (SOURCE src/windows/port.cc APPEND PROPERTY COMPILE_DEFINITIONS
    HAVE_SNPRINTF)

chatopera/clause thirdparty/glog/CMakeLists.txt :489

endif (WIN32 AND HAVE_SNPRINTF)

Geocld/PeaSyo third-party/json-c/CMakeLists.txt :168

check_symbol_exists(snprintf    "stdio.h" HAVE_SNPRINTF)

arkdb/arkproxy configure.cmake :395

CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)

joedrago/colorist ext/openjpeg/thirdparty/libtiff/CMakeLists.txt :145

check_c_source_compiles("
#include <stdio.h>
int main(void) {
  char buf[10];
  snprintf(buf, 10, \"Test %d\", 1);
  return 0;
}" HAVE_SNPRINTF)

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

check_function_exists(snprintf HAVE_SNPRINTF)

InsightSoftwareConsortium/ITK Modules/ThirdParty/HDF5/src/itkhdf5/config/cmake/LIBAEC/CMakeLists.txt :44

check_symbol_exists (snprintf "stdio.h" HAVE_SNPRINTF)

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

check_c_source_compiles("
#include <stdio.h>
int main(void) {
  char buf[10];
  snprintf(buf, 10, \"Test %d\", 1);
  return 0;
}"
  HAVE_SNPRINTF)

percona/percona-server extra/curl/curl-8.14.1/CMakeLists.txt :1835

check_function_exists("snprintf" HAVE_SNPRINTF)

percona/percona-server extra/curl/curl-8.14.1/CMakeLists.txt :1837

check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)

logicalclocks/rondb extra/curl/curl-8.11.1/CMakeLists.txt :1629

check_function_exists("snprintf" HAVE_SNPRINTF)

alibaba/AliSQLBackup configure.cmake :497

CHECK_FUNCTION_EXISTS (snprintf HAVE_SNPRINTF)

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

check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)

skylersaleh/SkyEmu src/curl/CMakeLists.txt :1247

check_symbol_exists(snprintf       "stdio.h" HAVE_SNPRINTF)

SmartThingsCommunity/st-device-sdk-c test/framework/cmocka/ConfigureChecks.cmake :95

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

SmartThingsCommunity/st-device-sdk-c test/framework/cmocka/ConfigureChecks.cmake :98

check_function_exists(sprintf HAVE_SNPRINTF)

stack-of-tasks/eigenpy CMakeLists.txt :462

target_compile_definitions(${PROJECT_NAME} PUBLIC "HAVE_SNPRINTF")

polardb/polardbx-engine extra/curl/curl-7.86.0/CMakeLists.txt :1098

check_symbol_exists(snprintf       "${CURL_INCLUDES}" HAVE_SNPRINTF)

freeorion/freeorion CMakeLists.txt :243

set_property(DIRECTORY APPEND
        PROPERTY COMPILE_DEFINITIONS
        HAVE_SNPRINTF
    )

feelpp/feelpp feelpp/contrib/glog/CMakeLists.txt :119

check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)

feelpp/feelpp feelpp/contrib/glog/CMakeLists.txt :397

set_property (SOURCE src/windows/port.cc APPEND PROPERTY COMPILE_DEFINITIONS
    HAVE_SNPRINTF)

feelpp/feelpp feelpp/contrib/glog/CMakeLists.txt :399

endif (WIN32 AND HAVE_SNPRINTF)

tanis2000/binocle-c src/deps/curl/CMakeLists.txt :289

add_definitions(-DHAVE_SNPRINTF)

asset-group/5ghoul-5g-nr-attacks libs/libpcap/CMakeLists.txt :454

check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)

percona/percona-xtrabackup extra/curl/curl-8.9.1/CMakeLists.txt :1372

check_symbol_exists(snprintf       "stdio.h" HAVE_SNPRINTF)

GreatSQL/GreatSQL extra/curl/curl-7.86.0/CMakeLists.txt :1098

check_symbol_exists(snprintf       "${CURL_INCLUDES}" HAVE_SNPRINTF)

JulNadeauCA/libagar CMakeChecks.cmake :2811

check_c_source_compiles("
#include <stdio.h>

int main(int argc, char *argv[])
{
	char buf[16];
	(void)snprintf(buf, sizeof(buf), \"foo\");
	return (0);
}
" HAVE_SNPRINTF)

Froser/gamemachine src/3rdparty/libtiff/CMakeLists.txt :389

check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :589

CHECK_SYMBOL_EXISTS(snprintf stdio.h HAVE_SNPRINTF)

nih-at/libzip CMakeLists.txt :134

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

spotify/pedalboard CMakeLists.txt :384

target_compile_options(pedalboard_native PRIVATE
        $<$<COMPILE_LANGUAGE:C>:
        -DHAVE_UINTPTR_T
        -DPACKAGE="FFTW"
        -DVERSION="0"
        -DPACKAGE_VERSION="00000"
        -DFFTW_CC="clang"
        "-includestring.h"
        "-includestdint.h"
        "-include${CMAKE_CURRENT_SOURCE_DIR}/vendors/fftw3/dft/codelet-dft.h"
        "-include${CMAKE_CURRENT_SOURCE_DIR}/vendors/fftw3/rdft/codelet-rdft.h"
        "-includesys/time.h"
        -DHAVE_INTTYPES_H
        -DHAVE_STDINT_H
        -DHAVE_STDLIB_H
        -DHAVE_STRING_H
        -DHAVE_TIME_H
        -DHAVE_SYS_TIME_H=1
        -DHAVE_UNISTD_H
        -DHAVE_DECL_DRAND48
        -DHAVE_DECL_SRAND48
        -DHAVE_DECL_COSL
        -DHAVE_DECL_SINL
        -DHAVE_DECL_POSIX_MEMALIGN
        -DHAVE_DRAND48
        -DHAVE_SRAND48
        -DHAVE_POSIX_MEMALIGN
        -DHAVE_ISNAN
        -DHAVE_SNPRINTF
        -DHAVE_STRCHR
        -DHAVE_SYSCTL
        -DHAVE_GETTIMEOFDAY>
    )

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

check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)

flyinghead/flycast core/deps/libzip/CMakeLists.txt :122

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

ggarra13/mrv2 tlRender/etc/SuperBuild/patches/Libssh2-patch/CMakeLists.txt :228

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

gazebosim/gazebo-classic deps/opende/CMakeLists.txt :104

CHECK_CXX_SOURCE_COMPILES("#include <stdio.h> 
int main() {snprintf(0,0,0); return 1;}" HAVE_SNPRINTF)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/curl/CMakeLists.txt :1258

check_symbol_exists(snprintf       "stdio.h" HAVE_SNPRINTF)

apache/nuttx-apps crypto/tinydtls/CMakeLists.txt :47

target_compile_definitions(
    tinydtls
    PRIVATE HAVE_ARPA_INET_H
            HAVE_ASSERT_H
            HAVE_FCNTL_H
            HAVE_GETRANDOM
            HAVE_INTTYPES_H
            HAVE_MEMSET
            HAVE_NETDB_H
            HAVE_NETINET_IN_H
            HAVE_RANDOM
            HAVE_SELECT
            HAVE_SOCKET
            HAVE_STDDEF_H
            HAVE_STDINT_H
            HAVE_STDLIB_H
            HAVE_STRDUP
            HAVE_STRERROR
            HAVE_STRINGS_H
            HAVE_STRING_H
            HAVE_STRNLEN
            HAVE_SYS_SOCKET_H
            HAVE_SYS_STAT_H
            HAVE_SYS_TIME_H
            HAVE_SYS_TYPES_H
            HAVE_TIME_H
            HAVE_UNISTD_H
            HAVE_VPRINTF
            HAVE_SNPRINTF)

libcheck/check CMakeLists.txt :211

add_definitions(-DHAVE_SNPRINTF=1)

libcheck/check lib/CMakeLists.txt :56

endif(NOT HAVE_SNPRINTF)

libcheck/check src/CMakeLists.txt :109

endif(NOT HAVE_SNPRINTF)

joachimBurket/esp32-opencv 3rdparty/libtiff/CMakeLists.txt :202

check_c_source_compiles("
#include <stdio.h>
int main(void) {
  char buf[10];
  snprintf(buf, 10, \"Test %d\", 1);
  return 0;
}"
  HAVE_SNPRINTF)

Cisco-Talos/clamav CMakeLists.txt :801

check_symbol_exists(snprintf        "stdio.h"       HAVE_SNPRINTF)

SCIInstitute/SCIRun src/Externals/libxml2/CMakeLists.txt :161

CHECK_FUNCTION_EXISTS("snprintf" HAVE_SNPRINTF)

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

check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)

Studio3T/robomongo src/robomongo/ssh/CMakeLists.txt :17

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

Studio3T/robomongo src/third-party/libssh2-1.7.0/CMakeLists.txt :175

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

Studio3T/robomongo src/third-party/libssh2-1.7.0/sources/example/CMakeLists.txt :92

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

Studio3T/robomongo src/third-party/libssh2-1.7.0/sources/src/CMakeLists.txt :294

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

Studio3T/robomongo src/third-party/libssh2-1.9.0/CMakeLists.txt :178

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

Studio3T/robomongo src/third-party/libssh2-1.9.0/sources/example/CMakeLists.txt :92

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

Studio3T/robomongo src/third-party/libssh2-1.9.0/sources/src/CMakeLists.txt :317

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

percona/percona-xtradb-cluster extra/curl/curl-8.12.1/CMakeLists.txt :1772

check_function_exists("snprintf" HAVE_SNPRINTF)

percona/percona-xtradb-cluster extra/curl/curl-8.12.1/CMakeLists.txt :1774

check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)

EvEmu-Project/evemu_Crucible CMakeLists.txt :158

CHECK_CXX_SYMBOL_EXISTS(  snprintf "cstdio" HAVE_SNPRINTF )

facebook/mysql-5.6 extra/curl/curl-7.86.0/CMakeLists.txt :1098

check_symbol_exists(snprintf       "${CURL_INCLUDES}" HAVE_SNPRINTF)

ByConity/ByConity contrib/jsonc-cmake/CMakeLists.txt :178

check_symbol_exists(snprintf    "stdio.h" HAVE_SNPRINTF)

mantidproject/mantid Framework/PythonInterface/test/cpp/CMakeLists.txt :25

set_target_properties(${_pythoninterface_test_target_name} PROPERTIES COMPILE_FLAGS "/DHAVE_SNPRINTF")

tbeu/matio cmake/compilerOptions.cmake :4

check_symbol_exists(snprintf   stdio.h  HAVE_SNPRINTF)

mysql/mysql-server extra/curl/curl-8.14.1/CMakeLists.txt :1835

check_function_exists("snprintf" HAVE_SNPRINTF)

mysql/mysql-server extra/curl/curl-8.14.1/CMakeLists.txt :1837

check_symbol_exists("snprintf" "stdio.h" HAVE_SNPRINTF)

CTSRD-CHERI/cheribsd contrib/libpcap/CMakeLists.txt :745

check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)

CTSRD-CHERI/cheribsd contrib/tcpdump/CMakeLists.txt :502

check_symbol_exists(snprintf "stdio.h" HAVE_SNPRINTF)

gccxml/gccxml GCC/config_cmake/CMakeLists.txt :228

CHECK_FUNCTION_EXISTS(snprintf HAVE_SNPRINTF)