[Rock-dev] [rock] #384: Adding CMAKE_EXPORT_COMPILE_COMMANDS to rock_standard_layout()

rock noreply at opendfki.de
Wed Dec 11 14:26:14 CET 2013


#384: Adding CMAKE_EXPORT_COMPILE_COMMANDS to rock_standard_layout()
----------------------------------+------------------------------------
 Reporter:  martin.zenzes@…       |       Owner:  rock-dev-mailing-list
     Type:  enhancement           |      Status:  new
 Priority:  minor                 |   Milestone:
Component:  base                  |  Resolution:
 Keywords:  cmake,clang_complete  |
----------------------------------+------------------------------------

Comment (by sylvain.joyeux):

 What I'd like to suggest is:
  - some of us enable it by default on their install (see below for that)
  - we add our experience with it to this ticket in let's say three month
 time
  - if everything's fine, we turn it on for everyone

 One way to enable it for every cmake package is to do it in autoproj. Edit
 autoproj/overrides.rb and add

 {{{
 Autoproj.post_import do |pkg|
    if pkg.kind_of?(Autobuild::CMake)
       pkg.define "CMAKE_EXPORT_COMPILE_COMMANDS", "ON"
    end
 end
 }}}

-- 
Ticket URL: <https://rock.opendfki.de/ticket/384#comment:3>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list