"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/owncloud_add_test.cmake" between
ownCloud-2.9.0.5150.tar.xz and ownCloud-2.9.1.5500.tar.xz

About: ownCloud Client (formerly "mirall") is a tool to synchronize files from ownCloud Server with your desktop client. It uses OCSync as its syncing backend.

owncloud_add_test.cmake  (ownCloud-2.9.0.5150.tar.xz):owncloud_add_test.cmake  (ownCloud-2.9.1.5500.tar.xz)
skipping to change at line 18 skipping to change at line 18
ecm_add_test(test${OWNCLOUD_TEST_CLASS_LOWERCASE}.cpp ecm_add_test(test${OWNCLOUD_TEST_CLASS_LOWERCASE}.cpp
${ARGN} ${ARGN}
TEST_NAME "${OWNCLOUD_TEST_CLASS}Test" TEST_NAME "${OWNCLOUD_TEST_CLASS}Test"
LINK_LIBRARIES LINK_LIBRARIES
owncloudCore syncenginetestutils testutilsloader Qt5::Test owncloudCore syncenginetestutils testutilsloader Qt5::Test
) )
target_compile_definitions(${OWNCLOUD_TEST_CLASS}Test PRIVATE OWNCLOUD_BIN_P ATH="${CMAKE_BINARY_DIR}/bin" SOURCEDIR="${PROJECT_SOURCE_DIR}") target_compile_definitions(${OWNCLOUD_TEST_CLASS}Test PRIVATE OWNCLOUD_BIN_P ATH="${CMAKE_BINARY_DIR}/bin" SOURCEDIR="${PROJECT_SOURCE_DIR}")
target_include_directories(${OWNCLOUD_TEST_CLASS}Test PRIVATE "${CMAKE_SOURC E_DIR}/test/") target_include_directories(${OWNCLOUD_TEST_CLASS}Test PRIVATE "${CMAKE_SOURC E_DIR}/test/")
if (UNIX AND NOT APPLE)
set_property(TEST ${OWNCLOUD_TEST_CLASS}Test PROPERTY ENVIRONMENT "QT_QP
A_PLATFORM=offscreen")
endif()
endfunction() endfunction()
macro(owncloud_add_benchmark test_class) macro(owncloud_add_benchmark test_class)
set(OWNCLOUD_TEST_CLASS ${test_class}) set(OWNCLOUD_TEST_CLASS ${test_class})
string(TOLOWER "${OWNCLOUD_TEST_CLASS}" OWNCLOUD_TEST_CLASS_LOWERCASE) string(TOLOWER "${OWNCLOUD_TEST_CLASS}" OWNCLOUD_TEST_CLASS_LOWERCASE)
add_executable(${OWNCLOUD_TEST_CLASS}Bench benchmarks/bench${OWNCLOUD_TEST_C LASS_LOWERCASE}.cpp ${additional_cpp}) add_executable(${OWNCLOUD_TEST_CLASS}Bench benchmarks/bench${OWNCLOUD_TEST_C LASS_LOWERCASE}.cpp ${additional_cpp})
ecm_mark_nongui_executable(${OWNCLOUD_TEST_CLASS}Bench) ecm_mark_nongui_executable(${OWNCLOUD_TEST_CLASS}Bench)
target_link_libraries(${OWNCLOUD_TEST_CLASS}Bench target_link_libraries(${OWNCLOUD_TEST_CLASS}Bench
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)