Skip to content

v1.0.0

Compare
Choose a tag to compare
@traversaro traversaro released this 09 Nov 17:39
· 5 commits to master since this release
d5420c2

Migration from BlockFactory 0.8.* to 1.*

BlockFactory 1.0.0 switched from using an old vendored version of sharedlibpp to the official version of sharedlibpp available at https://github.com/ami-iit/sharedlibpp . This means that a change is required downstream to migrate from BlockFactory 0.8.* to BlockFactory 1.*, you need to change the:

#include <shlibpp/SharedLibraryClassApi.h>

to

#include <sharedlibpp/SharedLibraryClassApi.h>

If you need to write some software that is compatible with both BlockFactory 0.8.* and 1.0.*, you can use this snippet:

// This snippet ensures that the code works both with BlockFactory 0.8.* and 
// BlockFactory 1.* . However, this could fail if you try to build a library
// that want to use BlockFactory 0.8.* and and earlier installation of BlockFactory
// 1.* was done in the same install prefix without proper uninstallation
// If that happens, just do a clean install
#if __has_include(<sharedlibpp/SharedLibraryClassApi.h>)
    #include <sharedlibpp/SharedLibraryClassApi.h>
#else
    #include <shlibpp/SharedLibraryClassApi.h>
#endif

What's Changed

  • Switch to use external sharedlibpp instead of internal shlibpp and bump version to 1.0.0 by @traversaro in #87

Full Changelog: v0.8.6...v1.0.0