/** Add libraries specified by the actors in this model.
* @exception IllegalActionException If thrown when getting an actor's
* libraries.
*/
protected void _addActorLibraries() throws IllegalActionException {
ActorCodeGenerator helper = _getHelper(getContainer());
Set actorLibraryDirectories = helper.getLibraryDirectories();
Iterator libraryDirectoryIterator = actorLibraryDirectories.iterator();
while (libraryDirectoryIterator.hasNext()) {
addLibrary("-L\"" + ((String) libraryDirectoryIterator.next())
+ "\"");
}
Set actorLibraries = helper.getLibraries();
Iterator librariesIterator = actorLibraries.iterator();
while (librariesIterator.hasNext()) {
addLibrary("-l\"" + ((String) librariesIterator.next()) + "\"");
}
}