File: HuginMacros.cmake

package info (click to toggle)
hugin 2024.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 32,568 kB
  • sloc: cpp: 127,783; ansic: 6,263; python: 1,156; perl: 701; xml: 150; sh: 64; makefile: 29
file content (6 lines) | stat: -rwxr-xr-x 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)