File: AddMADExecutable.cmake

package info (click to toggle)
madness 0.10.1%2Bgit20200818.eee5fd9f-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 34,980 kB
  • sloc: cpp: 280,841; ansic: 12,626; python: 4,961; fortran: 4,245; xml: 1,053; makefile: 714; sh: 276; perl: 244; yacc: 227; lex: 188; asm: 141; csh: 55
file content (6 lines) | stat: -rw-r--r-- 179 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
macro(add_mad_executable _name _source_files _libs)

  add_executable(${_name} EXCLUDE_FROM_ALL ${_source_files})
  target_link_libraries(${_name} PRIVATE "${_libs}")

endmacro()