Skip to content

Commit

Permalink
cmake formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Sep 10, 2023
1 parent f6438a7 commit 5e4c0a3
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions cmake/CommonModules/TinyCommon.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,23 @@ ${TINY_UNPARSED_ARGUMENTS}")
# Qt defines
# ---

target_compile_definitions(${target} INTERFACE
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
# Disables all the APIs deprecated before Qt 6.0.0
QT_DISABLE_DEPRECATED_BEFORE=0x060000

#QT_ASCII_CAST_WARNINGS
#QT_NO_CAST_FROM_ASCII
#QT_RESTRICTED_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_BYTEARRAY
QT_USE_QSTRINGBUILDER
QT_STRICT_ITERATORS
QT_NO_KEYWORDS
target_compile_definitions(${target}
INTERFACE
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version
# of Qt.
# Disables all the APIs deprecated before Qt 6.0.0
QT_DISABLE_DEPRECATED_BEFORE=0x060000

#QT_ASCII_CAST_WARNINGS
#QT_NO_CAST_FROM_ASCII
#QT_RESTRICTED_CAST_FROM_ASCII
QT_NO_CAST_TO_ASCII
QT_NO_CAST_FROM_BYTEARRAY
QT_USE_QSTRINGBUILDER
QT_STRICT_ITERATORS
QT_NO_KEYWORDS
)

# Platform specific configurations
Expand Down

0 comments on commit 5e4c0a3

Please sign in to comment.