aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2013-11-15 16:34:20 -0600
committerTed Gould <ted@gould.cx>2013-11-15 16:34:20 -0600
commit868453ef75110badecdb54e13b79a74cfc95282a (patch)
treec08341f31717dc254f1b8af4c70e798a56ee86b1 /tests/CMakeLists.txt
parent5214427d1bf98bcd3f48ecfe31bdd7abda05f7eb (diff)
downloadayatana-indicator-sound-868453ef75110badecdb54e13b79a74cfc95282a.tar.gz
ayatana-indicator-sound-868453ef75110badecdb54e13b79a74cfc95282a.tar.bz2
ayatana-indicator-sound-868453ef75110badecdb54e13b79a74cfc95282a.zip
Woot, a test, kinda
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index e69de29..1e5448d 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,21 @@
+
+###########################
+# Google Test
+###########################
+
+include_directories(${GTEST_INCLUDE_DIR})
+
+add_library (gtest STATIC
+ ${GTEST_SOURCE_DIR}/gtest-all.cc
+ ${GTEST_SOURCE_DIR}/gtest_main.cc)
+target_link_libraries(gtest ${GTEST_LIBS})
+
+
+###########################
+# Name Watch Test
+###########################
+
+add_executable (name-watch-test name-watch-test.cc)
+target_link_libraries (name-watch-test gtest ${GIO2_LIBRARIES})
+add_test(name-watch-test name-watch-test)
+