katie/tests/CMakeLists.txt
Ivailo Monev 84dde53fd8 remove qml leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-10-21 09:40:45 +03:00

26 lines
848 B
CMake

# just to make catching binaries other than tests easier in case maintainer forgot to specify
# output directory or something strange happens, no files should be placed there
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/tests")
include_directories(
${CMAKE_BINARY_DIR}/include
${CMAKE_BINARY_DIR}/privateinclude
${CMAKE_BINARY_DIR}/include/QtCore
${CMAKE_BINARY_DIR}/include/QtGui
${CMAKE_BINARY_DIR}/include/QtDBus
${CMAKE_BINARY_DIR}/include/QtNetwork
${CMAKE_BINARY_DIR}/include/QtSvg
${CMAKE_BINARY_DIR}/include/QtXml
${CMAKE_BINARY_DIR}/include/QtTest
${CMAKE_BINARY_DIR}/include/QtUiTools
)
# FIXME: most tests are not namespaces aware
add_definitions(-DQT_NAMESPACE_COMPAT)
if(KATIE_TESTS)
add_subdirectory(auto)
endif()
if(KATIE_BENCHMARKS)
add_subdirectory(benchmarks)
endif()