mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-21 13:15:40 -05:00
Use gtest for golay24 and reed-solomon tests
This commit is contained in:
committed by
EdFuentetaja
parent
6ab62d006a
commit
1e854adb84
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