summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* * Add missing test/memcachedmock.cRuediger Pluem2023-05-031-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1909586 13f79535-47bb-0310-9956-ffa450edef68
* By default use XmlLite on Windows.Ivan Zhakov2022-11-241-13/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905502 13f79535-47bb-0310-9956-ffa450edef68
* * CMakeLists.txt: Make CMAKE_MINIMUM_REQUIRED the first directive asIvan Zhakov2022-11-231-2/+4
| | | | | | | | required by CMake documentation [1] [1] https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905493 13f79535-47bb-0310-9956-ffa450edef68
* CMakeLists.txt: Enable support for MSVC runtime library selection byIvan Zhakov2022-11-201-0/+6
| | | | | | | abstraction if supported by CMake. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1905416 13f79535-47bb-0310-9956-ffa450edef68
* * CMakeLists.txt: Add APR_BUILD_SHARED and APR_BUILD_STATIC options to controlIvan Zhakov2022-09-071-19/+39
| | | | | | | which configurations to build. Both are enabled by default. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1903912 13f79535-47bb-0310-9956-ffa450edef68
* * CMakeLists.txt: Define _CRT_NONSTDC_NO_WARNINGS instead of ignoringIvan Zhakov2022-07-101-2/+1
| | | | | | all deprecations warnings (C4996). git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902629 13f79535-47bb-0310-9956-ffa450edef68
* win32: Move warning settings to CMakeLists.txt compile options instead ofIvan Zhakov2022-07-101-0/+7
| | | | | | | changing them in include/apr.h: otherwise any application the uses APR gets warning settings from APR. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902628 13f79535-47bb-0310-9956-ffa450edef68
* * CMakeLists.txt: Add simple support CMAKE_WARNING_AS_ERROR if CMake doesn'tIvan Zhakov2022-07-071-0/+8
| | | | | | support it. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902517 13f79535-47bb-0310-9956-ffa450edef68
* * CMakeLists.txt: Pass '-v' to testall.exe when running tests.Ivan Zhakov2022-06-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902075 13f79535-47bb-0310-9956-ffa450edef68
* * CMakeLists.txt: Set BINPATH for test executables.Ivan Zhakov2022-06-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902072 13f79535-47bb-0310-9956-ffa450edef68
* * CMakeLists.txt: Use full path to gen_test_char.exe in CUSTOM_COMMAND.Ivan Zhakov2022-06-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902063 13f79535-47bb-0310-9956-ffa450edef68
* CMakeLists: Make testall test suites separate tests in terms of CMake/CTest.Ivan Zhakov2022-06-171-76/+86
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1902017 13f79535-47bb-0310-9956-ffa450edef68
* Followup to r1901212; Normalize ucs-4 to utf-32William A. Rowe Jr2022-05-241-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1901213 13f79535-47bb-0310-9956-ffa450edef68
* On 'win32-pollset-wakeup-no-file-socket-emulation' branch:Ivan Zhakov2022-01-201-0/+1
| | | | | | | | | Windows: Use term `socket_pipe` instead for `file_socket_pipe` for internal poll wakeup socket API. Move implementation to network_io/win32/socket_pipe.c from file_io/win32/pipe.c. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/win32-pollset-wakeup-no-file-socket-emulation@1897246 13f79535-47bb-0310-9956-ffa450edef68
* Do not install import libraries for DSO modulesMladen Turk2021-12-031-3/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895541 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that APR_HAVE_MODULAR_DSO is defined with valueMladen Turk2021-12-031-4/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895529 13f79535-47bb-0310-9956-ffa450edef68
* Use the correct location for installing apr-2 headers (same layout as on nixes)Mladen Turk2021-12-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895528 13f79535-47bb-0310-9956-ffa450edef68
* libapr.rc already appends -2 suffix to DLL_NAMEMladen Turk2021-12-031-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895527 13f79535-47bb-0310-9956-ffa450edef68
* Add support for building sqlite3 dbd module ... It compiles and pass testsMladen Turk2021-12-031-2/+25
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895526 13f79535-47bb-0310-9956-ffa450edef68
* Use standard configure options for dbd ODBCMladen Turk2021-12-031-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895523 13f79535-47bb-0310-9956-ffa450edef68
* Change rest of variable append directivesMladen Turk2021-12-031-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895520 13f79535-47bb-0310-9956-ffa450edef68
* Fix module names and use CMake's LIST APPEND instead using SET(foo ${foo} ...Mladen Turk2021-12-031-17/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895519 13f79535-47bb-0310-9956-ffa450edef68
* Add option to create 'minimal' build without any third-party library ↵Mladen Turk2021-12-021-6/+10
| | | | | | dependencies. This is usable for projects like TomcatNative that do not require APU xml, dbd, or xlate API. Turned OFF by default git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895515 13f79535-47bb-0310-9956-ffa450edef68
* Fix message; The LOCATION property should not be read from target gen_test_charMladen Turk2021-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895514 13f79535-47bb-0310-9956-ffa450edef68
* Add missing config directories returned by findIconv moduleMladen Turk2021-12-021-6/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895503 13f79535-47bb-0310-9956-ffa450edef68
* Add support for APU_HAS_ICONV optionMladen Turk2021-12-021-6/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895501 13f79535-47bb-0310-9956-ffa450edef68
* Copy missing file so that testfnmatch passMladen Turk2021-12-021-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895480 13f79535-47bb-0310-9956-ffa450edef68
* Use global variable instead repeating the same name throgh CMakeLists.txtMladen Turk2021-12-011-27/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895471 13f79535-47bb-0310-9956-ffa450edef68
* Fix find package. Cmake has findEXPAT not findExpatMladen Turk2021-12-011-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895470 13f79535-47bb-0310-9956-ffa450edef68
* Print if OpenSSL was found and use the same dll prefix for modules as for ↵Mladen Turk2021-12-011-6/+7
| | | | | | apr itself git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895468 13f79535-47bb-0310-9956-ffa450edef68
* Use the same dll prefix for modules as for apr itselfMladen Turk2021-12-011-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1895466 13f79535-47bb-0310-9956-ffa450edef68
* Clean up _WIN32_WINNTWilliam A. Rowe Jr2020-09-031-13/+0
| | | | | | | | | | | | | | | | | | | | | | - Fix _WIN32_WINNT for Windows.h to provide all type declarations, function prototypes and others from Windows 10 / Windows Server 2019. NOTE: This has nothing whatsoever to do with which functions APR chooses to use, chooses to load a runtime (apr_arch_misc.h) or which minimum version of Windows APR will require. - New in Windows 10/Server 2019 are case sensitive directory trees. The patch normalizes the case of the relevant Windows header file names in #include statements to the files shipping in the SDK's. - drops inaccurately mapped CMake flag MIN_WINDOWS_VER from apr 2.0 branch, which never not a feature toggle to APR itself. - drops winsock.h entirely. WINDOWS_WCE is ended entirely 2 years ago, and a later commit to trunk should remove WCE toggles throught the sources. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1881421 13f79535-47bb-0310-9956-ffa450edef68
* apr_proc_create(): Properly escape arguments containing whitespace charactersIvan Zhakov2019-10-151-0/+1
| | | | | | | | | | | | | | | | | | | | on Windows. * CMakeLists.txt (single_source_programs): Add test/echoargs.c. * test/echoargs.c: New test app for test_proc_args test. * test/testproc.c (test_proc_args): New test. (testproc): Add test_proc_args to test list. * threadproc/win32/proc.c (quote_arg): New. Helper for apr_proc_create(). (apr_proc_create): Use quote_arg() helper to escape arguments in command line. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1868477 13f79535-47bb-0310-9956-ffa450edef68
* win32: Do not use TransmitFile directly. According to documentationIvan Zhakov2019-09-141-1/+0
| | | | | | | | | | | | | | TransmitFile() should not be used directly and pointer to function should retrieved using WSAIoctl: https://docs.microsoft.com/en-gb/windows/win32/api/mswsock/nf-mswsock-transmitfile#remarks * network_io/win32/sendrecv.c (apr_socket_sendfile): Retrieve pointer to TransmitFile using WSAIoctl. * CMakeLists.txt (APR_SYSTEM_LIBS): Remove reference to mswsock.lib. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1866932 13f79535-47bb-0310-9956-ffa450edef68
* Revert r1833421 et al:Graham Leggett2019-06-231-1/+0
| | | | | | | | Move OpenSSL initialisation back to apr_crypto_openssl, reinstate DSO support. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1861951 13f79535-47bb-0310-9956-ffa450edef68
* On 'xmllite' branch: Merge changes from trunk.Ivan Zhakov2019-05-261-0/+1
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1860054 13f79535-47bb-0310-9956-ffa450edef68
| * apr_generate_random_bytes: Use BCryptGenRandom() instead of CryptGenRandom()Ivan Zhakov2019-05-211-0/+1
| | | | | | | | | | | | | | on Windows. BCryptGenRandom() is significantly faster since it doesn't require to load crypto provider on every invocation. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859608 13f79535-47bb-0310-9956-ffa450edef68
* | On 'xmllite' branch: Merge changes from trunk.Ivan Zhakov2019-05-201-3/+3
|\ \ | |/ | | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1859568 13f79535-47bb-0310-9956-ffa450edef68
| * * CMakeLists.txt: Error if MIN_WINDOWS_VER set to Vista.Ivan Zhakov2019-05-191-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859516 13f79535-47bb-0310-9956-ffa450edef68
| * * CMakeLists.txt: Set MIN_WINDOWS_VER to Windows 7 by default.Ivan Zhakov2019-05-191-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859515 13f79535-47bb-0310-9956-ffa450edef68
| * * CMakeLists.txt: Define _WIN32_WINNT to 0x0601 by default, since Windows 7Ivan Zhakov2019-05-191-1/+1
| | | | | | | | | | | | | | is minimum supported Windows version. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1859514 13f79535-47bb-0310-9956-ffa450edef68
* | On 'xmllite' branch: Add placeholder for XmlLite support.Ivan Zhakov2019-05-111-12/+32
|/ | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/branches/xmllite@1859122 13f79535-47bb-0310-9956-ffa450edef68
* Register test/testjson.c and test/testjose.c in CMake build.Ivan Zhakov2019-04-281-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1858336 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1835348: Register json/*.c in CMake build.Ivan Zhakov2019-04-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1858335 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1839819: Register jose/*.c in CMake build.Ivan Zhakov2019-04-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1858334 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1834371: Register encoding/apr_encode.c and test/testencode.cIvan Zhakov2019-04-281-0/+2
| | | | | | in CMake build. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1858333 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1838375: Register util-misc/apr_error.c in CMake build.Ivan Zhakov2019-04-281-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1858332 13f79535-47bb-0310-9956-ffa450edef68
* Follow-up to r1841078: Register atomic/win32/apr_atomic64.c in CMake build.Ivan Zhakov2019-04-281-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1858331 13f79535-47bb-0310-9956-ffa450edef68
* Purely cosmetic change for list of features following CMake configureWilliam A. Rowe Jr2019-03-221-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1856057 13f79535-47bb-0310-9956-ffa450edef68
* Drop _EXPORT, as _IMPORT is assumed,, for loadable moduleWilliam A. Rowe Jr2018-11-221-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1847150 13f79535-47bb-0310-9956-ffa450edef68