summaryrefslogtreecommitdiffstats
path: root/src/tools/moc
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-03-01 13:42:13 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-03-04 15:38:01 +0000
commit32d4f139c85a91687cb641941994787d7f9bf1cf (patch)
treedb0ffb04b17b799b096b081f37d26d4bd79a838f /src/tools/moc
parente1de70933e3af47f5600ebe5a7b3930e26690c8a (diff)
CMake: Re-generate bootstrap-related CMakeLists.txt files
Change-Id: Ia4be80729807c6aaac5b22a0dab81a841d57bdcd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/tools/moc')
-rw-r--r--src/tools/moc/CMakeLists.txt38
1 files changed, 30 insertions, 8 deletions
diff --git a/src/tools/moc/CMakeLists.txt b/src/tools/moc/CMakeLists.txt
index b16ed026a4..470baa7127 100644
--- a/src/tools/moc/CMakeLists.txt
+++ b/src/tools/moc/CMakeLists.txt
@@ -1,10 +1,32 @@
-add_qt_tool(moc BOOTSTRAP
- LIBRARIES tinycbor
+# Generated from moc.pro.
+
+#####################################################################
+## moc Tool:
+#####################################################################
+
+add_qt_tool(moc
+ BOOTSTRAP
SOURCES
- moc.cpp
- preprocessor.cpp
- generator.cpp
- parser.cpp
- token.cpp
- main.cpp
+ cbordevice.h
+ generator.cpp generator.h
+ main.cpp # special case
+ moc.cpp moc.h
+ outputrevision.h
+ parser.cpp parser.h
+ preprocessor.cpp preprocessor.h
+ symbols.h
+ token.cpp token.h
+ utils.h
+ DEFINES
+ QT_MOC
+ QT_NO_CAST_FROM_ASCII
+ QT_NO_CAST_FROM_BYTEARRAY
+ QT_NO_COMPRESS
+ QT_NO_FOREACH
+ LIBRARIES
+ tinycbor
+ # CONFIG = "force_bootstrap"
+ # QMAKE_TARGET_DESCRIPTION = "Qt Meta Object Compiler"
+ # _LOADED = "qt_tool"
+ # _OPTION = "host_build"
)