[Rock-dev] [rock] #175: autoproj: Autobuild::Packages miss tag information

rock noreply at opendfki.de
Thu May 31 13:38:31 CEST 2012


#175: autoproj: Autobuild::Packages miss tag information
-----------------------+--------------------
 Reporter:  jama01     |      Owner:  joyeux
     Type:  defect     |     Status:  new
 Priority:  major      |  Milestone:
Component:  toolchain  |   Keywords:
-----------------------+--------------------
 Hey,
 I am trying to build all packages as Release with debug
 as default. My plan was to therefor read out the tag of
 the package and if it was not set change the CMAKE_BUILD_TYPE
 to RelWithDebInfo.
 Sadly I ran into the problem, das all tags except for the package
 rtt are empty.
 My testcode :
 require 'pp'
 Autobuild::Package.each do |name, pkg|
     puts name
     #pp pkg
     if(pkg.added_tags)
         pkg.added_tags.each do |tag|
             puts "Tag :#{tag}"
         end
     end
     pkg.tags.each do |tag|
         puts "Tag :#{tag}"
     end
     if(pkg.has_tag?('needs_opt'))
         puts("Debug with rel")
     end
 end

 Any thoughts ?

-- 
Ticket URL: <https://rock.opendfki.de/ticket/175>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list