Skip to content
  • Mark OLESEN's avatar
    ENH: add bin/tools/createMingwRuntime helper · 18c68e6b
    Mark OLESEN authored
      Script to copy/create mingw run-time installation from the Linux
      cross-compilation. Packs everything into a tar or a zip file.
    
      To accommodate Windows, all .dll files are also placed in the
      platforms bin/ directory where they are easily found via the PATH.
    
      Futhermore, ThirdParty dll files (including those from mingw itself)
      are also placed in the same directory.
    
    ---
    Steps
      - bundles common files and directories (bin, etc, META-INFO, ...)
    
      - copies .exe files from FOAM_APPBIN and .dll files from FOAM_LIBBIN
        to the new target platforms/win64MingwDPInt32Opt/bin.
    
      - copies mingw sys-root .dll files to the new target
        platforms/win64MingwDPInt32Opt/bin
    
      - copies other ThirdParty dll files (scotch, fftw, etc) to
        platforms/win64MingwDPInt32Opt/bin
    
      - copies tutorials (can be deactivated)
    
    ---
    Note
        Can only be called when the linux64Mingw environment is active.
    18c68e6b