katie/tests/CMakeLists.txt
Ivailo Monev 9285cf9105 drop now unused scripttools component
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-05-19 05:07:37 +03:00

28 lines
935 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/QtDeclarative
${CMAKE_BINARY_DIR}/include/QtNetwork
${CMAKE_BINARY_DIR}/include/QtSvg
${CMAKE_BINARY_DIR}/include/QtXml
${CMAKE_BINARY_DIR}/include/QtScript
${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()