summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-03-01 15:30:58 +0100
committerTobias Hunger <tobias.hunger@qt.io>2019-03-04 09:25:02 +0000
commit27fc264b7d7d89b29f809ffefb601b69bc1ddb4c (patch)
tree4de794235cdaa4d0c5fcf7fd990074adb8ddaada /src
parent0fb799a0d773f311434598c320dbfe258258454b (diff)
CMake: Re-generate CMakeLists.txt files for src/tools/*
Re-generate the CMakeLists.txt files for qdbusxml2cpp, qdbuscpp2xml, qlalr and qvkgen. Change-Id: I473a7bbdfa5ed5049d17324fb7dab4940124ef86 Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/tools/qdbuscpp2xml/CMakeLists.txt24
-rw-r--r--src/tools/qdbusxml2cpp/CMakeLists.txt22
-rw-r--r--src/tools/qlalr/CMakeLists.txt10
-rw-r--r--src/tools/qvkgen/CMakeLists.txt10
4 files changed, 61 insertions, 5 deletions
diff --git a/src/tools/qdbuscpp2xml/CMakeLists.txt b/src/tools/qdbuscpp2xml/CMakeLists.txt
index 58f9b3a9e6..5e2937aa05 100644
--- a/src/tools/qdbuscpp2xml/CMakeLists.txt
+++ b/src/tools/qdbuscpp2xml/CMakeLists.txt
@@ -1,3 +1,9 @@
+# Generated from qdbuscpp2xml.pro.
+
+#####################################################################
+## qdbuscpp2xml Tool:
+#####################################################################
+
add_qt_tool(qdbuscpp2xml
SOURCES
../moc/cbordevice.h
@@ -9,14 +15,26 @@ add_qt_tool(qdbuscpp2xml
../moc/symbols.h
../moc/token.cpp ../moc/token.h
../moc/utils.h
- qdbuscpp2xml.cpp
+ qdbuscpp2xml.cpp # special case
DEFINES
QT_NO_CAST_FROM_ASCII
QT_NO_FOREACH
INCLUDE_DIRECTORIES
- ../moc/
- ../moc/../../3rdparty/tinycbor/src
+ ../moc
LIBRARIES
+ tinycbor # special case
Qt::CorePrivate
Qt::DBusPrivate
+ # COMPILE_OPTIONS # special case
+ # "$$QT_HOST_CFLAGS_DBUS"
+ # QMAKE_TARGET_DESCRIPTION = "Qt D-Bus C++ to XML Compiler"
+ # _LOADED = "qt_tool"
+ # _OPTION = "host_build"
)
+
+## Scopes:
+#####################################################################
+
+# special case:
+# extend_target(qdbuscpp2xml CONDITION force_bootstrap [...])
+# extend_target(qdbuscpp2xml CONDITION NOT force_bootstrap [...])
diff --git a/src/tools/qdbusxml2cpp/CMakeLists.txt b/src/tools/qdbusxml2cpp/CMakeLists.txt
index 7db59b4883..e9a72a3d45 100644
--- a/src/tools/qdbusxml2cpp/CMakeLists.txt
+++ b/src/tools/qdbusxml2cpp/CMakeLists.txt
@@ -1,9 +1,29 @@
+# Generated from qdbusxml2cpp.pro.
+
+#####################################################################
+## qdbusxml2cpp Tool:
+#####################################################################
+
add_qt_tool(qdbusxml2cpp
- SOURCES qdbusxml2cpp.cpp
+ SOURCES
+ qdbusxml2cpp.cpp
DEFINES
QT_NO_CAST_FROM_ASCII
QT_NO_FOREACH
LIBRARIES
Qt::CorePrivate
Qt::DBusPrivate
+ # COMPILE_OPTIONS # special case
+ # "$$QT_HOST_CFLAGS_DBUS"
+ # QMAKE_TARGET_DESCRIPTION = "Qt D-Bus XML to C++ Compiler"
+ # _LOADED = "qt_tool"
+ # _OPTION = "host_build"
)
+
+## Scopes:
+#####################################################################
+
+# special case:
+# extend_target(qdbusxml2cpp CONDITION NOT force_bootstrap [...])
+#extend_target(qdbusxml2cpp CONDITION NOT QT_FEATURE_commandlineparser AND NOT force_bootstrap [...])
+# extend_target(qdbusxml2cpp CONDITION force_bootstrap [...])
diff --git a/src/tools/qlalr/CMakeLists.txt b/src/tools/qlalr/CMakeLists.txt
index b63607e937..83d067751f 100644
--- a/src/tools/qlalr/CMakeLists.txt
+++ b/src/tools/qlalr/CMakeLists.txt
@@ -1,3 +1,9 @@
+# Generated from qlalr.pro.
+
+#####################################################################
+## qlalr Tool:
+#####################################################################
+
add_qt_tool(qlalr
SOURCES
compress.cpp compress.h
@@ -10,4 +16,8 @@ add_qt_tool(qlalr
recognizer.cpp recognizer.h
DEFINES
QT_NO_FOREACH
+ # OTHER_FILES = "lalr.g"
+ # QMAKE_TARGET_DESCRIPTION = "Qt Look Ahead LR Parser Generator"
+ # _LOADED = "qt_tool"
+ # _OPTION = "host_build"
)
diff --git a/src/tools/qvkgen/CMakeLists.txt b/src/tools/qvkgen/CMakeLists.txt
index 2e9ab3458b..ea9dbeeed7 100644
--- a/src/tools/qvkgen/CMakeLists.txt
+++ b/src/tools/qvkgen/CMakeLists.txt
@@ -1,5 +1,13 @@
+# Generated from qvkgen.pro.
+
#####################################################################
## qvkgen Tool:
#####################################################################
-add_qt_tool(qvkgen SOURCES qvkgen.cpp)
+add_qt_tool(qvkgen
+ SOURCES
+ qvkgen.cpp
+ # QMAKE_TARGET_DESCRIPTION = "Qt Vulkan Header Generator"
+ # _LOADED = "qt_tool"
+ # _OPTION = "host_build"
+)