Changes between Version 4 and Version 5 of CompilationGuide/WinRT


Ignore:
Timestamp:
Mar 13, 2015, 10:15:29 PM (4 years ago)
Author:
gillesk
Comment:

Updating the build instructions to keep the source tree clean and the architectures organized.

Legend:

Unmodified
Added
Removed
Modified
  • CompilationGuide/WinRT

    v4 v5  
    8686----
    8787
     88To keep the source tree clean and the platforms separated, we will have the intermediate files go to the Output\<Platform>\<Architecture> folder under the FFmpeg source tree. We will also have the install files (the files necessary to link and use FFmpeg in your application) go to the Build\<Platform>\<Architecture> folder under the FFmpeg source tree.
     89
     90----
     91
    8892== Windows Store 8.1 x86 (Windows 8.1 Win32 in Visual Studio) ==
    8993
     
    109113Invoke the following make commands
    110114{{{
    111 ./configure \
     115../../../configure \
    112116--toolchain=msvc \
    113117--disable-programs \
     
    119123--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603" \
    120124--extra-ldflags="-winmd -appcontainer" \
    121 --prefix=Build/Windows81/Win32
     125--prefix=../../../Build/Windows81/Win32
    122126
    123127make
     
    127131
    128132Generated libraries can be found in `Build/Windows81/Win32` folder specified in `--prefix` option above
    129 
    130 Clean FFmpeg build before switching to a different target or architecture.
    131 {{{
    132 make clean
    133 
    134 make distclean
    135 }}}
    136133
    137134----
     
    160157Invoke the following make commands
    161158{{{
    162 ./configure \
     159../../../configure \
    163160--toolchain=msvc \
    164161--disable-programs \
     
    170167--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603" \
    171168--extra-ldflags="-winmd -appcontainer" \
    172 --prefix=Build/Windows81/x64
     169--prefix=../../../Build/Windows81/x64
    173170
    174171make
     
    178175
    179176Generated libraries can be found in `Build/Windows81/x64` folder specified in `--prefix` option above
    180 
    181 Clean FFmpeg build before switching to a different target or architecture.
    182 {{{
    183 make clean
    184 
    185 make distclean
    186 }}}
    187177
    188178----
     
    211201Invoke the following make commands
    212202{{{
    213 ./configure \
     203../../../configure \
    214204--toolchain=msvc \
    215205--disable-programs \
     
    224214--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603 -D__ARM_PCS_VFP" \
    225215--extra-ldflags="-MACHINE:ARM -winmd -appcontainer" \
    226 --prefix=Build/Windows81/ARM
     216--prefix=../../../Build/Windows81/ARM
    227217
    228218make
     
    232222
    233223Generated libraries can be found in `Build/Windows81/ARM` folder specified in `--prefix` option above
    234 
    235 Clean FFmpeg build before switching to a different target or architecture.
    236 {{{
    237 make clean
    238 
    239 make distclean
    240 }}}
    241224
    242225----
     
    265248Invoke the following make commands
    266249{{{
    267 ./configure \
     250../../../configure \
    268251--toolchain=msvc \
    269252--disable-programs \
     
    275258--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -D_WIN32_WINNT=0x0603" \
    276259--extra-ldflags="-subsystem:console -opt:ref WindowsPhoneCore.lib RuntimeObject.lib PhoneAppModelHost.lib -NODEFAULTLIB:kernel32.lib -NODEFAULTLIB:ole32.lib" \
    277 --prefix=Build/WindowsPhone81/Win32
     260--prefix=../../../Build/WindowsPhone81/Win32
    278261
    279262make
     
    283266
    284267Generated libraries can be found in `Build/WindowsPhone81/Win32` folder specified in `--prefix` option above
    285 
    286 Clean FFmpeg build before switching to a different target or architecture.
    287 {{{
    288 make clean
    289 
    290 make distclean
    291 }}}
    292268
    293269----
     
    316292Invoke the following make commands
    317293{{{
    318 ./configure \
     294../../../configure \
    319295--toolchain=msvc \
    320296--disable-programs \
     
    329305--extra-cflags="-MD -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -D_WIN32_WINNT=0x0603 -D__ARM_PCS_VFP" \
    330306--extra-ldflags="-MACHINE:ARM -subsystem:console -opt:ref WindowsPhoneCore.lib RuntimeObject.lib PhoneAppModelHost.lib -NODEFAULTLIB:kernel32.lib -NODEFAULTLIB:ole32.lib" \
    331 --prefix=Build/WindowsPhone81/ARM
     307--prefix=../../../Build/WindowsPhone81/ARM
    332308
    333309make
     
    338314Generated libraries can be found in `Build/WindowsPhone81/ARM` folder specified in `--prefix` option above
    339315
    340 Clean FFmpeg build before switching to a different target or architecture.
    341 {{{
    342 make clean
    343 
    344 make distclean
    345 }}}
    346 
    347 ----
     316----