discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] How to link OOT module in CMakeLists.txt


From: ruiy
Subject: [Discuss-gnuradio] How to link OOT module in CMakeLists.txt
Date: Sun, 4 Mar 2018 22:42:39 +0800

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]