Lines Matching +full:- +full:wdeclaration +full:- +full:after +full:- +full:statement
8 # Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
33 # - lists of headers that 'configure' checks for;
34 # - curl-specific tests (the ones that are in m4/curl-*.m4 files);
35 # - (most obvious thing:) curl version numbers.
39 # (From Daniel Stenberg) The cmake build selected to run gcc with -fPIC on my box while the plain c…
40 …he gcc command line use neither -g nor any -O options. As a developer, I also treasure our configu…
56 string(REGEX MATCH "#define LIBCURL_VERSION_NUM 0x[0-9a-fA-F]+"
62 # Setup package meta-data
67 # SET(PACKAGE_VERSION "-")
68 # SET(PACKAGE_STRING "curl-")
79 option(ENABLE_ARES "Set to ON to enable c-ares support" OFF)
94 …-pedantic -Wall -W -Wpointer-arith -Wwrite-strings -Wunused -Wshadow -Winline -Wnested-externs -Wm…
119 # For debug libs and exes, add "-d" postfix
121 set(CMAKE_DEBUG_POSTFIX "-d")
210 cmake_dependent_option(ENABLE_MANUAL "to provide the built-in manual"
222 # We need ansi c-flags, especially on HP
233 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -w-")
253 set(CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} -D_WINSOCKAPI_=")
329 set(CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} -DSECURITY_WIN32")
472 set(CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} -DLDAP_DEPRECATED=1")
482 set(CURL_TEST_DEFINES "${CURL_TEST_DEFINES} -DNEED_LBER_H")
563 set(CURL_TEST_DEFINES "${CURL_TEST_DEFINES} -DHAVE_LIBSSH2_H")
611 set(_LINKER_FLAGS_STR "${_LINKER_FLAGS_STR} -L\"${_dir}\"")
647 … "Path to the CA bundle. Set 'none' to disable or 'auto' for auto-detection. Defaults to 'auto'.")
649 "Set ON to use built-in CA store of TLS backend. Defaults to OFF")
651 …"Location of default CA path. Set 'none' to disable or 'auto' for auto-detection. Defaults to 'aut…
684 /etc/ssl/certs/ca-certificates.crt
685 /etc/pki/tls/certs/ca-bundle.crt
686 /usr/share/ssl/certs/ca-bundle.crt
687 /usr/local/share/certs/ca-root-nss.crt
811 # off_t is sized later, after the HAVE_FILE_OFFSET_BITS test
901 add_definitions(-D_WIN32_WINNT=0x0600)
904 add_definitions(-D_WIN32_WINNT=0x0501)
978 set(CMAKE_REQUIRED_FLAGS "-D_FILE_OFFSET_BITS=64")
1074 check_c_compiler_flag(-Wno-long-double HAVE_C_FLAG_Wno_long_double)
1079 set(MPRINTF_COMPILE_FLAGS "${MPRINTF_COMPILE_FLAGS} -Wno-long-double")
1081 set(MPRINTF_COMPILE_FLAGS "-Wno-long-double")
1101 add_definitions(-DHAVE_CONFIG_H)
1108 set(CMAKE_RC_FLAGS "${CMAKE_RC_FLAGS} -DCURL_EMBED_MANIFEST")
1115 add_definitions(-D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE)
1116 if(CMAKE_C_FLAGS MATCHES "/W[0-4]")
1117 string(REGEX REPLACE "/W[0-4]" "/W4" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
1128 set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror")
1139 …string(REGEX REPLACE "([a-zA-Z_][a-zA-Z0-9_]*)[\t ]*=[\t ]*([^\n]*)" "SET(\\1 \\2)" MAKEFILE_INC_T…
1142 …string(REGEX REPLACE "\\$\\(([a-zA-Z_][a-zA-Z0-9_]*)\\)" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_IN…
1143 …string(REGEX REPLACE "@([a-zA-Z_][a-zA-Z0-9_]*)@" "\${\\1}" MAKEFILE_INC_TEXT ${MAKEFILE_INC_TEXT}…
1187 _add_if("unix-sockets" USE_UNIX_SOCKETS)
1195 _add_if("GSS-API" HAVE_GSSAPI)
1205 # TODO missing option (autoconf: --enable-ntlm-wb)
1208 # TODO missing option (--enable-tls-srp), depends on GNUTLS_SRP/OPENSSL_SRP
1209 _add_if("TLS-SRP" USE_TLS_SRP)
1210 # TODO option --with-nghttp2 tests for nghttp2 lib and nghttp2/nghttp2.h header
1225 # TODO check HAVE_LDAP_SSL (in autoconf this is enabled with --enable-ldaps)
1246 # curl-config needs the following options to be set.
1248 # TODO probably put a -D... options here?
1250 # TODO when to set "-DCURL_STATICLIB" for CPPFLAG_CURL_STATICLIB?
1266 if(_lib MATCHES ".*/.*" OR _lib MATCHES "^-")
1269 set(LIBCURL_LIBS "${LIBCURL_LIBS} -l${_lib}")
1275 # Set this to "yes" to append all libraries on which -lcurl is dependent
1281 # Finally generate a "curl-config" matching this config
1285 configure_file("${CURL_SOURCE_DIR}/curl-config.in"
1286 "${CURL_BINARY_DIR}/curl-config" @ONLY)
1287 install(FILES "${CURL_BINARY_DIR}/curl-config"
1294 # Finally generate a pkg-config file matching this config
1315 configure_package_config_file(CMake/curl-config.cmake.in
1347 COMMAND ${CMAKE_COMMAND} -P