~jamesh/storage-provider-webdav/landing-20161118

« back to all changes in this revision

Viewing changes to tests/utils/CMakeLists.txt

  • Committer: Tarmac
  • Author(s): James Henstridge
  • Date: 2016-09-23 05:03:11 UTC
  • mfrom: (7.1.13 provider-test-fixture)
  • Revision ID: tarmac-20160923050311-bb3m6zal58cpccqu
Add test infrastructure for testing DavProvider.

Approved by Michi Henning, unity-api-1-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
pkg_check_modules(TESTUTILS_DEPS libqtdbustest-1 OnlineAccountsQt REQUIRED)
 
2
 
 
3
add_library(testutils STATIC
 
4
  DBusEnvironment.cpp
 
5
  DavEnvironment.cpp
 
6
  ProviderEnvironment.cpp
 
7
)
 
8
target_compile_options(testutils
 
9
  PUBLIC ${SF_PROVIDER_CFLAGS} ${SF_CLIENT_CFLAGS} ${TESTUTILS_DEPS_CFLAGS})
 
10
target_link_libraries(testutils
 
11
  PUBLIC Qt5::DBus Qt5::Core ${SF_PROVIDER_LDFLAGS} ${SF_CLIENT_LDFLAGS}
 
12
  PRIVATE ${TESTUTILS_DEPS_LDFLAGS})