2017-08-08 17:56:34 +00:00
|
|
|
# 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
|
2015-12-10 05:06:13 +02:00
|
|
|
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/QtDesigner
|
|
|
|
${CMAKE_BINARY_DIR}/include/QtNetwork
|
|
|
|
${CMAKE_BINARY_DIR}/include/QtSql
|
|
|
|
${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
|
|
|
|
)
|
2016-01-16 15:06:55 +02:00
|
|
|
|
2019-07-11 15:41:03 +00:00
|
|
|
# FIXME: most tests are not namespaces aware
|
|
|
|
add_definitions(-DQT_NAMESPACE_COMPAT)
|
2019-05-17 20:46:49 +00:00
|
|
|
|
2019-12-02 02:34:13 +00:00
|
|
|
if(KATIE_TESTS)
|
2020-12-09 04:52:23 +00:00
|
|
|
add_subdirectory(auto)
|
2019-12-02 02:34:13 +00:00
|
|
|
endif()
|
|
|
|
if(KATIE_BENCHMARKS)
|
2020-12-09 04:52:23 +00:00
|
|
|
add_subdirectory(benchmarks)
|
2019-12-02 02:34:13 +00:00
|
|
|
endif()
|