e6971df6ab
Disallow the use of config-specific source files with the Visual Studio and Xcode generators. They don't have any way to represent the condition currently. Use the same common-config API in cmQtAutoGenerators. While it accepts config-specific files, it doesn't have to support multiple configurations yet. Loop over the configs in cmTargetTraceDependencies and cmGlobalGenerator::WriteSummary and consume all source files. Loop over the configs in cmComputeTargetDepends and compute the object library dependencies for each config.
28 lines
509 B
C++
28 lines
509 B
C++
|
|
#include "resourcetester.h"
|
|
|
|
#include <QDebug>
|
|
#include <QApplication>
|
|
#include <QFile>
|
|
#include <QTimer>
|
|
|
|
ResourceTester::ResourceTester(QObject *parent)
|
|
: QObject(parent)
|
|
{
|
|
|
|
}
|
|
|
|
void ResourceTester::doTest()
|
|
{
|
|
if (!QFile::exists(":/CMakeLists.txt"))
|
|
qApp->exit(EXIT_FAILURE);
|
|
if (!QFile::exists(":/main.cpp"))
|
|
qApp->exit(EXIT_FAILURE);
|
|
#ifdef TEST_DEBUG_CLASS
|
|
if (!QFile::exists(":/debug_class.ui"))
|
|
qApp->exit(EXIT_FAILURE);
|
|
#endif
|
|
|
|
QTimer::singleShot(0, qApp, SLOT(quit()));
|
|
}
|