Merge branch 'master' of http://git.int.zerotier.com/ZeroTier/libzt
This commit is contained in:
28
dist.bat
28
dist.bat
@@ -10,43 +10,39 @@ mkdir %Win32DebugBuildDir%
|
|||||||
mkdir %Win64DebugBuildDir%
|
mkdir %Win64DebugBuildDir%
|
||||||
|
|
||||||
REM final output directories
|
REM final output directories
|
||||||
set Win32ReleaseOutputDir=lib\release\win32
|
set WinReleaseOutputDir=lib\release
|
||||||
set Win64ReleaseOutputDir=lib\release\win64
|
set WinDebugOutputDir=lib\debug
|
||||||
set Win32DebugOutputDir=lib\debug\win32
|
|
||||||
set Win64DebugOutputDir=lib\debug\win64
|
|
||||||
|
|
||||||
mkdir %Win32ReleaseOutputDir%
|
mkdir %WinReleaseOutputDir%
|
||||||
mkdir %Win64ReleaseOutputDir%
|
mkdir %WinDebugOutputDir%
|
||||||
mkdir %Win32DebugOutputDir%
|
|
||||||
mkdir %Win64DebugOutputDir%
|
|
||||||
|
|
||||||
pushd %Win32ReleaseBuildDir%
|
pushd %Win32ReleaseBuildDir%
|
||||||
cmake -G "Visual Studio 15 2017" ../../../
|
cmake -G "Visual Studio 15 2017" ../../../
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
popd
|
popd
|
||||||
copy %Win32ReleaseBuildDir%\Release\zt.lib %Win32ReleaseOutputDir%\zt.lib
|
copy %Win32ReleaseBuildDir%\Release\zt.lib %WinReleaseOutputDir%\libzt32.lib
|
||||||
copy %Win32ReleaseBuildDir%\Release\zt.dll %Win32ReleaseOutputDir%\zt.dll
|
copy %Win32ReleaseBuildDir%\Release\zt-shared.dll %WinReleaseOutputDir%\libzt32.dll
|
||||||
|
|
||||||
pushd %Win32DebugBuildDir%
|
pushd %Win32DebugBuildDir%
|
||||||
cmake -G "Visual Studio 15 2017" ../../../
|
cmake -G "Visual Studio 15 2017" ../../../
|
||||||
cmake --build . --config Debug
|
cmake --build . --config Debug
|
||||||
popd
|
popd
|
||||||
copy %Win32DebugBuildDir%\Debug\zt.lib %Win32DebugOutputDir%\zt.lib
|
copy %Win32DebugBuildDir%\Debug\zt.lib %WinDebugOutputDir%\libzt32d.lib
|
||||||
copy %Win32DebugBuildDir%\Debug\zt.dll %Win32DebugOutputDir%\zt.dll
|
copy %Win32DebugBuildDir%\Debug\zt-shared.dll %WinDebugOutputDir%\libzt32d.dll
|
||||||
|
|
||||||
pushd %Win64ReleaseBuildDir%
|
pushd %Win64ReleaseBuildDir%
|
||||||
cmake -G "Visual Studio 15 2017 Win64" ../../../
|
cmake -G "Visual Studio 15 2017 Win64" ../../../
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
popd
|
popd
|
||||||
copy %Win64ReleaseBuildDir%\Release\zt.lib %Win64ReleaseOutputDir%\zt.lib
|
copy %Win64ReleaseBuildDir%\Release\zt.lib %WinReleaseOutputDir%\libzt64.lib
|
||||||
copy %Win64ReleaseBuildDir%\Release\zt.dll %Win64ReleaseOutputDir%\zt.dll
|
copy %Win64ReleaseBuildDir%\Release\zt-shared.dll %WinReleaseOutputDir%\libzt64.dll
|
||||||
|
|
||||||
pushd %Win64DebugBuildDir%
|
pushd %Win64DebugBuildDir%
|
||||||
cmake -G "Visual Studio 15 2017 Win64" ../../../
|
cmake -G "Visual Studio 15 2017 Win64" ../../../
|
||||||
cmake --build . --config Debug
|
cmake --build . --config Debug
|
||||||
popd
|
popd
|
||||||
copy %Win64DebugBuildDir%\Debug\zt.lib %Win64DebugOutputDir%\zt.lib
|
copy %Win64DebugBuildDir%\Debug\zt.lib %WinDebugOutputDir%\libzt64d.lib
|
||||||
copy %Win64DebugBuildDir%\Debug\zt.dll %Win64DebugOutputDir%\zt.dll
|
copy %Win64DebugBuildDir%\Debug\zt-shared.dll %WinDebugOutputDir%\libzt64d.dll
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user