1add_subdirectory(Indicators)
3pkg_check_modules(UNITYCORE REQUIRED unity-core-6.0)
4pkg_check_modules(LIBUNITYPROTO REQUIRED unity-protocol-private)
7 ${Unity-qml_SOURCE_DIR}
8 ${CMAKE_CURRENT_SOURCE_DIR}/../../../plugins/Unity
9 ${CMAKE_CURRENT_BINARY_DIR}
10 ${LIBUNITYPROTO_INCLUDE_DIRS}
11 ${UNITYCORE_INCLUDE_DIRS}
16 foreach(_test ${ARGN})
18 ${CMAKE_CURRENT_BINARY_DIR}/${_test}Exec
19 -o ${CMAKE_BINARY_DIR}/${_test}.xml,xunitxml
21 add_test(NAME test${CLASSNAME}${_test} COMMAND ${testCommand})
22 add_custom_target(${_test} ${testCommand})
23 add_executable(${_test}Exec ${_test}.cpp previewbindingstest.cpp)
24 qt5_use_modules(${_test}Exec Test Core Qml)
25 set_tests_properties(test${CLASSNAME}${_test}
26 PROPERTIES ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/plugins/Unity:${LIBUNITYPROTO_LIBRARY_DIRS}")
28 target_link_libraries(${_test}Exec
31 ${LIBUNITYPROTO_LDFLAGS}
34 set(_test_list "${_test_list};${_test}")
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list