File: AppendFlags.cmake

package info (click to toggle)
btas 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,132 kB
  • sloc: cpp: 26,486; ansic: 1,545; makefile: 5
file content (7 lines) | stat: -rw-r--r-- 189 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
macro(append_flags _flags _append_flag)

  string(STRIP "${_append_flag}" _append_flag )
  set(${_flags} "${${_flags}} ${_append_flag}")
  string(STRIP "${${_flags}}" ${_flags})

endmacro()