From b1096774116ba308fd9257d650b63f1861356c45 Mon Sep 17 00:00:00 2001 From: Jens Bocklage Date: Wed, 8 Apr 2015 15:00:09 +0200 Subject: Adding gtest framework v1.7.0 Adding initial hello world C test case Signed-off-by: Jens Bocklage Signed-off-by: Alexander Wenzel --- tests/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/CMakeLists.txt (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..4174e7f --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,10 @@ +# Setup testing +enable_testing() +find_package(GTest) +include_directories(${gtest_SOURCE_DIR}/include) + +add_executable(hello hello.cpp) + +# Link test executable against gtest & gtest_main +target_link_libraries(hello gtest gtest_main dlt) + -- cgit v1.2.1