Make both google and catch2 test framework include in the project
This commit is contained in:
1 parent
47504ff46f
commit
f4cf81b63c
2 files changed
+22
-9
No files matched your search
@@ -5,6 +5,9 @@
|
||||
INCLUDE_DIRECTORIES(${GTEST_INCLUDE_DIRS})
|
||||
|
||||
ADD_DEFINITIONS(-DCALYP_TEST_DATA_DIR=\"${CALYP_TEST_DATA_DIR}\")
|
||||
|
||||
ADD_EXECUTABLE(PlaYUVerFrameQualityTests PlaYUVerFrameQualityTests.cpp)
|
||||
TARGET_LINK_LIBRARIES(PlaYUVerFrameQualityTests ${PROJECT_LIBRARY} gtest gtest_main)
|
||||
ADD_TEST(PlaYUVerFrameQualityTests PlaYUVerFrameQualityTests)
|
||||
TARGET_LINK_LIBRARIES(PlaYUVerFrameQualityTests ${PROJECT_LIBRARY} gtest_main)
|
||||
|
||||
INCLUDE(GoogleTest)
|
||||
GTEST_DISCOVER_TESTS(PlaYUVerFrameQualityTests)
|
||||
Reference in new issue
Block a user