linphone-desktop/build_all_win.bat
Julien Wadel 0d6e01561f Update ReadMe and ChangeLog
Add rootca.pem in the installation
Set SDK to fix paths
2020-02-12 21:14:31 +01:00

24 lines
1.2 KiB
Batchfile

:: Preparing folders
IF NOT EXIST build-desktop mkdir build-desktop
:: SDK Building
cd build-desktop
:: Default config
cmake .. -DLINPHONESDK_PLATFORM=Desktop -DCMAKE_BUILD_TYPE=RelWithDebInfo -A Win32
:: Mini config
::cmake .. -DLINPHONESDK_PLATFORM=Desktop -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_VPX=NO -DENABLE_OPUS=NO -A Win32 -DENABLE_VIDEO=YES -DENABLE_GL=YES
if %errorlevel% neq 0 exit /b %errorlevel%
cmake --build . --target sdk --config RelWithDebInfo --parallel 10
if %errorlevel% neq 0 exit /b %errorlevel%
:: Minizip Submodule Building
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -A Win32
cmake --build . --target all_build --parallel 10 --config RelWithDebInfo -- /maxcpucount /nodeReuse:true /p:TrackFileAccess=false
cmake --build . --target install --config RelWithDebInfo -- /maxcpucount /nodeReuse:true /p:TrackFileAccess=false
:: Desktop Building
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -A Win32
if %errorlevel% neq 0 exit /b %errorlevel%
cmake --build . --target all_build --config RelWithDebInfo --parallel 10 -- /maxcpucount /nodeReuse:true /p:TrackFileAccess=false
cmake --build . --target install --config RelWithDebInfo -- /maxcpucount /nodeReuse:true /p:TrackFileAccess=false