These libraries have an (indirect) dependency on T, either by using the logging module (which in turn depends on T), or through other includes. The easiest is to depend on the logging module, which will fulfil also the T dependency. It would equally be feasible to use the utils target (which in turn depends on log_headers), but this would necessitate to compile, and does not seem to be necessary.
11 lines
383 B
CMake
11 lines
383 B
CMake
add_library(rfsimulator MODULE
|
|
simulator.c
|
|
apply_channelmod.c
|
|
../../openair1/PHY/TOOLS/signal_energy.c
|
|
)
|
|
target_link_libraries(rfsimulator PRIVATE SIMU log_headers)
|
|
set_target_properties(rfsimulator PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
|
|
|
|
add_executable(replay_node stored_node.c)
|
|
target_link_libraries (replay_node minimal_lib)
|