v1.2.0
- [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 asrc
subdirectory of the module directory, whose location is defined byout_jl_dir
and default a directory called as the module and the library is searched in thedeps
subdirectory: previousout_jl_dir =X/Y/Z/src
should be changed toout_jl_dir =X/Y/Z
assrc
will be systematically added. AProject.toml
file is also created, to allow installation of the package auuid
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 theex001-HelloWorld
example. - migrated most of the unit tests (from the
test
directory) tocmake
. - added the
--output-prefix
command-line option to prefix all output paths with a directory path, useful for the cmake out-of-source build.
- generation of a file with useful variables to be included in a
- The remaining plain Makefiles were modified to do out-of-source build as
cmake
. - Extended the
ex002-ROOT
example to addTTRee
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