mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
28 lines
935 B
CMake
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()
|