|
From: | Barry Jackson |
Subject: | Re: [Discuss-gnuradio] Building 3.5.1 release with Cmake |
Date: | Tue, 24 Jan 2012 15:03:50 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:12.0a1) Gecko/20120123 Thunderbird/12.0a1 |
On 24/01/12 14:05, Tom Rondeau wrote:
On Tue, Jan 24, 2012 at 7:30 AM, Barry Jackson <address@hidden <mailto:address@hidden>> wrote: I would like to use Cmake to build the 3.5.1 release, however the tarball has no CMakeLists.txt files. The project AFAICT seems generally to be Cmake enabled, is there a reason for excluding the tarballs? Any help would be appreciated. Barry, GNU Radio as of 3.5 is still officially an autotools build project. The cmake is technically an experimental build, so we don't package it up with the releases. You can use git and checkout the v3.5.1 tag to get the latest stable version with cmake. We should be moving over to cmake-only when we release 3.6. -- Tom
Tom, Many thanks - that is just what I need.This seems to do the job, but please confirm that I have it right, and that there is not a simpler way, as I'm not conversant with git ;)
#!/bin/bash ver="3.5.1" name="gnuradio" git clone http://${name}.org/git/${name}.git cd ${name} git checkout v${ver} git archive --format=tar --prefix=${name}-${ver}/ v${ver} | \ gzip > ../${name}-${ver}.tar.gz Barry
[Prev in Thread] | Current Thread | [Next in Thread] |