• Mark Olesen's avatar
    ENH: openfoam shell session - improved and relocated · ba3a31af
    Mark Olesen authored
    - '-c' option (as per shell), '-Dkey[=value]' option to provide
      preferences via the command-line. For example,
    
          etc/openfoam -DWM_COMPILER=Clang -int64  ./Allwmake -j -s -l
    
      These can also be combined with other options. Eg,
    
          etc/openfoam -DWM_COMPILER=Clang \
              -c 'wmake -show-path-cxx -show-cxxflags'
    
    - relocated from bin/tools/ => etc/ for easier access
    
    - bin/tools/openfoam.in : for autoconfig-style installation
    
    - Auto-detect if the shell script was executed with openfoam and
      interpret accordingly.
    
      Simple example,
    
          --------------
          #!/usr/bin/openfoam
          cd "${0%/*}" || exit   # Run -*-sh-*- from this dir
    
          blockMesh
          simpleFoam
          --------------
    
       Note it is NOT currently possible to provide any other parameters
       this way. Eg,
    
          `#!/usr/bin/openfoam -sp` (NOT)
    
       This will either fail to run, or result in infinite recursion.
    ba3a31af
Name
Last commit
Last update
..
Doxygen Loading commit data...
Allwmake Loading commit data...
Build.md Loading commit data...
BuildIssues.md Loading commit data...
Config.md Loading commit data...
Cross-Compile-mingw.md Loading commit data...
Requirements.md Loading commit data...
openfoam.1.in Loading commit data...