Clean up tinycbor handling
Now that pro2cmake handles the include path resolution more like qmake, the tinycbor wrapper target is not needed anymore. Re-generated some CMakeLists.txt to complete that step. Change-Id: I032b2e9bdf9e26f63f3c550d7bca5df93369a82a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io> Reviewed-by: Qt CMake Build Bot
This commit is contained in:
parent
d56e627427
commit
a48a3e95cf
1
src/3rdparty/CMakeLists.txt
vendored
1
src/3rdparty/CMakeLists.txt
vendored
@ -1,4 +1,3 @@
|
|||||||
add_subdirectory(tinycbor)
|
|
||||||
add_subdirectory(harfbuzz)
|
add_subdirectory(harfbuzz)
|
||||||
add_subdirectory(double-conversion)
|
add_subdirectory(double-conversion)
|
||||||
|
|
||||||
|
6
src/3rdparty/tinycbor/CMakeLists.txt
vendored
6
src/3rdparty/tinycbor/CMakeLists.txt
vendored
@ -1,6 +0,0 @@
|
|||||||
add_library(tinycbor INTERFACE)
|
|
||||||
target_include_directories(tinycbor
|
|
||||||
INTERFACE
|
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>)
|
|
||||||
|
|
||||||
qt_install_3rdparty_library(tinycbor)
|
|
@ -238,6 +238,7 @@ add_qt_module(Core
|
|||||||
QT_NO_USING_NAMESPACE
|
QT_NO_USING_NAMESPACE
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/global # special case
|
${CMAKE_CURRENT_BINARY_DIR}/global # special case
|
||||||
|
../3rdparty/tinycbor/src
|
||||||
# special case: remove ../3rdparty/...
|
# special case: remove ../3rdparty/...
|
||||||
PRECOMPILED_HEADER
|
PRECOMPILED_HEADER
|
||||||
global/qt_pch.h
|
global/qt_pch.h
|
||||||
@ -249,7 +250,6 @@ add_qt_module(Core
|
|||||||
Qt::GlobalConfigPrivate # special case
|
Qt::GlobalConfigPrivate # special case
|
||||||
QtHarfBuzz # special case
|
QtHarfBuzz # special case
|
||||||
Threads::Threads # special case
|
Threads::Threads # special case
|
||||||
tinycbor # special case
|
|
||||||
WrapDoubleConversion::WrapDoubleConversion # special case
|
WrapDoubleConversion::WrapDoubleConversion # special case
|
||||||
PUBLIC_LIBRARIES # special case:
|
PUBLIC_LIBRARIES # special case:
|
||||||
Qt::Platform # special case:
|
Qt::Platform # special case:
|
||||||
|
33
src/tools/moc/.prev_CMakeLists.txt
Normal file
33
src/tools/moc/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Generated from moc.pro.
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
## moc Tool:
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
add_qt_tool(moc
|
||||||
|
BOOTSTRAP
|
||||||
|
SOURCES
|
||||||
|
cbordevice.h
|
||||||
|
generator.cpp generator.h
|
||||||
|
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
|
||||||
|
INCLUDE_DIRECTORIES
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
../../3rdparty/tinycbor/src
|
||||||
|
)
|
||||||
|
|
||||||
|
#### Keys ignored in scope 1:.:.:moc.pro:<TRUE>:
|
||||||
|
# QMAKE_TARGET_DESCRIPTION = "Qt Meta Object Compiler"
|
||||||
|
# _LOADED = "qt_tool"
|
||||||
|
# _OPTION = "host_build"
|
@ -24,10 +24,12 @@ add_qt_tool(moc
|
|||||||
QT_NO_CAST_FROM_BYTEARRAY
|
QT_NO_CAST_FROM_BYTEARRAY
|
||||||
QT_NO_COMPRESS
|
QT_NO_COMPRESS
|
||||||
QT_NO_FOREACH
|
QT_NO_FOREACH
|
||||||
LIBRARIES
|
INCLUDE_DIRECTORIES
|
||||||
tinycbor
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
# CONFIG = "force_bootstrap"
|
../../3rdparty/tinycbor/src
|
||||||
|
)
|
||||||
|
|
||||||
|
#### Keys ignored in scope 1:.:.:moc.pro:<TRUE>:
|
||||||
# QMAKE_TARGET_DESCRIPTION = "Qt Meta Object Compiler"
|
# QMAKE_TARGET_DESCRIPTION = "Qt Meta Object Compiler"
|
||||||
# _LOADED = "qt_tool"
|
# _LOADED = "qt_tool"
|
||||||
# _OPTION = "host_build"
|
# _OPTION = "host_build"
|
||||||
)
|
|
||||||
|
48
src/tools/qdbuscpp2xml/.prev_CMakeLists.txt
Normal file
48
src/tools/qdbuscpp2xml/.prev_CMakeLists.txt
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# Generated from qdbuscpp2xml.pro.
|
||||||
|
|
||||||
|
#####################################################################
|
||||||
|
## qdbuscpp2xml Tool:
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
add_qt_tool(qdbuscpp2xml
|
||||||
|
SOURCES
|
||||||
|
../moc/cbordevice.h
|
||||||
|
../moc/generator.cpp ../moc/generator.h
|
||||||
|
../moc/moc.cpp ../moc/moc.h
|
||||||
|
../moc/outputrevision.h
|
||||||
|
../moc/parser.cpp ../moc/parser.h
|
||||||
|
../moc/preprocessor.cpp ../moc/preprocessor.h
|
||||||
|
../moc/symbols.h
|
||||||
|
../moc/token.cpp ../moc/token.h
|
||||||
|
../moc/utils.h
|
||||||
|
DEFINES
|
||||||
|
QT_NO_CAST_FROM_ASCII
|
||||||
|
QT_NO_FOREACH
|
||||||
|
INCLUDE_DIRECTORIES
|
||||||
|
../moc
|
||||||
|
../moc/../../3rdparty/tinycbor/src
|
||||||
|
LIBRARIES
|
||||||
|
Qt::CorePrivate
|
||||||
|
)
|
||||||
|
|
||||||
|
#### Keys ignored in scope 1:.:.:qdbuscpp2xml.pro:<TRUE>:
|
||||||
|
# QMAKE_TARGET_DESCRIPTION = "Qt D-Bus C++ to XML Compiler"
|
||||||
|
# _LOADED = "qt_tool"
|
||||||
|
# _OPTION = "host_build"
|
||||||
|
|
||||||
|
## Scopes:
|
||||||
|
#####################################################################
|
||||||
|
|
||||||
|
extend_target(qdbuscpp2xml CONDITION force_bootstrap
|
||||||
|
LIBRARIES
|
||||||
|
bootstrap_dbusPrivate
|
||||||
|
PUBLIC_LIBRARIES
|
||||||
|
bootstrap_dbus
|
||||||
|
)
|
||||||
|
|
||||||
|
extend_target(qdbuscpp2xml CONDITION NOT force_bootstrap
|
||||||
|
LIBRARIES
|
||||||
|
Qt::DBusPrivate
|
||||||
|
PUBLIC_LIBRARIES
|
||||||
|
Qt::DBus
|
||||||
|
)
|
@ -22,8 +22,8 @@ add_qt_tool(qdbuscpp2xml
|
|||||||
QT_NO_FOREACH
|
QT_NO_FOREACH
|
||||||
INCLUDE_DIRECTORIES
|
INCLUDE_DIRECTORIES
|
||||||
../moc
|
../moc
|
||||||
|
../moc/../../3rdparty/tinycbor/src
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
tinycbor # special case
|
|
||||||
Qt::CorePrivate
|
Qt::CorePrivate
|
||||||
Qt::DBusPrivate
|
Qt::DBusPrivate
|
||||||
# COMPILE_OPTIONS # special case
|
# COMPILE_OPTIONS # special case
|
||||||
|
Loading…
x
Reference in New Issue
Block a user