Merge pull request #89 from mparaniak/master

Add format linking to tests
This commit is contained in:
Victor Zverovich 2015-01-06 09:12:37 -08:00
commit 757a523195

View File

@ -1,6 +1,6 @@
set(TEST_MAIN_SRC test-main.cc gtest-extra.cc gtest-extra.h util.cc) set(TEST_MAIN_SRC test-main.cc gtest-extra.cc gtest-extra.h util.cc)
add_library(test-main STATIC ${TEST_MAIN_SRC}) add_library(test-main STATIC ${TEST_MAIN_SRC})
target_link_libraries(test-main gmock) target_link_libraries(test-main format gmock)
# Adds a test. # Adds a test.
# Usage: add_fmt_test(name [CUSTOM_LINK] srcs...) # Usage: add_fmt_test(name [CUSTOM_LINK] srcs...)