- 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
14 lines
196 B
C
14 lines
196 B
C
// Some test code
|
|
|
|
#include "foamVersion.H"
|
|
#include "IOstreams.H"
|
|
|
|
namespace Foam
|
|
{
|
|
void printTest()
|
|
{
|
|
Info<< nl;
|
|
foamVersion::printBuildInfo(Info().stdStream());
|
|
}
|
|
}
|