summaryrefslogtreecommitdiff
path: root/muse2/cmake/WrapMacros.cmake
blob: 79b3ef7af5729fa26c4bda429938c1a5c082eb15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
MACRO(WRAP_CPP outfiles )
   FOREACH(it ${ARGN})
      SET(${outfiles} ${${outfiles}} ${it}.cpp)
      ENDFOREACH(it)
   ENDMACRO(WRAP_CPP)

MACRO(WRAP_H outfiles )
   FOREACH(it ${ARGN})
      SET(${outfiles} ${${outfiles}} ${it}.h)
      ENDFOREACH(it)
   ENDMACRO(WRAP_H)