Mercurial > devkit
changeset 18:235e7b0e0a5c
misc: add MinGW support and change to C:/pkg
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 13 Nov 2018 13:26:56 +0100 |
parents | baf785b2a545 |
children | 153304da597a |
files | libboost.md libopenssl.md libz.md |
diffstat | 3 files changed, 50 insertions(+), 48 deletions(-) [+] |
line wrap: on
line diff
--- a/libboost.md Sun Mar 18 16:36:36 2018 +0100 +++ b/libboost.md Tue Nov 13 13:26:56 2018 +0100 @@ -1,13 +1,13 @@ Build boost =========== -Version: 1.66.0 -Date: 20180317 +Version: 1.68.0 +Date: 20181113 Download -------- - - https://dl.bintray.com/boostorg/release/1.66.0/source/ + - https://dl.bintray.com/boostorg/release/1.68.0/source Configure --------- @@ -16,10 +16,14 @@ bootstrap +### MinGW + + bootstrap gcc + Build ----- -### Visual Studio (amd64/debug) +### Visual Studio (debug) .\b2 link=shared @@ -28,11 +32,11 @@ toolset=msvc variant=debug address-model=64 - install --prefix=C:/env/vs/amd64d - mkdir C:\env\vs\amd64d\bin - move C:\env\vs\amd64d\lib\boost*.dll C:\env\vs\amd64d\bin + install --prefix=C:/pkg/vs/debug + mkdir C:\pkg\vs\debug\bin + move C:\pkg\vs\debug\lib\*boost*.dll C:\pkg\vs\debug\bin -### Visual Studio (amd64/debug) +### Visual Studio (release) .\b2 link=shared @@ -41,6 +45,19 @@ toolset=msvc variant=release address-model=64 - install --prefix=C:/env/vs/amd64 - mkdir C:\env\vs\amd64\bin - move C:\env\vs\amd64\lib\boost*.dll C:\env\vs\amd64\bin + install --prefix=C:/pkg/vs/release + mkdir C:\pkg\vs\release\bin + move C:\pkg\vs\release\lib\*boost*.dll C:\pkg\vs\release\bin + +### MinGW + + .\b2 + link=shared + runtime-link=shared + threading=multi + toolset=mingw + variant=release + address-model=64 + install --prefix=C:/pkg/mingw + mkdir C:\pkg\mingw\bin + move C:\pkg\mingw\lib\*boost*.dll C:\pkg\mingw\bin \ No newline at end of file
--- a/libopenssl.md Sun Mar 18 16:36:36 2018 +0100 +++ b/libopenssl.md Tue Nov 13 13:26:56 2018 +0100 @@ -19,29 +19,17 @@ Be sure to have `perl.exe` into your path. -### Visual Studio (amd64/debug) +### Visual Studio (debug) perl Configure debug-VC-WIN64A no-asm shared - --prefix=C:\env\vs\amd64d - --openssldir=C:\env\vs\amd64d + --prefix=C:\pkg\vs\debug + --openssldir=C:\pkg\vs\debug -### Visual Studio (amd64/release) +### Visual Studio (release) perl Configure VC-WIN64A no-asm shared - --prefix=C:\env\vs\amd64 - --openssldir=C:\env\vs\amd64 - -### Visual Studio (x86/debug) - - perl Configure debug-VC-WIN32 no-asm shared - --prefix=C:\env\vs\x86d - --openssldir=C:\env\vs\x86d - -### Visual Studio (x86/release) - - perl Configure VC-WIN32 no-asm shared - --prefix=C:\env\vs\x86 - --openssldir=C:\env\vs\x86 + --prefix=C:\pkg\vs\release + --openssldir=C:\pkg\vs\release Build -----
--- a/libz.md Sun Mar 18 16:36:36 2018 +0100 +++ b/libz.md Tue Nov 13 13:26:56 2018 +0100 @@ -1,13 +1,13 @@ Build libz ========== -Version: 1.2.8 -Date: 20170811 +Version: 1.2.11 +Date: 20181113 Download -------- - - http://zlib.net/zlib128.zip + - http://zlib.net/zlib1211.zip Dependencies ------------ @@ -17,37 +17,29 @@ Configure --------- -### Visual Studio (amd64/debug) +### Visual Studio (debug) cmake . -DCMAKE_BUILD_TYPE=Debug - -DCMAKE_INSTALL_PREFIX=C:/env/vs/amd64d - -DBUILD_SHARED_LIBS=True - -G"NMake Makefiles" - -### Visual Studio (amd64/release) - - cmake . - -DCMAKE_BUILD_TYPE=Release - -DCMAKE_INSTALL_PREFIX=C:/env/vs/amd64 + -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/debug -DBUILD_SHARED_LIBS=True -G"NMake Makefiles" -### Visual Studio (x86/debug) +### Visual Studio (release) cmake . - -DCMAKE_BUILD_TYPE=Debug - -DCMAKE_INSTALL_PREFIX=C:/env/vs/x86d + -DCMAKE_BUILD_TYPE=Release + -DCMAKE_INSTALL_PREFIX=C:/pkg/vs/release -DBUILD_SHARED_LIBS=True -G"NMake Makefiles" -### Visual Studio (x86/release) +### MinGW cmake . -DCMAKE_BUILD_TYPE=Release - -DCMAKE_INSTALL_PREFIX=C:/env/vs/x86 + -DCMAKE_INSTALL_PREFIX=C:/pkg/mingw -DBUILD_SHARED_LIBS=True - -G"NMake Makefiles" + -G"MinGW Makefiles" Build ----- @@ -56,3 +48,8 @@ nmake nmake install + +### MinGW + + mingw32-make + mingw32-make install \ No newline at end of file