2014-01-23 16:20:01 +04:00
|
|
|
include_directories(${CMAKE_BINARY_DIR}/csync ${CMAKE_BINARY_DIR}/csync/src ${CMAKE_BINARY_DIR}/src)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/csync/src/ ${CMAKE_SOURCE_DIR}/csync/src/httpbf/src)
|
2014-03-20 00:02:12 +04:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/csync/src/std)
|
|
|
|
|
2012-10-26 22:24:12 +04:00
|
|
|
include(owncloud_add_test.cmake)
|
2011-03-18 03:14:45 +03:00
|
|
|
|
2014-07-07 18:30:32 +04:00
|
|
|
owncloud_add_test(OwncloudPropagator "")
|
|
|
|
owncloud_add_test(Utility "")
|
|
|
|
owncloud_add_test(Updater "")
|
2014-01-23 16:20:01 +04:00
|
|
|
|
2014-07-07 18:30:32 +04:00
|
|
|
SET(FolderWatcher_SRC ../src/mirall/folderwatcher.cpp)
|
|
|
|
|
|
|
|
IF( NOT WIN32 AND NOT APPLE )
|
|
|
|
list(APPEND FolderWatcher_SRC ../src/mirall/folderwatcher_linux.cpp)
|
|
|
|
ENDIF()
|
|
|
|
IF( WIN32 )
|
|
|
|
list(APPEND FolderWatcher_SRC ../src/mirall/folderwatcher_win.cpp)
|
|
|
|
ENDIF()
|
|
|
|
IF( APPLE )
|
|
|
|
list(APPEND FolderWatcher_SRC ../src/mirall/folderwatcher_mac.cpp)
|
|
|
|
ENDIF()
|
|
|
|
|
|
|
|
owncloud_add_test(FolderWatcher "${FolderWatcher_SRC}")
|
2014-01-23 16:20:01 +04:00
|
|
|
if( UNIX AND NOT APPLE )
|
2014-07-07 18:30:32 +04:00
|
|
|
owncloud_add_test(InotifyWatcher "${FolderWatcher_SRC}")
|
2014-01-23 16:20:01 +04:00
|
|
|
endif(UNIX AND NOT APPLE)
|
|
|
|
|
2014-07-07 18:30:32 +04:00
|
|
|
owncloud_add_test(CSyncSqlite "")
|
2014-09-17 01:52:28 +04:00
|
|
|
owncloud_add_test(NetrcParser ../src/owncloudcmd/netrcparser.cpp)
|
2014-11-19 16:14:54 +03:00
|
|
|
owncloud_add_test(OwnSql "")
|
|
|
|
owncloud_add_test(SyncJournalDB "")
|
2014-10-14 22:51:51 +04:00
|
|
|
|
2014-07-07 18:30:32 +04:00
|
|
|
|
|
|
|
|