diff options
author | Robert Tari <robert@tari.in> | 2021-02-05 14:09:34 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2021-04-21 20:57:03 +0200 |
commit | 9f96225dc93a97467f1e2107e23b79cb10744917 (patch) | |
tree | 07d5b8bfecf3c629d41e4924c58cc4dccd8fda1f /tests/CMakeLists.txt | |
parent | b74d4016bd84bfe1c97c3ec0f2cfcadfda296a28 (diff) | |
download | ayatana-ido-9f96225dc93a97467f1e2107e23b79cb10744917.tar.gz ayatana-ido-9f96225dc93a97467f1e2107e23b79cb10744917.tar.bz2 ayatana-ido-9f96225dc93a97467f1e2107e23b79cb10744917.zip |
Add CMakeLists.txt files.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r-- | tests/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..1ecf8e6 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,13 @@ +# gtest-menuitems + +set_source_files_properties(gtest-menuitems.cpp PROPERTIES COMPILE_FLAGS ${COMPILE_FLAGS}) +add_executable("gtest-menuitems" gtest-menuitems.cpp) +target_include_directories("gtest-menuitems" PUBLIC ${PROJECT_DEPS_INCLUDE_DIRS}) +target_include_directories("gtest-menuitems" PUBLIC "${CMAKE_SOURCE_DIR}/src") +add_test("gtest-menuitems" "gtest-menuitems") +target_link_libraries("gtest-menuitems" ${PROJECT_DEPS_LIBRARIES} "-L${CMAKE_BINARY_DIR}/src" -layatana-ido3-0.4 gtest_main) + +# coverage + +find_package(CoverageReport) +ENABLE_COVERAGE_REPORT(TARGETS "gtest-menuitems" TESTS "gtest-menuitems") |