CMake/Tests/QtAutogen/generated.h
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

19 lines
302 B
C++

#ifndef GENERATED_H
#define GENERATED_H
#include <QObject>
#include "myinterface.h"
#include "myotherinterface.h"
class Generated : public QObject, MyInterface, MyOtherInterface
{
Q_OBJECT
Q_INTERFACES(MyInterface MyOtherInterface)
public:
explicit Generated(QObject *parent = 0);
};
#endif