diff options
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 21 |
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) + |