openfoam/applications/test/wmake1/newStub.C
Mark Olesen 5eebe5050b ENH: reduce dependencies for foamVersion.H
- have printBuildInfo output to std::ostream
- removed extraneous include "stdFoam.H"

ENH: revert to pre-processor defines for hard-coded paths (#1712)

- redundant information, but more robust at run-time without relying
  on initialization order
2020-05-29 15:48:20 +02:00

14 lines
196 B
C

// Some test code
#include "foamVersion.H"
#include "IOstreams.H"
namespace Foam
{
void printTest()
{
Info<< nl;
foamVersion::printBuildInfo(Info().stdStream());
}
}