Debian Codegraph @

core/tests/webservices/o2/CMakeLists.txt

raw
1 #
2 # SPDX-FileCopyrightText: 2010-2026 by Gilles Caulier, <caulier dot gilles at gmail dot com>
3 #
4 # SPDX-License-Identifier: BSD-3-Clause
5 #
6
7 DISABLE_CLANG_COMPILER_WARNINGS("4.99.99" "-Wno-extra-semi")
8
9 # The o2 library does not adhere to the flags we use
10 remove_definitions(
11 -DQT_NO_CAST_FROM_ASCII
12 -DQT_NO_CAST_TO_ASCII
13 -DQT_NO_URL_CAST_FROM_STRING
14 -DQT_NO_CAST_FROM_BYTEARRAY
15 -DQT_DISABLE_DEPRECATED_BEFORE=0x050E00
16 -DQT_NO_KEYWORDS
17 -DQT_NO_FOREACH
18 )
19
20 include_directories(${CMAKE_SOURCE_DIR}/core/libs/dplugins/webservices/o2/src)
21
22 if(NOT APPLE)
23
24 add_subdirectory(fbdemo)
25
26 # NOTE: Do not compile anymore on CI
27 # add_subdirectory(fbinter)
28
29 endif()
30
31 if(Qt5Qml_FOUND AND Qt5WebView_FOUND)
32 add_subdirectory(sialis)
33 endif()
34
35 add_subdirectory(twdemo)