katie/tests/CMakeLists.txt
Ivailo Monev 93db847ee3 remove designer tool
new one will be coded post 4.12

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-28 22:13:00 +03:00

29 lines
981 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/QtScriptTools
${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()