summaryrefslogtreecommitdiff
path: root/muse2/cmake/WrapMacros.cmake
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-10-19 06:28:13 +0000
committerTim E. Real <termtech@rogers.com>2010-10-19 06:28:13 +0000
commit7ee5592092707da25bf8cccfe3097f0a2a4a84de (patch)
treed36c660ecc953c889eb035a860bff57d220a6044 /muse2/cmake/WrapMacros.cmake
parent97a2927e036b484408d493dfb80150fc2b88f1c2 (diff)
See ChangeLog
Diffstat (limited to 'muse2/cmake/WrapMacros.cmake')
-rw-r--r--muse2/cmake/WrapMacros.cmake14
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)
+
+