Now I create a OOT module named slave_demo, and I have installed it. And I can 
find the dynamic lib in /usr/local/lib/libgnuradio-slave-demo.so. 

So I link it in my CMakeLists.txt by writing like this:
target_link_libraries(target ... /usr/local/lib/libgnuradio-slave-demo.so ...). 


I suppose that writing the path directly is a bad coding style. I want to know 
whether gnuradio provides some variables equals to the path when I install my 
created OOT module in my PC. I will appreciate it If anyone know something.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to