mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-19 20:27:26 -05:00
Use gtest for golay24 and reed-solomon tests
This commit is contained in:
20
test/CMakeLists.txt
Normal file
20
test/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
project(dsdtest)
|
||||
|
||||
add_subdirectory(gtest)
|
||||
add_subdirectory(gmock)
|
||||
|
||||
FILE(GLOB SRCS *.cpp)
|
||||
|
||||
include_directories(
|
||||
${PROJECT_SOURCE_DIR}/gtest/include
|
||||
${PROJECT_SOURCE_DIR}/gmock/include
|
||||
${dsd_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_custom_target(test
|
||||
DEPENDS dsdtest
|
||||
COMMAND dsdtest
|
||||
)
|
||||
|
||||
ADD_EXECUTABLE(dsdtest ${SRCS})
|
||||
TARGET_LINK_LIBRARIES(dsdtest gmock gtest)
|
||||
Reference in New Issue
Block a user