Hello
I dig a little bit my issue and finally point to a link issue.
With those lines in the CMakeLists.txt:
add_cython_target(hdlConvertor CXX)
add_library(hdlConvertor MODULE ${hdlConvertor} ${libhdlconvertor_SRC} ${generateParsers_GENERATED_SRC} )
add_dependencies(hdlConvertor generateParsers)
python_extension_module(hdlConvertor)
The link command to create hdlConvertor.so is generated with '--version-script' switch. That is restricting the externally viewed symbol.
I create hdlConvertor.so libparsesv.so libparseVerilog.so libparseVhdl.so to reduce re-compilation time. Each libparse.*.so and hdlConvertor.so have both side dependencies.
If I try with
add_cython_target(hdlConvertor CXX)
add_library(hdlConvertor SHARE ${hdlConvertor} ${libhdlconvertor_SRC} ${generateParsers_GENERATED_SRC} )
add_dependencies(hdlConvertor generateParsers)
python_extension_module(hdlConvertor)
I do not anymore the '--version-script' switch on linker command line but it end up to create share library 'libdlConvertor.so' that is not anymore loadable with python import.
It look like my use case with my bundle of share libraries is not compatible with scikit-build.
Any suggestion is welcome.
Thomas