discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Example CMakeLists for dial_tone.cc


From: Bill Hill
Subject: Re: [Discuss-gnuradio] Example CMakeLists for dial_tone.cc
Date: Tue, 31 May 2016 19:34:11 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

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.



reply via email to

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