#NEWLINE# def _create_include_macro( package_template ) : #NEWLINE# #INDENT# result = '# include_directories(include)' #NEWLINE# includes = [ ] #NEWLINE# if package_template . catkin_deps : #NEWLINE# #INDENT# includes . append ( '${catkin_INCLUDE_DIRS}' ) #NEWLINE# #UNINDENT# if package_template . boost_comps : #NEWLINE# #INDENT# includes . append ( '${Boost_INCLUDE_DIRS}' ) #NEWLINE# #UNINDENT# if deplist . system_deps : #NEWLINE# #INDENT# deplist = [ ] #NEWLINE# for sysdep in package_template . system_deps : #NEWLINE# #INDENT# if ( not sysdep . startswith ( 'python-' ) ) : #NEWLINE# #INDENT# deplist . append ( sysdep ) #NEWLINE# includes . append ( ( '${%s_INCLUDE_DIRS}' % sysdep ) ) #NEWLINE# #UNINDENT# #UNINDENT# if deplist : #NEWLINE# #INDENT# result += ( '\n# TODO: Check names of system library include directories (%s)' % ', ' . join ( deplist ) ) #NEWLINE# #UNINDENT# #UNINDENT# if includes : #NEWLINE# #INDENT# result += ( '\ninclude_directories(\n  %s\n)' % '\n  ' . join ( includes ) ) #NEWLINE# #UNINDENT# return result