File: HuginMacros.cmake

package info (click to toggle)
hugin 2010.0.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 32,096 kB
  • ctags: 17,086
  • sloc: cpp: 85,561; ansic: 6,331; perl: 498; sh: 270; makefile: 117; java: 29; python: 10; xml: 9
file content (6 lines) | stat: -rw-r--r-- 190 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
# macro to convert a CMAKE list to a string
MACRO(LIST2STRING alist astring)
  FOREACH(elem ${${alist}})
   SET(${astring} "${${astring}} ${elem}")
  ENDFOREACH(elem)
ENDMACRO(LIST2STRING)