Ok, apr-2 sucks less now :D
After few patches there is some light on the horizon ..
> cmake .. -G "NMake Makefiles" -DAPU_HAVE_CRYPTO=ON -DAPR_BUILD_TESTAPR=ON
CMake Deprecation Warning at CMakeLists.txt:20 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 2.8.12 will be removed from a future
version of
CMake.
...
-- APR configuration summary:
--
-- Build type ...................... : Release
-- Install .pdb (if available)...... : ON
-- Install prefix .................. : C:/Shared/Workplace/root
-- C compiler ...................... :
C:/Tools/vs2019b/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
-- IPv6 ............................ : ON
-- DBD ODBC driver ................. : ON
-- Use Expat ....................... : OFF
-- Use LibXml2 ..................... : OFF
-- Use XmlLite ..................... : ON
-- Have Crypto ..................... : ON
-- Library files for XML ........... : xmllite.lib
-- Build test suite ................ : ON
-- (testing dynamic libraries)
-- Install private .h for httpd .... : OFF
-- Configuring done
-- Generating done
> nmake
...
bunch of warning C4267: 'function': conversion from 'size_t' to 'int',
possible loss of data
Majority are from apr_crypto_openssl.c
...
But BUILD SUCCESS!!!
let' try
> testall.exe
testatomic : SUCCESS
testdir : SUCCESS
testdso : SUCCESS
testdup : SUCCESS
testencode : SUCCESS
testenv : SUCCESS
testescape : SUCCESS
testfile : SUCCESS
testfilecopy : SUCCESS
testfileinfo : SUCCESS
testflock : SUCCESS
testfmt : SUCCESS
testfnmatch : FAILED 2 of 4
testargs : SUCCESS
testhash : SUCCESS
testhooks : SUCCESS
testipsub : SUCCESS
testlock : SUCCESS
testcond : SUCCESS
testlfs : SUCCESS
testmmap : -
>
Wow, almost perfect!
Cheers
--
^TM