ENH: codeStream: added message if loading library

This commit is contained in:
mattijs
2011-03-07 12:54:28 +00:00
parent 8a8ca63366
commit 0ba821d184

View File

@ -98,6 +98,13 @@ bool Foam::functionEntries::codeStream::execute
// see if library is loaded
void* lib = dlLibraryTable::findLibrary(libPath);
if (!lib)
{
Info<< "Using #codeStream with " << libPath << endl;
}
// nothing loaded
// avoid compilation if possible by loading an existing library
if (!lib && dlLibraryTable::open(libPath, false))