On 28/05/2016 23:35, Louis Brown wrote:
> Does anyone have an example CMakeLists.txt to build something very simple 
> like dial_tone.cc?  I DON'T want to do this in the GR source tree, rather 
> just have simple ~/dial_tone containing the single *.cc and CmakeLists.txt.  
> I have learned enough c++ now to work through the guided tutorials, but the 
> build environment is still somewhat overwhelming, so I want to start basic 
> and work my way up.

Well, its not a CMakeLists.txt, but:

    g++ -o dial_tone dial_tone.cc -lgnuradio-audio -lgnuradio-analog 
-lgnuradio-runtime -lboost_system-mt


-- 
Red to red, black to black, switch it on, but stand well back.

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to