CMake/Tests/QtAutogen/myotherinterface.h.in
Stephen Kelly 112cba927a QtAutogen: Fix AUTOGEN depends on custom command output with VS.
Visual Studio is handled as a special case for autogen depends. However,
the special handling works only for target dependencies, not file
dependencies output by a custom command.

Use a PRE_BUILD step only if all depends are targets.
2014-03-10 13:01:29 +01:00

15 lines
190 B
C

#ifndef MYOTHERINTERFACE_H
#define MYOTHERINTERFACE_H
#include <QObject>
class MyOtherInterface
{
};
Q_DECLARE_INTERFACE(MyOtherInterface, "org.cmake.example.MyOtherInterface")
#endif