summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-11-05 18:32:15 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-11-05 18:32:15 (GMT)
commite313d397cd621960c57a2231b1eceeac72f20ac7 (patch)
tree997cdb4099a5144f1d7bcedc64122bf2b8898218 /Tests
parent177f5e51d2a73202b44acfd8e26312c1480ffdd7 (diff)
parenta1b9465bf85621f80f02b9903aa7b38a74676df1 (diff)
downloadCMake-e313d397cd621960c57a2231b1eceeac72f20ac7.zip
CMake-e313d397cd621960c57a2231b1eceeac72f20ac7.tar.gz
CMake-e313d397cd621960c57a2231b1eceeac72f20ac7.tar.bz2
Merge topic 'fix-automoc-compile-definitions'
a1b9465 Automoc: Add directory-level COMPILE_DEFINITIONS to command line (#14535)
Diffstat (limited to 'Tests')
-rw-r--r--Tests/QtAutogen/foo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/QtAutogen/foo.h b/Tests/QtAutogen/foo.h
index 32d4c8d..f23ec07 100644
--- a/Tests/QtAutogen/foo.h
+++ b/Tests/QtAutogen/foo.h
@@ -16,7 +16,10 @@
#include <QObject>
-class Foo : public QObject
+class Foo
+#ifdef FOO
+ : public QObject
+#endif
{
Q_OBJECT
public: