Conversation
|
Thanks. After merging your other PR, this one doesn't apply anymore. Please rebase and push. Apart from that, I don't know enough about how cmake works in order to assess how the changes affect existing programs. Can you please elaborate on what exactly they do? For example, if you have an existing program linked to libMatroska & libEBML and you update both libraries with your proposed changes without recompiling that program, would it still work with the new library versions (= would these changes break the ABI)? And do these changes break the API (meaning would changes have to be made to the source code or the build system of a program using libMatroska/libEBML with your proposed changes applied)? The same questions apply to your PR against libMatroska. |
Done.
No API or ABI chages. This fixes CMake script only.
Yes. If somebody uses EBML config package module (Windows users mostly, Unix users have PkgConfig), they need to make trivial changes in their CMake script: target_link_libraries(helloworld PRIVATE ebml)to target_link_libraries(helloworld PRIVATE EBML::ebml)I think it is better to fix it now to make CMake closer to standards (that
|
Fix compilation of libMatroska.
|
Iguess b7acd9d is not API break, these members are exported anyway because their classes are exported. |
|
OK, thanks. Unfortunately I cannot test the changes to the DLL export/import mechanism as I only link Windows stuff statically in my projects. @robUx4 can you give this one and the corresponding Matroska PR a try, please? |
robUx4
left a comment
There was a problem hiding this comment.
This patchset seem OK. I can't comment on the installed CMake files for other projects to include but it seems OK.
|
Vpkg ports update: microsoft/vcpkg#6526 |
Unix paths are case sensitive, but we use EbmlConfig.cmake.in & EBMLConfig.cmake.in. Related to Matroska-Org#44, microsoft/vcpkg#6526
${CMAKE_PACKAGE_INSTALLDIR}to make it simplerEBML_FOUNDvariable whenEBMLis searched in config mode