mirror of
https://github.com/curl/curl.git
synced 2026-04-14 18:11:40 +03:00
cmake: deprecate winbuild, add migration guide from legacy build methods
We recommend migrating to CMake from winbuild and Visual Studio project files. winbuild is deprecated and will be dropped in September 2025. CMake supports all the features and options, with new ones added promptly. It supports out-of-tree, unity and documentation builds. - deprecate winbuild method in favour of CMake by September 2025. - add migration guide from winbuild to CMake. - add migration guide from Visual Studio Project Files to CMake. - add deprecation message to winbuild. Need to ack with `WINBUILD_ACKNOWLEDGE_DEPRECATED=yes` Authored-by: Jay Satiro - mention `CMAKE_BUILD_TYPE` option in `INSTALL-CMAKE`. - document missing `SSH_PATH` winbuild option. Closes #15920
This commit is contained in:
parent
0494566ae8
commit
fdc588dc10
5 changed files with 118 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ elif [ "${BUILD_SYSTEM}" = 'winbuild_vs2015' ]; then
|
|||
cat << EOF > _make.bat
|
||||
call "C:/Program Files/Microsoft SDKs/Windows/v7.1/Bin/SetEnv.cmd" /x64
|
||||
call "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/vcvarsall.bat" x86_amd64
|
||||
nmake -f Makefile.vc mode=dll VC=14 "SSL_PATH=${openssl_root_win}" WITH_SSL=dll MACHINE=x64 DEBUG=${DEBUG} ENABLE_UNICODE=${ENABLE_UNICODE}
|
||||
nmake -f Makefile.vc mode=dll VC=14 "SSL_PATH=${openssl_root_win}" WITH_SSL=dll MACHINE=x64 DEBUG=${DEBUG} ENABLE_UNICODE=${ENABLE_UNICODE} WINBUILD_ACKNOWLEDGE_DEPRECATED=yes
|
||||
EOF
|
||||
./_make.bat
|
||||
rm _make.bat
|
||||
|
|
@ -93,7 +93,7 @@ elif [ "${BUILD_SYSTEM}" = 'winbuild_vs2017' ]; then
|
|||
cd winbuild
|
||||
cat << EOF > _make.bat
|
||||
call "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvars64.bat"
|
||||
nmake -f Makefile.vc mode=dll VC=14.10 "SSL_PATH=${openssl_root_win}" WITH_SSL=dll MACHINE=x64 DEBUG=${DEBUG} ENABLE_UNICODE=${ENABLE_UNICODE}
|
||||
nmake -f Makefile.vc mode=dll VC=14.10 "SSL_PATH=${openssl_root_win}" WITH_SSL=dll MACHINE=x64 DEBUG=${DEBUG} ENABLE_UNICODE=${ENABLE_UNICODE} WINBUILD_ACKNOWLEDGE_DEPRECATED=yes
|
||||
EOF
|
||||
./_make.bat
|
||||
rm _make.bat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue