cmake HAVE_SNPRINTF examples

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

check_symbol_exists(snprintf       "${CURL_INCLUDES}" HAVE_SNPRINTF)

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

add_definitions(-DHAVE_SNPRINTF)

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

check_symbol_exists (snprintf cstdio 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)

facebook/mysql-5.6 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
    )

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

check_symbol_exists (snprintf "stdio.h" 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)

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

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

etternagame/etterna extern/fftw-3.3.8/CMakeLists.txt :84

check_symbol_exists (snprintf stdio.h HAVE_SNPRINTF)

etternagame/etterna src/Etterna/CMakeListsLegacy.cmake :25

check_cxx_symbol_exists(snprintf cstdio HAVE_SNPRINTF)

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

check_symbol_exists (snprintf "stdio.h" HAVE_SNPRINTF)

nsimplex/ktools CMakeLists.txt :156

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

Unidata/netcdf-c CMakeLists.txt :1215

CHECK_SYMBOL_EXISTS(snprintf "stdio.h" 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)

MBU-Team/OpenMBU engine/lib/curl/CMakeLists.txt :1195

check_symbol_exists(snprintf       "stdio.h" HAVE_SNPRINTF)

arkdb/inception configure.cmake :475

CHECK_FUNCTION_EXISTS (snprintf 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)

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

check_function_exists("snprintf" HAVE_SNPRINTF)

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

check_symbol_exists(snprintf       "stdio.h" HAVE_SNPRINTF)

NauEngine/NauEditorPublic editor/external/libzipconfig/CMakeLists.txt :121

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)

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

check_symbol_exists(snprintf       "${CURL_INCLUDES}" 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)

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

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

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

check_symbol_exists(snprintf       "stdio.h" HAVE_SNPRINTF)

navit-gps/navit CMakeLists.txt :276

CHECK_FUNCTION_EXISTS(snprintf   HAVE_SNPRINTF)

navit-gps/navit CMakeLists.txt :282

endif(NOT HAVE_SNPRINTF)

nih-at/libzip CMakeLists.txt :134

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

alibaba/AliSQL configure.cmake :582

CHECK_FUNCTION_EXISTS (snprintf 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)

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

check_symbol_exists(snprintf stdio.h HAVE_SNPRINTF)

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

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)

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

CHECK_FUNCTION_EXISTS("snprintf" HAVE_SNPRINTF)

gadgetron/gadgetron CMakeLists.txt :204

add_definitions( -DHAVE_SNPRINTF)

Cisco-Talos/clamav CMakeLists.txt :801

check_symbol_exists(snprintf        "stdio.h"       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)

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

check_symbol_exists(snprintf       "stdio.h" 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)

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)

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

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

Tokutek/mysql-5.5 configure.cmake :415

CHECK_FUNCTION_EXISTS (snprintf 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)

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

check_symbol_exists(snprintf "stdio.h" 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)

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

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)

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)

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

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)

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)