aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
blob: 1e5448d88c837b91316581d5a5d78bbf5a3052c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)