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