File: build.bat

package info (click to toggle)
onevpl 2023.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 10,300 kB
  • sloc: cpp: 119,395; python: 7,297; ansic: 6,495; sh: 1,105; makefile: 11
file content (31 lines) | stat: -rw-r--r-- 947 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@REM ------------------------------------------------------------------------------
@REM Copyright (C) Intel Corporation
@REM 
@REM SPDX-License-Identifier: MIT
@REM ------------------------------------------------------------------------------
@REM Build project.

@ECHO off
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION 

@REM Read command line options
CALL %~dp0%\_buildopts.bat ^
    --name "%~n0%" ^
    --desc "Build project." ^
    -- %*
IF DEFINED HELP_OPT ( EXIT /b 0 )

ECHO Building project code...

PUSHD %ROOT_DIR%
    ECHO Building base component...
    CALL oneVPL\script\build.bat %FORWARD_OPTS% || EXIT /b 1
    ECHO Installing base component...
    CALL oneVPL\script\install.bat || EXIT /b 1
    ECHO Building cpu component...
    CALL oneVPL-cpu\script\build.bat %FORWARD_OPTS% || EXIT /b 1
    ECHO Installing cpu component...
    CALL oneVPL-cpu\script\install.bat || EXIT /b 1
POPD

ENDLOCAL