mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-20 04:58:09 +00:00
22 lines
1 KiB
Batchfile
22 lines
1 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 -- /maxcpucount /nodeReuse:true /p:TrackFileAccess=false
|
|
if %errorlevel% neq 0 exit /b %errorlevel%
|
|
|
|
:: Minizip Submodule Building
|
|
cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -A Win32
|
|
cmake --build . --target install --config RelWithDebInfo --parallel 10 -- /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 install --config RelWithDebInfo --parallel 10 -- /maxcpucount /nodeReuse:true /p:TrackFileAccess=false
|