diff options
Diffstat (limited to 'muse2/cmake/WrapMacros.cmake')
-rw-r--r-- | muse2/cmake/WrapMacros.cmake | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/muse2/cmake/WrapMacros.cmake b/muse2/cmake/WrapMacros.cmake new file mode 100644 index 00000000..79b3ef7a --- /dev/null +++ b/muse2/cmake/WrapMacros.cmake @@ -0,0 +1,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) + + |