Re: [CMake] Problem with AUTOMOC on WIN32

2019-06-18 Thread Innokentiy Alaytsev
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 declari

[CMake] Problem with AUTOMOC on WIN32

2019-06-18 Thread Michael Wild
Dear all It's a very long time I last posted here, so please be kind :-) I currently am having a very hard time to get AUTOMOC to work properly on WIN32 for the case where I have some Qt classes in a DLL that I link to an executable. In this case, the header gets included by both, the correspondi