[CMake] Problem with AUTOMOC on WIN32

Innokentiy Alaytsev alaitsev at gmail.com
Wed Jun 19 01:29:55 EDT 2019


Hello!

Are the header files of the shared library (DLL) listed as INTERFACE_SOURCES
for the library target? AFAIK, the only reason for header files to be
processed by AUTOMOC is to be part of the project. The only way that I know
of for adding library headers to the consuming project is by declaring them
as INTERFACE sources of the library target.

Best regards,
Innokentiy Alaytsev



--
Sent from: http://cmake.3232098.n2.nabble.com/


More information about the CMake mailing list