[CMake] GenerateExportHeader for module library

Stephen Kelly steveire at gmail.com
Fri Oct 26 11:45:01 EDT 2012


Gregoire Aujay wrote:

> Hello,
> 
> I want to create a module with two symbols exported with visual:
> startPlugin
> stopPlugin
> 
> I wish I could use the convenient GENERATE_EXPORT_HEADER function to do
> so. Is there any reason why the GENERATE_EXPORT_HEADER function is
> disabled for the MODULE library type ?

When I wrote GenerateExportHeader, I didn't know of any reason to link to a 
MODULE. I thought MODULEs were always plugins to be loaded at runtime?

What does 'two symbols exported with visual' mean?

Thanks,

Steve.




More information about the CMake mailing list