• James Zern's avatar
    build/msvs: fix builds in source dirs with spaces · 1e3d9b9e
    James Zern authored
    ...when configured below the path containing spaces. configuring outside
    the path containing spaces still won't work due to issues with the
    makefiles, e.g.,
    /path with spaces/git
    /path with spaces/build1
    /build2
    configure/make in build1 will work, build2 will not
    
    Change-Id: Ie4a1f313596d7457cadd67476ac1dbd3273ad46e
    1e3d9b9e
obj_int_extract.bat 962 bytes
REM   Copyright (c) 2013 The WebM project authors. All Rights Reserved.
REM
REM   Use of this source code is governed by a BSD-style license
REM   that can be found in the LICENSE file in the root of the source
REM   tree. An additional intellectual property rights grant can be found
REM   in the file PATENTS.  All contributing project authors may
REM   be found in the AUTHORS file in the root of the source tree.
echo on
REM Arguments:
REM   %1 - Relative path to the directory containing the vp8 and vpx_scale
REM        source directories.
REM   %2 - Path to obj_int_extract.exe.
cl /I. /I%1 /nologo /c /DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP "%~1/vp8/encoder/vp8_asm_enc_offsets.c"
%2\obj_int_extract.exe rvds "vp8_asm_enc_offsets.obj" > "vp8_asm_enc_offsets.asm"
cl /I. /I%1 /nologo /c /DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP "%~1/vpx_scale/vpx_scale_asm_offsets.c"
%2\obj_int_extract.exe rvds "vpx_scale_asm_offsets.obj" > "vpx_scale_asm_offsets.asm"