Skip to content

v1.2.0

Compare
Choose a tag to compare
@grasph grasph released this 26 Feb 18:46
· 29 commits to main since this release
  • [BREAKING CHANGE] In order to allow loading the Julia module without having to set LD_LIBRARY_PATH environment variable or copy the shared library in one of the system library directories, the path is not set relatively to the location of the Julia module file. The Julia module file is now put in a src subdirectory of the module directory, whose location is defined by out_jl_dir and default a directory called as the module and the library is searched in the deps subdirectory: previous out_jl_dir =X/Y/Z/src should be changed to out_jl_dir =X/Y/Z as src will be systematically added. A Project.toml file is also created, to allow installation of the package a uuid is generated. Now, the Julia module directory looks like
MyWrapper/
  ├── Project.toml
  ├── deps
  │   └── libjlMyWrapper.so
  └── src
       └── MyWrapper.jl

The old behaviour can be restored by setting the lib_basename parameter to lib<module_name>, where <module_name> is the name of the module defined with the module_name parameter.

  • Added support for building the generated code with cmake:
    • generation of a file with useful variables to be included in a cmake build configuration file;
    • added a cmake build configuration sample for the ex001-HelloWorld example.
    • migrated most of the unit tests (from the test directory) to cmake.
    • added the --output-prefix command-line option to prefix all output paths with a directory path, useful for the cmake out-of-source build.
  • The remaining plain Makefiles were modified to do out-of-source build as cmake.
  • Extended the ex002-ROOT example to add TTRee support, including writing TTrees.
  • The WRAPIT macro is now assumed to be defined when parsing the input header file (change in the default value of the macro_definitions parameter).
  • New parameters (N) or parameters whose default value was changed (D): macro_definitions (D), lib_basename (D), project_toml_fname (N), uuid (N), version (N)
  • New command-line options: --clang, --output-prefix

Contributors to the code update with respect to the previous release (alphabetic order): Philippe Gras, Greame A. Stewart, Pere Mato