1
0
This repository has been archived on 2025-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Files
siadrive/3rd_party/CEF/create.cmd
Scott E. Graves 9efbae3fb9 UI stuffs
2017-03-22 10:59:07 -05:00

37 lines
741 B
Batchfile

@echo off
set ROOT=%~dp0%
set MODE=%1
pushd %ROOT%
set PATH=%ROOT%depot_tools;%PATH%
call create_common.cmd
set CEF_USE_GN=1
if ("%MODE%"=="Debug") (
set GN_DEFINES=is_win_fastlink=true fatal_linker_warnings=false
) else (
set GN_DEFINES=fatal_linker_warnings=false
)
set GN_ARGUMENTS=--ide=vs2015 --sln=cef --filters=//cef/*
pushd chromium_git
call python ..\automate\automate-git.py --download-dir=%ROOT%chromium_git --depot-tools-dir=%ROOT%depot_tools --no-distrib --no-build --branch=3029 || goto :ERROR
popd
pushd chromium_git\chromium\src\cef
call cef_create_projects.bat
popd
pushd chromium_git\chromium\src
call ninja -C out\%MODE%_GN_x64 cef || goto :ERROR
popd
goto :END
:ERROR
pause
popd
exit 1
:END
popd