Revision 267ac52b
| b/gr-filter/lib/CMakeLists.txt | ||
|---|---|---|
| 98 | 98 |
${GR_FFT_INCLUDE_DIRS}
|
| 99 | 99 |
${Boost_INCLUDE_DIRS}
|
| 100 | 100 |
${FFTW3F_INCLUDE_DIRS}
|
| 101 |
${CPPUNIT_INCLUDE_DIRS}
|
|
| 102 | 101 |
) |
| 103 | 102 |
|
| 104 | 103 |
link_directories(${FFT_LIBRARY_DIRS})
|
| ... | ... | |
| 157 | 156 |
######################################################################## |
| 158 | 157 |
# QA C++ Code for gr-filter |
| 159 | 158 |
######################################################################## |
| 160 |
list(APPEND test_gr_filter_sources |
|
| 159 |
if(ENABLE_TESTING) |
|
| 160 |
include(GrTest) |
|
| 161 |
|
|
| 162 |
include_directories(${CPPUNIT_INCLUDE_DIRS})
|
|
| 163 |
link_directories(${CPPUNIT_LIBRARY_DIRS})
|
|
| 164 |
|
|
| 165 |
list(APPEND test_gr_filter_sources |
|
| 161 | 166 |
${CMAKE_CURRENT_SOURCE_DIR}/test_gr_filter.cc
|
| 162 | 167 |
${CMAKE_CURRENT_SOURCE_DIR}/qa_filter.cc
|
| 163 | 168 |
${CMAKE_CURRENT_SOURCE_DIR}/qa_firdes.cc
|
| 164 | 169 |
${CMAKE_CURRENT_SOURCE_DIR}/qa_fir_filter_with_buffer.cc
|
| 165 | 170 |
${CMAKE_CURRENT_SOURCE_DIR}/qa_mmse_fir_interpolator_cc.cc
|
| 166 | 171 |
${CMAKE_CURRENT_SOURCE_DIR}/qa_mmse_fir_interpolator_ff.cc
|
| 167 |
) |
|
| 172 |
)
|
|
| 168 | 173 |
|
| 169 |
add_executable(test-gr-filter ${test_gr_filter_sources})
|
|
| 170 |
target_link_libraries( |
|
| 171 |
test-gr-filter |
|
| 172 |
gnuradio-core |
|
| 173 |
gnuradio-filter |
|
| 174 |
${CPPUNIT_LIBRARIES}
|
|
| 175 |
${Boost_LIBRARIES}
|
|
| 176 |
) |
|
| 174 |
add_executable(test-gr-filter ${test_gr_filter_sources})
|
|
| 175 |
|
|
| 176 |
target_link_libraries( |
|
| 177 |
test-gr-filter |
|
| 178 |
gnuradio-core |
|
| 179 |
gnuradio-filter |
|
| 180 |
${Boost_LIBRARIES}
|
|
| 181 |
${CPPUNIT_LIBRARIES}
|
|
| 182 |
) |
|
| 177 | 183 |
|
| 178 |
GR_ADD_TEST(test_gr_filter test-gr-filter) |
|
| 184 |
GR_ADD_TEST(test_gr_filter test-gr-filter) |
|
| 185 |
endif(ENABLE_TESTING) |
|
Also available in: Unified diff