The first step on proper compilation on Windows: the CMake configuring.
Some notes and restrictions of this PR:
I used the vcpkg as a source of 3rd-party libraries. (I also fixed Windows build for the libev by this vcpkg PR specially for getting userver to configure by CMake). You have to install all dependencies which has been requested by userver's configure script (via "vcpkg search <depname>" and "vcpkg install <depname>");
While I fixed the CMake configuring, the master has been moved up, and my fixes for Python tests were irrelevant. I will send it later (as part of #229);
As tests were not fixed, for proper configuring you have to disable them via -DUSERVER_FEATURE_TESTSUITE=OFF;
Some non-MSVC flags were moved under the "userver_target_cxx_compile_options_if_supported()";
uboost coro should be disabled if it was in your CMake cache via -DUSERVER_FEATURE_UBOOST_CORO=OFF.
The first step on proper compilation on Windows: the CMake configuring.
Some notes and restrictions of this PR:
vcpkg search <depname>
" and "vcpkg install <depname>
");-DUSERVER_FEATURE_TESTSUITE=OFF
;userver_target_cxx_compile_options_if_supported()
";-DUSERVER_FEATURE_UBOOST_CORO=OFF
.Related to #228.
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/