In libSBML 5.8 (and maybe previous versions) there is a problem when using cmake. Running cmake with -DWITH_CPP_NAMESPACE=yes will give output which claims that the namespace wrapping is enabled. This is indeed true with the library is compiled (confirmed with nm on the object files). However, the installed header will not have LIBSBML_USE_CPP_NAMESPACE defined.
The configure scripts
Additionally, it is rather rude that the default behaviour is to _not_ have the namespace wrapping enabled. The logic should be reversed.
Log in to post a comment.