Forgive me if this is more a factor of my lack of skill with CMake but when using the clap wrapper I encountered warnings that I could not get rid of that originated in the vst3 codebase. Its the same warnings that are discussed here: https://forum.juce.com/t/juce-8-0-12-linux-vst-embedded-interface-pragma-pack-warnings/67852/7
They came to the conclusion that the warnings could be safely ignored. I have -Werror on for my project so I needed some way of suppressing them.
I added the following to my CMake:
target_compile_options(${VST3_TARGET}-clap-wrapper-vst3-lib PRIVATE -Wno-pragma-pack)
Which feels like it sort of breaks the encapsulation of the clap-wrapper cmake files.
Should clap-wrapper have a line in its cmake function for vst3 wrappers that suppresses these warnings? I would be happy to open a pull request if this is desired.
If not, perhaps there might be some way to pass flags through the cmake wrapper function?
What do folks think?
Forgive me if this is more a factor of my lack of skill with CMake but when using the clap wrapper I encountered warnings that I could not get rid of that originated in the vst3 codebase. Its the same warnings that are discussed here: https://forum.juce.com/t/juce-8-0-12-linux-vst-embedded-interface-pragma-pack-warnings/67852/7
They came to the conclusion that the warnings could be safely ignored. I have -Werror on for my project so I needed some way of suppressing them.
I added the following to my CMake:
target_compile_options(${VST3_TARGET}-clap-wrapper-vst3-lib PRIVATE -Wno-pragma-pack)Which feels like it sort of breaks the encapsulation of the clap-wrapper cmake files.
Should clap-wrapper have a line in its cmake function for vst3 wrappers that suppresses these warnings? I would be happy to open a pull request if this is desired.
If not, perhaps there might be some way to pass flags through the cmake wrapper function?
What do folks think?