forked from qt-creator/qt-creator
The default is 60. Change-Id: I22585a62648376c771f6f3e4165dc4a1bef25892 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
15 lines
596 B
CMake
15 lines
596 B
CMake
add_subdirectory(processtestapp)
|
|
|
|
file(RELATIVE_PATH RELATIVE_TEST_PATH "${PROJECT_BINARY_DIR}" "${CMAKE_CURRENT_BINARY_DIR}")
|
|
file(RELATIVE_PATH TEST_RELATIVE_LIBEXEC_PATH "/${RELATIVE_TEST_PATH}" "/${IDE_LIBEXEC_PATH}")
|
|
|
|
add_qtc_test(tst_qtcprocess
|
|
CONDITION Qt5_VERSION VERSION_GREATER_EQUAL 6.2.0
|
|
DEFINES "TEST_RELATIVE_LIBEXEC_PATH=\"${TEST_RELATIVE_LIBEXEC_PATH}\""
|
|
"PROCESS_TESTAPP=\"${CMAKE_CURRENT_BINARY_DIR}/processtestapp\""
|
|
DEPENDS Utils app_version
|
|
SOURCES tst_qtcprocess.cpp
|
|
processtestapp/processtestapp.h
|
|
processtestapp/processtestapp.cpp
|
|
)
|